Loading...
 
Skip to main content

History: Creating a Tiki theme

Preview of version: 4

Making a custom theme for Tiki Wiki CMS Groupware is no more difficult than making a "generic" Bootstrap 3 stylesheet. Bootstrap class names have been added to Tiki's page elements, and some page elements have been rewritten for compatibility with Bootstrap HTML. So a standard Bootstrap stylesheet functions as a Tiki theme as soon as its URL is entered on the Look and Feel admin page.

Take advantage of the Tiki layout options

A Bootstrap 3 stylesheet without further modification will, of course, reliably produce a standard Bootstrap appearance, but Tiki provides its usual display and appearance options such as alternative layouts (similar to Drupal panels); use of one, two, or three middle columns; placement of menus; theme control choices; and so on to enhance the site appearance and user experience.

Easily extend styling beyond the standard Bootstrap scope

The Bootstrap CSS classes are a subset of the total available in Tiki (its "legacy" classes have been retained where needed or useful), and these can be targeted by the stylesheet. There are global "tiki variables" that are accessed by the theme's LESS files; this automatically extends the Bootstrap values defined by the theme to Tiki-specific page elements. The theme can also define styling beyond what Bootstrap CSS provides. For example, to use background images or gradients and so on, the stylesheet can have a "tiki-selectors.less" file that its variables are applied to or, for authors not using Less, the CSS selectors can be written directly in the theme stylesheet.

Next step: Three Ways to Make a New Theme

History

Advanced
Information Version
Sun 02 of Apr, 2023 09:58 GMT-0000 Gary Cunningham-Lee Updated Bootstrap information. 5
Sat 15 of Oct, 2016 04:48 GMT-0000 drsassafras minor edit 4
Sat 15 of Oct, 2016 04:48 GMT-0000 drsassafras minor edit 3
Thu 15 of Sep, 2016 15:42 GMT-0000 Jonny Bradley testing for speed of save 2
Tue 14 of Apr, 2015 15:50 GMT-0000 Gary Cunningham-Lee 1