Zikula: A Flexible Open Source Content Management System
home | forum | international support | contact us

Documentation Wiki

Most recent edit on 2007-06-25 22:56:17 by randomblink


Edited on 2007-06-25 22:55:56 by randomblink

Additions:
Theme Authoring Index Page


Edited on 2007-02-05 08:17:33 by Teb Adjusted path for template overrides

Additions:
* <theme name>/templates/modules/<other directories> - directories containing template overrides for modules

Deletions:
* <theme name>/templates/<other directories> - directories containing template overrides for modules


Edited on 2006-05-29 10:28:59 by Chestnut Added category - tidy fix...

Additions:
* <theme name>/templates/config/ - the heart of the theme. directory containing the ini files that define what templates are used to render what parts of all output, what theme variables exist, what palettes are available, etc.

CategoryDeveloperDocs
CategoryUserDocs


Deletions:
* <theme name>/templates/config/ - the heart of the theme. directory containing the ini files that define what templates are used to render what parts of all output, what theme variables exist, what palettes are available, etc.


Oldest known version of this page was edited on 2006-05-01 09:30:23 by markwest [ ]

Anatomy of a Zikula theme


A theme is collection of files organized with a specific layout. The theme engine interprets these files to present the layout of the content produced by modules and blocks.

All themes are placed within the 'themes' directory of Zikula site. Within the theme directory a number of files and directories are required. At the top level of the theme there must be the following structure:

  • <theme name>/version.php - a php file containing theme information that gets imported into the Database
  • <theme name>/images/ - directory containing theme images.
  • <theme name>/style/ - directory containing theme stylesheets
  • <theme name>/plugins/ - directory containing theme specific template plugins
  • <theme name>/lang/ - directory containing theme language files
  • <theme name>/templates/ - directory containing templates that contain the markup of the theme

Within the templates folder the directory structure will, depending on the theme configuration files, typically contain:

  • <theme name>/templates/master.htm - page template used to render all pages not having a specific page template assigned
  • <theme name>/templates/blocks/ - directory containing block templates
  • <theme name>/templates/modules/ - directory containing page templates used to render pages with a specific page template assignment
  • <theme name>/templates/<other directories> - directories containing template overrides for modules

Lastly:

  • <theme name>/templates/config/ - the heart of the theme. directory containing the ini files that define what templates are used to render what parts of all output, what theme variables exist, what palettes are available, etc.
Last Revision :
Last Editor :
Owner :

Main Menu

Extensions Database

Documentation

Development

Login





 


 Log in Problems?
 New User? Sign Up!

Donate to Zikula