Warning: This is work in development. For some releases, you may need a dokuwiki development version. In that case, you need to install and use darcs.
The template code releases can be downloaded below. This code is released under the GPL License.
Latest releases:
Older releases (for reference):
style.ini file is used properly to load sidebar.css always, and to define color replacements. On user action show, class div.page_with_sidebar is used instead of div.page to accomodate the sidebar.style.ini file in the sidebar stylesheet.pre class, to make IE behave as desired with overflowing code blocks. Some additional cosmetic style sheet changes.
Put the sidebar template directory in the lib/tpl directory alongside the default template. Then, add the following to your conf/local.php file:
$conf['template'] = 'sidebar';
If you want a tagline, you can define it as follows:
$conf['tagline'] = 'Your own tagline';
The content of the sidebar is defined in a page called sidebar. You can use a sidebar page per namespace. You have to define the page in a normal wiki way if it doesn't exist yet. (Hint: in DokuWiki, simply searching for the page makes it easy to create it.) The template searches for the sidebar page first in the current namespace, and then higher on if none was found. If no sidebar page is found, the index is displayed by default.