DocThemes

A theme allows you to specify the page "decorations" which surround the content of a miki page. To create a theme, create the files:

The default theme for a wiki is specied in the top-level CGI file as the string value of config.default_theme. For example: config.default_theme="tbwiki"

Users can select a different theme, and this is stored in their account data in e.g. data/admin/User1 as the value for "theme".

The list of allowed themes (for user selection) is generated by scanning the data/pages directory, and listing all basenames for files ending in '.header'.

The format of the header and footer files is raw HTML. You can reference some tbwiki system variables, to place items wherever you want on the page. The header and footer files go in the data/pages directory, just like any other file (this might be a security risk). The stylesheet file goes in the 'css' directory.

Here are some of the variables available, and what they mean: