Skip to content
Snippets Groups Projects
Commit 42cf580d authored by Erich Schulz's avatar Erich Schulz
Browse files

split up file from Create+a+Module+Extension

Original here:
https://wiki.civicrm.org/confluence/display/CRMDOC/Create+a+Module+Extension

still missing some macro content! :-/
parent 0d08dd08
Branches
No related tags found
No related merge requests found
......@@ -14,8 +14,33 @@ This section covers how to write extensions. See the [extension life cycle
page](/extend-stages) for background on the publishing and review process for
[published extensions](https://civicrm.org/extensions).
## Pre-Requisites
- Have basic knowledge of PHP, Unix, and object-oriented programming
- Install ***civix v14.01*** or newer. For instructions, see
[https://github.com/totten/civix/](https://github.com/totten/civix/)
. This wiki page assumes that "civix" is installed and registered in
the PATH.
- Configure an extensions directory. For instructions, see
[Extensions](http://wiki.civicrm.org/confluence/display/CRMDOC/Extensions).
This wiki page assumes the directory is "/var/www/extensions", but
you should adapt as appropriate.
Your extensions directory must be under the CMS root directory so
that civix can find and bootstrap the CMS. Otherwise, it will fail
with an error like "Sorry, could not locate bootstrap.inc" on most
operations.
- The user account you use to develop the module must have permission
to read all CMS files, including configuration files, and write to
the extensions directory.
For example, Debian's drupal7 package saves database configuration
to /etc/drupal/7/sites/default/dbconfig.php, which is only readable
by the www-data user. You will need to make this file readable by
your development user account for civix to work.
## General overview
[]( fixme paragraph this section into above notes )
If you haven't already, you need to configure a local directory to store
extensions.
For instructions, see
......
This diff is collapsed.
This diff is collapsed.
......@@ -25,8 +25,7 @@ pages:
- All Available Hooks: hooks-db.md
- Writing Extensions:
- Basics: extensions/basics.md
- Confluence+Source: extensions/createamoduleextension.md
# - civix: extensions/civix.md
- civix: extensions/civix.md
# - Anatomy of Files: extensions/files.md
# - Using hooks: extensions/using-hooks.md
# - Customizing Screens: extensions/customize-screens.md
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment