| t | Here are some development notes on themes and views: | t | |
| <p> | | |
| <h1><a name="themes">themes</a> | | |
| <span align=right class="section_edit_link">[<a href="/tbwiki/Feature:Themes?action=edit§ion=themes">edit section</a>]</font></span> | | |
| </h1> | | |
| A user can select a theme in their user configuration, which selects | | |
| a set of css, header, and footer files used by TBWiki. | | |
| <p> | | |
| A set of static themes come pre-supplied: | | |
| <ul><li>tbwiki - the default theme (media-wiki-style) | | |
| <li>mobile - for showing on a mobile device (restructured for smaller screen size in vertical configuration) | | |
| <li>printable - for showing printable versions of pages (with no decoration or extraneous action or navigation stuff) | | |
| </ul> | | |
| <p> | | |
| 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. | | |
| <p> | | |
| <h1><a name="wrapping_a_whole_config_around_the_data_data_pages">wrapping a whole config around the data data pages</a> | | |
| <span align=right class="section_edit_link">[<a href="/tbwiki/Feature:Themes?action=edit§ion=wrapping_a_whole_config_around_the_data_data_pages">edit section</a>]</font></span> | | |
| </h1> | | |
| Another way to do this is to wrap a config around the data pages, like so: | | |
| <p> | | |
| For example, to see this page in regular web format (not wikipedia format), try | | |
| this link: <a href="http://bird.org/cgi-bin/mwiki.cgi/FrontPage">tbwiki mobile view</a> | | |
| <p> | | |
| | | |
| <div style="background-color:f0f0f0; padding:5px; border-style: solid solid solid solid; border-width: 1px 1px 1px 1px;"> | | |
| Categories: <a href="/tbwiki/Category:Features">Features</a>|<a href="/tbwiki/Category:Themes">Themes</a> | | |
| </div> | | |