Changes between Initial Version and Version 1 of DeveloperGuidelines/Themes


Ignore:
Timestamp:
06/22/12 14:07:23 (13 years ago)
Author:
Fran Boon
Comment:

Initial version

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelines/Themes

    v1 v1  
     1= Theme =
     2[[TOC]]
     3
     4Sahana Eden supports custom Themes as part of it's overall [DeveloperGuidelines/Templates Templates] system.
     5
     6This allows customisation of:
     7* Homepage
     8* Layout
     9* CSS
     10
     11To create a new theme:
     121. Create a new folder to hold the theme elements: {{{/static/themes/<themename>}}}
     13 * subfolders: {{{/static/themes/<themename>/css}}}, {{{/static/themes/<themename>/img}}}
     141. If not already using a template create one: {{{/private/templates/<templatename>}}}
     151. Create these files in your templates folder:
     16 * {{{/private/templates/<templatename>/__init__.py}}} - this can be empty but must be present.
     17 * {{{/private/templates/<templatename>/css.cfg}}} - list of CSS fiels to use in Debug mode, or be compressed together for the normal non-debug mode by the Build script.