- craigh responded to »TagIt 3.0 for Zikula« 03:58 PM
- jmvaughn responded to »error when i try to upgrade to the last version of dizkus module (3.1)« 12:05 PM
- localrags responded to »Remove contents of nuke_sc_anticracker from Database« 11:30 AM
- jmvaughn responded to »Shoutit for zikula 1.3?« 09:31 AM
- mdee responded to »Different page content under one template (tpl file) based on URL« 07:17 AM
- espaan responded to »Categories disappear when editing ...« 08. Feb
- eledril responded to »How decrease zikula cpu usage« 08. Feb
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Wiki » ThemeAnatomy
Additions
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>/fonts/ - directory containing web fonts used by the theme.
- <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/modules/<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.
Theme Authoring Index Page
CategoryDeveloperDocs
Deletions
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/modules/<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.
Theme Authoring Index Page
CategoryDeveloperDocs
Additions
Theme Authoring Index Page
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/modules/<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.
CategoryDeveloperDocs
CategoryUserDocs
