Loading...
 
Skip to main content

History: Upgrading

Preview of version: 17

To help update custom theme files from one Tiki version to the next, this page lists changes in the theme stylesheet and in typical theme-specific Smarty template (.tpl) files.

Tiki 4 to Tiki 5 Theme file changes

CSS

Double quotes added for input[type="reset"], etc.

Secondary site menu styling added, for example

#secondary_site_menu
#secondary_site_menu .cssmenu_horiz ul
#secondary_site_menu .cssmenu_horiz ul ul
#secondary_site_menu .cssmenu_horiz ul li a
#secondary_site_menu .cssmenu_horiz li a
#secondary_site_menu .cssmenu_horiz li.menuSection a
#secondary_site_menu .cssmenu_horiz li ul li a .sf-sub-indicator

Site header login popup introduced

#siteloginbar_popup

Tab styling changed in many themes

/* reset what's in layout.css */
.tabactive, .tabinactive, class.tabactive, class.tabinactive {top: 0 !important}
.tabs
.tabs br
.tabs span
.tabmark
.tabmark a
.tabactive
.tabmark a:hover, .tabactive
.tabcontent

Fancytable

/* fancytable (sortable) plugin */ .fancysort .header:hover {color: f0f0f0;}

Misc. (things found to have been changed in two or more themes

.rbox-title {border-bottom: none !important;}

Template (.tpl) files

Site header wrapper method introduced

tiki-site_header_top.tpl(for example)

Tiki 5 to Tiki 6 Theme file changes

CSS

Blog revamp (template wrapper method introduced)

It's now easier to give a theme a different blog page layout. There is a blog wrapper template file that contains include statements each of which loads a part of the blog page, so these statements can be reordered (and/or minimal HTML, etc. put between them) to create a unique display.

  • Sharethis icon added to blog post icons

Miscalleneous

  • #fixedwith has moved to styles/layout/layout.css
  • Element names removed in layout.css, design.css and theme stylesheets
  • Class of wysiwyg editor textarea changed (along with fckeditor to ckeditor)

body.wikitext -> body.cke_show_borders (needed for some themes to have good contrast)
Where possible (actually in almost all cases) selectors like div.sioptions were changed to .sioptions, because there were no eg. span.sioptions or ul.sioptions. This reduces problems in theme stylesheets where previously .sioptions would possibly not be able to override layout.css's div.sioptions due to the latter's greater specificity. In other words, in most cases, theme stylesheets don't need to use the element name any more, but just the id or class name.

Template (.tpl) files

Blog revamp (template wrapper method introduced)



Tiki 6 to Tiki 7 Theme file changes

CSS

  • New divs have been added in tiki.tpl to accomodate the graphic layout of Fivealive and other themes that have full-width page parts even when fixed-width is activated.

  • #header is now full width - #header_fixedwidth inside it is now fixed width
  • #header_fixedwidth is now (mostly) equivalent to #header-top
    See Fivealive for how to layer four header bg images (esp. for case of header background that is full page width, with header content being fixed width).
  • #siteloginbar is now a class (.siteloginbar) as it's possible to add modules more than once.
  • When writing CSS for modules (or divs in modules), be sure to narrow the scope appropriately (append rule with #top_modules, for example) so if the same items also appear in another module zone or wiki page, the CSS rules won't be accidentally applied (especially possible with positioning rules for items like the search form, etc.).
  • These divs are now obsolete:
    • #header-top
    • #siteheader
    • #sioptions
    • #sitead (This id is no longer in the .tpl file but its CSS rules could be used as a possible reference for banner module CSS.) 
    • #sitead.floatright
    • #sitead.floatleft

Replacing the Look and Feel configuration of "site identity" items such as site logo, site title, log-in form, search form, and main horizontal menu, modules are now used for assigning and positioning these items. See http://dev.tiki.org/Modules Revamp.

The footer has an additional div if needed for layout.

Color simplification

To facilitate using the theme generator, colors in some themes are being simplified where possible. So far, jqui has gotten this treatment; The News and Tikinewt are the next likely candidates.

Template (.tpl) files

Check also the changes from "Module Revamp"

See:
http://dev.tiki.org/Modules+Revamp#Stylesheet_updating

Other pages related to Upgrades

3 pages found for title search 'Upgrade'



Documentation site: http://doc.tiki.org/Upgrade

Backlinks

One page links to Upgrading



aliases

Upgrade |Upgrade file changes | Upgrade CSS | Upgrade tpl

History

Advanced
Information Version
Fri 04 of Mar, 2011 11:49 GMT-0000 Xavier de Pedro 18
Tue 15 of Feb, 2011 11:55 GMT-0000 Gary Cunningham-Lee 17
Fri 04 of Feb, 2011 14:09 GMT-0000 Xavier de Pedro 16
Mon 24 of Jan, 2011 03:10 GMT-0000 Gary Cunningham-Lee Updated and more info. 15
Fri 21 of Jan, 2011 13:47 GMT-0000 Xavier de Pedro added some info about Tiki7 14
Tue 07 of Dec, 2010 10:46 GMT-0000 Gary Cunningham-Lee 13
Tue 07 of Dec, 2010 09:03 GMT-0000 Gary Cunningham-Lee 12
Tue 07 of Dec, 2010 09:01 GMT-0000 Gary Cunningham-Lee Added item to Tiki 5 - 6 upgrade list. 11
Fri 12 of Nov, 2010 08:08 GMT-0000 Gary Cunningham-Lee 10
Fri 12 of Nov, 2010 07:53 GMT-0000 Gary Cunningham-Lee 9
Fri 12 of Nov, 2010 07:32 GMT-0000 Gary Cunningham-Lee 8
Wed 27 of Oct, 2010 11:57 GMT-0000 sylvie greverend 7
Wed 27 of Oct, 2010 11:55 GMT-0000 Xavi (as xavidp - admin) 6
Wed 27 of Oct, 2010 11:54 GMT-0000 Xavi (as xavidp - admin) 5
Wed 27 of Oct, 2010 11:51 GMT-0000 Xavi (as xavidp - admin) 4
Wed 27 of Oct, 2010 11:32 GMT-0000 Xavi (as xavidp - admin) added a few aliases 3
Sun 29 of Aug, 2010 10:08 GMT-0000 Gary Cunningham-Lee Some whitespace removed. 2
Sun 29 of Aug, 2010 10:06 GMT-0000 Gary Cunningham-Lee Page created. 1