Please give some reference site for creating a simple extension for civicrm with sample example. Any simple extension on GitHub.
3 Answers
You need to install civix to create civicrm extension and then follow documentation for creating module extension. There are many examples of extension under civicrm.org. The easiest one to start would be
- https://civicrm.org/extensions/api-key
- https://civicrm.org/extensions/phone-number-validator
- https://civicrm.org/extensions/show-contact-deceased
- https://civicrm.org/extensions/sms-api
- https://civicrm.org/extensions/extended-logging-report
- https://civicrm.org/extensions/olark-chat
- https://civicrm.org/extensions/birthdays-month
- https://civicrm.org/extensions/show-member-ids
- https://civicrm.org/extensions/mysms-mantra-sms-gateway-integration
- https://civicrm.org/extensions/civicrm-country-manager
Ref: https://www.youtube.com/watch?v=lrk8X_jt0wU
HTH
Pradeep
-
-
-
-
-
1
As a first step I would go check the Developer Guide here: https://docs.civicrm.org/dev/en/latest/extensions/
-
Actually I tried it from last 4 days. I install civix also. I want to create simple question and answer web form. How can I do that? Oct 12, 2018 at 10:22
-
1Do you want the form to be in CiviCRM or on the website? Do you understand the relationship between your website and CiviCRM? Oct 12, 2018 at 12:56
-
have you thought about doing this via the CMS eg Caldera (WP) or Webform (D)?– petednz - fuzion ♦Mar 4, 2020 at 9:53
- First install civix and create a extension in
[civicrm.files]/ext/
folder. The extensions folder will have all the extension you create in future. - Move to that extension folder and generate a new extension by executing
civix generate:module <your_extension_name> --license=AGPL-3.0
command.