Module development: Difference between revisions

Jump to navigation Jump to search
Line 27: Line 27:
=== Create your module descriptor ===
=== Create your module descriptor ===
The first step is to create a file descriptor for the module.  
The first step is to create a file descriptor for the module.  
* Create directory '''/htdocs/''mymodule''/core/modules'''. Then go into the directory dev/skeletons and copy the file modMyModule.class.php in this directory '''htdocs/''mymodyle''/core/modules'''.
* Create directory '''/htdocs/''mymodule''/core/modules'''. Then go into the directory dev/skeletons and copy the file modMyModule.class.php in this directory '''htdocs/''mymodule''/core/modules'''.
Then change the contents of this file as follows:
Then change the contents of this file as follows:
* Replace all "modMyModule" with a value which corresponds to the purpose of your module. This value must always start with 'mod' and contains only alpha characters.
* Replace all "modMyModule" with a value which corresponds to the purpose of your module. This value must always start with 'mod' and contains only alpha characters.
304

edits

Navigation menu