Loading...
Home Page
About
Marketplace
Sample page
Wishlist at dev site
Sitemap (Categories)
Tiki Customization
Creating a theme
Converting a Bootstrap theme
Contributing, sharing or selling
Customizing icons
Tips
Template Tricks
CSS Tricks
Feature Examples
Articles
Blogs
Calendar
Forums
FAQs
Trackers
Files
Links Directory
Wiki Pages
Find
History: Theme Components
View published 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}
Layout
Stay on this page
Default
Single Container
Classic Bootstrap
Classic Tiki (3 containers - header, middle, footer)
Tikipedia
Latest Changes
Included themes
Materia
Ohia
Themes
Making or Updating a Theme for Tiki 27
Updating a Theme for Tiki 26
Tiki_org_family_customizations_CSS
BookStacked
Make an SCSS-Compiled Tiki Theme
Contributing, sharing or selling a theme
...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 branch 26x
Wed 21 of Jun, 2023 09:45 GMT-0000
Site upgraded to branch 25x
Sat 12 of Nov, 2022 17:00 GMT-0000
Site upgraded to Tiki 23.x
Sat 24 of Jul, 2021 00:30 GMT-0000
Site upgraded to Tiki 20
Wed 29 of May, 2019 07:57 GMT-0000
We are now on Tiki 19.x
Fri 05 of Oct, 2018 10:02 GMT-0000
Shoutbox module removed
Thu 28 of Jun, 2018 07:01 GMT-0000
We are now on Tiki 18.x
Wed 02 of May, 2018 08:46 GMT-0000
Upgraded to Tiki 17.0
Wed 02 of Aug, 2017 08:19 GMT-0000
Upgraded to Tiki 15.0alpha
Tue 08 of Mar, 2016 13:34 GMT-0000