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 release:
Older releases for reference:
BUG WARNING:
I updated the template against the bleeding edge shortly after Anteater. In the mean time,
the default template code had changed… The problem is a newly defined function
called tpl_getFavicon. If you are using Anteater, please revert
main.php in the sidebar template to the version without that function. See the development patch
for the default template here:
https://github.com/splitbrain/dokuwiki/commit/afca7e7eb41bc692ca11c4fb80f32c860e2bd3d5
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.