wiki:DeveloperGuidelines/Themes

Version 2 (modified by Fran Boon, 12 years ago) ( diff )

--

Themes

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.