mantisbt:page_template_requirements
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| mantisbt:page_template_requirements [2007/05/28 03:31] – reply to theme per project comment vboctor | mantisbt:page_template_requirements [2011/11/16 07:37] (current) – The page rendering was broken (maybe since new PHP version on mantisbt.org). Added new line to fix it at end of file. atrol | ||
|---|---|---|---|
| Line 21: | Line 21: | ||
| Development of this feature will be done on a branch from the 1.1 stream. This will allow normal development to proceed while the core is reworked. The code will eventually be folded back into the main stream. The branch is labelled ' | Development of this feature will be done on a branch from the 1.1 stream. This will allow normal development to proceed while the core is reworked. The code will eventually be folded back into the main stream. The branch is labelled ' | ||
| - | ===== Database Changes | + | ==== Database Changes ==== |
| * none should be required | * none should be required | ||
| - | ===== Template Construction | + | ==== Template Construction ==== |
| * templates will be created to split up the functionality on the pages to reasonable size parts. In general, common sections will be placed into separate files. For example, the template for the bug page will be split up as follows: | * templates will be created to split up the functionality on the pages to reasonable size parts. In general, common sections will be placed into separate files. For example, the template for the bug page will be split up as follows: | ||
| * page header | * page header | ||
| Line 39: | Line 39: | ||
| * Details of template form and construction can be found [[page_template_construction|here]]. | * Details of template form and construction can be found [[page_template_construction|here]]. | ||
| - | ===== File Structure | + | ==== File Structure ==== |
| |- mantis | |- mantis | ||
| + core | + core | ||
| Line 65: | Line 65: | ||
| | +- page.php | | +- page.php | ||
| - | ===== Configuration ===== | + | ==== Configuration ==== |
| + | |||
| + | * $g_c_template_path - path to writable compiled templates directory | ||
| + | |||
| + | * $g_theme_default - default theme to use | ||
| + | * $g_theme_override - override theme to use (usually set in a project or user) | ||
| + | * $g_hide_fields = ''; | ||
| + | |||
| + | ==== Implementation Log ==== | ||
| + | * [[page template todo|To Do List / Log]] | ||
| ===== Other Changes ===== | ===== Other Changes ===== | ||
| Line 120: | Line 130: | ||
| * As currently implemented, | * As currently implemented, | ||
| * Having a theme per project may be used for branding. | * Having a theme per project may be used for branding. | ||
| + | * The configuration system may handle this by finding the theme associates with ' | ||
| + | |||
mantisbt/page_template_requirements.1180337508.txt.gz · Last modified: (external edit)
