Differences
This shows you the differences between two versions of the page.
foundation:module_manager [2010/08/12 13:09] kusum18 |
foundation:module_manager [2010/12/18 17:35] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | |||
- | Introduction \\ | ||
- | The packaging of modules must follow the below guidelines to be recognised as a valid package by the Module Manager \\ | ||
- | Packaging Guidelines : \\ | ||
- | 1)All the modules on the App Store must be in a zip format . \\ | ||
- | 2) Two files of a module must be present | ||
- | a) A module.inc file(eg: dsm.inc) which will contain the Module name and version number | ||
- | $conf[' | ||
- | Also the module name and version number of the dependancy modules separated by a colon \\ | ||
- | $conf[' | ||
- | Above: " | ||
- | \\ | ||
- | \\ | ||
- | b) A module.zip file which will contain | ||
- | 1. All the php files (.inc) pertaining to that module . | ||
- | 2. A "" | ||
- | 3. A conf.inc file which must contain - Module name in $conf[' | ||
- | |||
- | Module status to convey if the module is enabled/ | ||
- | Module version must be specified (eg : $conf[' | ||
- | |||
- | |||
- | |||
- | The above three configuration variables are a must if the package has to be recognised as a valid package by the Module Manager. Two files are placed because the App store and Sahana installation might not necessarily be in the same server so downloading the entire zip folder just to check the version might be load on the hosting server and will be Heavily time consuming on the client side as well . | ||
- | |||
- | |||
- | |||
- | \\ |