wiki:DeveloperGuidelines/Themes

Version 1 (modified by Fran Boon, 9 years ago) ( diff )

Initial version

Theme

Table of Contents

    Sahana Eden supports custom Themes as part of it's overall Templates system.

    This allows customisation of:

    • Homepage
    • Layout
    • CSS

    To create a new theme:

    1. Create a new folder to hold the theme elements: /static/themes/<themename>
      • subfolders: /static/themes/<themename>/css, /static/themes/<themename>/img
    2. If not already using a template create one: /private/templates/<templatename>
    3. Create these files in your templates folder:
      • /private/templates/<templatename>/__init__.py - this can be empty but must be present.
      • /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.
    Note: See TracWiki for help on using the wiki.