Difference between revisions of "Template:TemplateModuleTreeSimple"
Jump to navigation
Jump to search
m (typo) Tag: 2017 source edit |
|||
(7 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | * mymodule/core/modules/ contains module descriptor file modMyModule.class.php | + | * '''mymodule/*''' contains php pages (note that you can also add any other subdir of your choice). Note: If your module is a metapackage (a module that will embed other modules in same zip, you must put here a file metapackage.conf) |
− | * mymodule/core/triggers contains triggers provided by module | + | * '''mymodule/build/''' can contains any file you develop for compiling or building package |
− | * mymodule/admin/ contains pages to setup module | + | * '''mymodule/core/modules/''' contains module descriptor file ''' modMyModule.class.php''' |
− | * mymodule/class/ contains PHP class files provided by module | + | * '''mymodule/core/triggers''' contains triggers provided by module |
− | * mymodule/css contains CSS files provided by module | + | * '''mymodule/admin/''' contains pages to setup module |
− | * mymodule/docs to provide doc and licence files | + | * '''mymodule/class/''' contains PHP class files provided by module |
− | * mymodule/img contains images files provided by module | + | * '''mymodule/css''' contains CSS files provided by module |
− | * mymodule/langs/xx_XX contains language files for language xx_XX (try to put at least en_US) | + | * '''mymodule/js''' contains javascript files provided by module to add new functions |
− | * mymodule/lib contains libraries provided and used by module | + | * '''mymodule/docs''' to provide doc and licence files |
− | * mymodule/scripts to provide command line tools or scripts | + | * '''mymodule/img''' contains images files provided by module |
− | * mymodule/sql contains SQL file provided by module to add new tables or indexes | + | * '''mymodule/langs/xx_XX''' contains language files for language xx_XX (try to put at least en_US) |
− | * mymodule/ | + | * '''mymodule/lib''' contains libraries provided and used by module |
+ | * '''mymodule/scripts''' to provide command line tools or scripts. Note: Command lines script must start with line #!/usr/bin/env php | ||
+ | * '''mymodule/sql''' contains SQL file provided by module to add new tables or indexes | ||
+ | * '''mymodule/theme/mytheme''' if module provide its own theme/skin |
Latest revision as of 12:39, 30 August 2024
- mymodule/* contains php pages (note that you can also add any other subdir of your choice). Note: If your module is a metapackage (a module that will embed other modules in same zip, you must put here a file metapackage.conf)
- mymodule/build/ can contains any file you develop for compiling or building package
- mymodule/core/modules/ contains module descriptor file modMyModule.class.php
- mymodule/core/triggers contains triggers provided by module
- mymodule/admin/ contains pages to setup module
- mymodule/class/ contains PHP class files provided by module
- mymodule/css contains CSS files provided by module
- mymodule/js contains javascript files provided by module to add new functions
- mymodule/docs to provide doc and licence files
- mymodule/img contains images files provided by module
- mymodule/langs/xx_XX contains language files for language xx_XX (try to put at least en_US)
- mymodule/lib contains libraries provided and used by module
- mymodule/scripts to provide command line tools or scripts. Note: Command lines script must start with line #!/usr/bin/env php
- mymodule/sql contains SQL file provided by module to add new tables or indexes
- mymodule/theme/mytheme if module provide its own theme/skin