Feature:Themes in 'raw' format
Here are some development notes on themes and views:
= themes =
A user can select a theme in their user configuration, which selects
a set of css, header, and footer files used by TBWiki.
A set of static themes come pre-supplied:
* tbwiki - the default theme (media-wiki-style)
* mobile - for showing on a mobile device (restructured for smaller screen size in vertical configuration)
* printable - for showing printable versions of pages (with no decoration or extraneous action or navigation stuff)
Because users can't edit their configuration, this feature was never developed.
But there is core engine support for smaller navigation and search fields.
Making a header and footer is relatively easy, but the CSS to match all the
elements is hard, because the wiki doesn't use HTML element ids or classes, in most cases.
= wrapping a whole config around the data data pages =
Another way to do this is to wrap a config around the data pages, like so:
For example, to see this page in regular web format (not wikipedia format), try
this link: [[http://bird.org/cgi-bin/mwiki.cgi/FrontPage|tbwiki mobile view]]
{{Category(Features,Themes)}}