Changes

Jump to navigation Jump to search
Line 33: Line 33:  
Next modify the contents of this file as follows:
 
Next modify 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 contain only alpha characters (again, if the name given to the file was 'NewName', then replace all "modMyModule" with "modNewName").
 
* Replace all "modMyModule" with a value which corresponds to the purpose of your module. This value must always start with 'mod' and contain only alpha characters (again, if the name given to the file was 'NewName', then replace all "modMyModule" with "modNewName").
* Change the number in: $this->numero = 100000 by a number that designates your module id. To avoid conflicts with other modules, you can consult tha page that lists already reserved id numbers: [[List of modules id|List of modules id]].
+
* Change the number in: $this->numero = 100000 by a number that designates your module id. To avoid conflicts with other modules, you can consult the page that lists already reserved id numbers: [[List of modules id|List of modules id]].
 
* Modify any other variables defined in the constructor (see comment in the code skeleton for their meaning).  
 
* Modify any other variables defined in the constructor (see comment in the code skeleton for their meaning).  
 
Your file descriptor for your module is ready. To see your Module in Setup-Modules, go to Setup-Others and set MAIN_FEATURES_LEVEL to 2
 
Your file descriptor for your module is ready. To see your Module in Setup-Modules, go to Setup-Others and set MAIN_FEATURES_LEVEL to 2
3

edits

Navigation menu