History: Upgrading
Source of version: 14
Copy to clipboard
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. {maketoc} !! 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 # #header is now full width - #header_fixedwidth inside it is now fixed width # #header_fixedwidth is now (mostly) equivalent to #header-top # #footer is now full width - .footerbgtrap is now the fixed width area (c/should be renamed?) # #main is now the fixed width outer container with header, middle and footer in (the "contents") + see fivealive for how to layer 4 header bg images # #siteloginbar is now a class (.siteloginbar) as it's possible to add modules more than once !!! Template (.tpl) files -=Other pages related to Upgrades=- {TITLESEARCH(search=>Upgrade, exclude=>Upgrade)}{TITLESEARCH} Documentation site: http://doc.tiki.org/Upgrade -=Backlinks=- {BACKLINKS()}{BACKLINKS} -=aliases=- (alias(Upgrade)) |(alias(Upgrade file changes)) | (alias(Upgrade CSS)) | (alias(Upgrade tpl))