[Show/Hide Left Column]
[Show/Hide Right Column]

Transfer and transform
Print

How To Add a New Theme

Image
styles directory

Image
templates directory
It's easy to add a new theme to a Tiki web site. All that is needed is to place its files in the correct directories (folders) on the server. The theme is immediately available (perhaps after a page refresh to add the theme name to selector lists).

Theme components

A Tiki theme has at least a stylesheet file (a CSS file such as New_look.css) — and may have associated images. This file is what gives the theme its name. The theme may also have template files (New_look/tiki.tpl for example).

Theme stylesheets (.css files) go in the styles/ directory of the Tiki site. The images used in the theme — contained in a directory with the same name as the theme — also go in the styles/ directory.

Any custom template files used by the theme (in a directory with the same name as the theme) go in the Tiki site's templates/styles/ directory.

FTP

People with ftp access to their web site can un-archive/un-zip the new theme package on their local computer and then upload the files/directories to the appropriate directories on their server.

The files for a new theme called New_look would be uploaded like this:

Stylesheet file and images:
tiki_root/

  • Image styles/
    • New_look.css (CSS file)
    • Image New_look/ (background.jpg, logo.jpg, etc.)

Template files:
tiki_root/

  • Image templates/
    • Image styles/
      • Image New_look/ (tiki.tpl, tiki-top_bar.tpl, etc.)

Shell

People with shell accounts can transfer the files to the appropriate directories normally.


Theme: Fivealive [toggle]

Shoutbox

chibaguy, 01:00 GMT, Thu 02 of Sep., 2010: By the way, object-level theme control isn't working with regard to tpl files, so use user pref or switch-theme module for best view of themes (esp. those with custom tpl files).
chibaguy, 00:55 GMT, Thu 02 of Sep., 2010: Sorry, orionrobots, I didn't update Planetfall for Tiki 5 yet, and this site still has the T4 version. Still, I think there isn't much to update. Did you try Planetfall at this site using the switch-theme module?
orionrobots, 18:49 GMT, Wed 01 of Sep., 2010: Hmm - looks like planetfall is not quite right on Themes.tw.o - I am having a hard time with it on a TW5 upgrade on the Orionrobots test site too.
chibaguy, 01:13 GMT, Thu 05 of Aug., 2010: tochinet, sounds like the wrong (or too many) template files are being used. Can you post in the forum and give more details? (Also Tikipedia hasn't been updated for a while, so indicate what Tiki version, etc.)
tochinet, 06:55 GMT, Wed 04 of Aug., 2010: Can someone look at the Tikipedia theme ? On my Firefox, the logo appears twice, there are two lines of links a bit hidden the logo, etc. Maybe it is something simple, I don't know.

Show php error messages