Fullscreen
[Show/Hide Right Column]

For more information on Themes see themes.tiki.org


Theme Layout Schema


This page provides a few diamgrams that are useful for developers and or theme designers.

Lite CSS

Tiki >=3.0 uses a table-less layout templates (XHTML + PHP Smarty syntax) and has a CSS base called lite CSS which is used to create a basic column layout to render the columns properly across all browsers. This CSS uses a nice trick to ensure the main column floats nicely alongside the left column even in IE6 etc. You will see in the diagram below that though column1 (the main content area) appears first in the code, it will always render between columns 2 and 3.

Lite CSS rendering diagram

The dashed lines indicate the position in the code, and the solid lines the rendered position of the columns.
Image

Smarty Templates

The tiki.tpl file in the templates/ folder is the master template and includes other templates.

Schema for CSS

The main schema that Tiki >= 3 uses for layout is shown here, which also shows a "shadow" layer of extra divs used for design purposes like adding drop shadows.

Image

Tiki 7 Schema with module zones


The following diagram shows the major divs and module zones, while omitting divs that can be ignored for design purposes (this is somewhat arbitrary). Check out existing themes using a DOM inspector (like Firebug, the Firefox add-on) to see how these divs can be used to apply styling graphics, etc.

Image

tiki 7 theme schema.svg


Contributors to this page: Gary Cunningham-Lee1513 points  , mlpvolt4266 points  , Marc Laporte8178 points  , sylvie7160 points  and xavi64690 points  .
Page last modified on Wednesday 25 May, 2011 11:42:12 UTC by Gary Cunningham-Lee1513 points .
The content on this page is licensed under the terms of the Creative Commons Attribution-ShareAlike License.

Site Language

Reference Guide

Keywords

These keywords serve as "hubs" for navigation within the Tiki documentation. They correspond to development keywords (bug reports and feature requests):



Tiki Newsletter

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki