Loading...
Find
Log in
Username:
Password:
CapsLock is on.
Remember me (for 1 week)
Log in
Stay in SSL mode
History: Theme Components
View page
Source of version: 5
(current)
!! Setting up the studio Roughly speaking, Tiki pages are created with three kinds of files -- .php files for page presentation logic, template (.tpl) files for page structure layout, and cascading style sheet (.css) files for visual and other style details. The .php files generally don't need to be touched. The theme designer needs to be concerned only with a CSS file and maybe one or more template files. !! Stretching the canvas The template files create the frame on which the style canvas is stretched. The perimeter of this frame is ''tiki.tpl'', which calls page-region-specific template files as needed -- ''tiki-site_header.tpl'' across the top, ''tiki-bot_bar.tpl'' at the bottom, and others in the mid section depending on the site section being displayed. ^In Tiki discussions and descriptions, the terms ''style'' and ''theme'' are used interchangeably, though there are places where one word is always used, such as ''styles'' in the file directory.^ Theme-specific template files (in the ''themes/mytheme/templates/'' directory) have priority over the default template files (in the ''templates/'' directory). If a particular theme is intended to be a two-column design, for example, with the right column modules stacked under the left column modules, then a modified version of ''tiki.tpl'' is put in that theme's templates directory, and Tiki uses it rather than the default version. For ease of installation updating, custom templates are not encouraged. The theme option-specific template files obey the same logic and are located in the ''themes/mytheme/options/myoption/templates/'' directory Note: Before Tiki13, the theme-specific template file were located in the ''templates/styles/mytheme/'' directory and option-specific template files in ''templates/styles/mytheme/options/myoption/''. {DIV(float=>right)}(:arrow:) [tiki-index.php?page_ref_id=5|Templates Overview]{DIV} !! Applying the paint The template files contain CSS selectors to enable styling of page details. (A few selectors are found in non-template files as well.) It is possible to create a new Tiki theme using only a new style sheet and no new template files if the default page layout is compatible. The mozilla, lesjetesdelencre, fmsc, tikineat and other bundled themes don't use custom templates, for example. Of course a theme may need graphic files for backgrounds, etc. These are stored in a ''styles/newtheme/'' directory. {DIV(float=>right)}(:arrow:) [tiki-index.php?page_ref_id=7|CSS Overview]{DIV}
Switch Theme
Site theme (fivealive-lite/grape)
Default
Amelia
Business
Cerulean
Cosmo
Cyborg
Darkly
Darkroom
Darkshine
Feb12
Fivealive-lite
Fivealive
Flatly
Greenvalley
Journal
Jqui
Lighty
Litera
Lumen
Lux
Materia
Minty
Morph
Ohia
Pulse
Quartz
Sandstone
Simplex
Sketchy
Slate
Solar
Spacelab
Strasa
Superhero
Thenews
Tikicorp
Tikinewt
Tikipedia
United
Utopias
Vapor
Yeti
None
Akebi
Grape
Kiwi
Lemon
Orange
Plum
Raspberry
Watermelon
Switch
Layout
Stay on this page
Default
Fixed top navbar (uses site icon + "topbar" module zone)
Basic Bootstrap
Classic Tiki (3 containers - header, middle, footer)
Tikipedia
Latest Changes
No records to display
...more
Subscribe to Tiki Newsletters!
Delivered fresh to your email inbox!
Don't miss major announcements and other big news!
Site Config
Site upgraded to Tiki 23.x
Sat 24 of Jul, 2021 00:30 GMT
Site upgraded to Tiki 20
Wed 29 of May, 2019 07:57 GMT
We are now on Tiki 19.x
Fri 05 of Oct, 2018 10:02 GMT
Shoutbox module removed
Thu 28 of Jun, 2018 07:01 GMT
We are now on Tiki 18.x
Wed 02 of May, 2018 08:46 GMT
Upgraded to Tiki 17.0
Wed 02 of Aug, 2017 08:19 GMT
Upgraded to Tiki 15.0alpha
Tue 08 of Mar, 2016 13:34 GMT
Site updated to Tiki 14 beta
Tue 21 of Apr, 2015 00:01 GMT
Testing Tiki10
Thu 15 of Nov, 2012 23:06 GMT
Configurable header buttons in XtratoVeil layout
Wed 17 of Oct, 2012 14:54 GMT