| 1 | = Theme = |
| 2 | [[TOC]] |
| 3 | |
| 4 | Sahana Eden supports custom Themes as part of it's overall [DeveloperGuidelines/Templates Templates] system. |
| 5 | |
| 6 | This allows customisation of: |
| 7 | * Homepage |
| 8 | * Layout |
| 9 | * CSS |
| 10 | |
| 11 | To create a new theme: |
| 12 | 1. Create a new folder to hold the theme elements: {{{/static/themes/<themename>}}} |
| 13 | * subfolders: {{{/static/themes/<themename>/css}}}, {{{/static/themes/<themename>/img}}} |
| 14 | 1. If not already using a template create one: {{{/private/templates/<templatename>}}} |
| 15 | 1. 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. |