Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
foundation:module_manager [2010/06/16 19:12]
greg
foundation:module_manager [2010/08/12 14:13]
kusum18
Line 15: Line 15:
 b) A module.zip file which will contain     \\  b) A module.zip file which will contain     \\ 
 1. All the php files (.inc) pertaining to that module .   \\  1. All the php files (.inc) pertaining to that module .   \\ 
-2. A ""sql"" folder containing the sql files to be executed with file name  as v(version).sql (eg : v1.sql , v2.5.8.sql where 1 and 2.5.8 are versions respectively.)      \\  +2. A ""sql/upgrade"" folder containing the sql files to be executed with file name  as v(version).sql (eg : v1.sql , v2.5.8.sql where 1 and 2.5.8 are versions respectively.)      \\  
-3. A conf.inc file which must contain - Module name in $conf['mod_<module>_name'] (eg: $conf['mod_mm_name'] = _t('Module Manager') \\  +3. A conf.inc file which must contain - \\ 
-  +a) Module name in $conf['mod_<module>_name'] (eg: $conf['mod_mm_name'] = _t('Module Manager') \\  
-Module status to convey if the module is enabled/disabled eg: $conf['mod_mm_status'] = t('True'); // alternatively 'False' for disabled   \\  +b) Module status to convey if the module is enabled/disabled eg: $conf['mod_mm_enabled'] = t('True'); // alternatively 'False' for disabled   \\  
-Module version must be specified (eg : $conf['mod_mm_version'] = 3 \\ +c) Module version must be specified (eg : $conf['mod_mm_version'] = 3 \\  
 +c) Module description must be specified (eg : $conf['mod_mm_desc'] = "Put all the text here " \\ 
  
   

QR Code
QR Code foundation:module_manager (generated for current page)