DokuWiki Sidebar plugin

DokuWiki entry: plugin:sidebar
Original template: template:sidebar

Installation

Download and install the plugin using the Plugin Manager using the following URL. Refer to :Plugins on how to install plugins manually.

  • Latest version: http://wiki.birth-online.de/_media/software/php/sidebar.tar.gz

Manual download:

After installation, you have to enable the sidebar via the Configuration Manager. Make sure to disable the original sidebar template or switch to the default template before enabling this plugin.

How it works

The plugin registers a hook after the TPL_ACT_RENDER event, which is fired after the main content of the page is rendered. It then adds a CSS class to the page BODY using JavaScript and also outputs the sidebar contents.

It works exactly like the Sidebar template by ChrisS but as a plugin and with (hopefully) any template.

Problems

Please report problems on the plugin page of the DokuWiki homepage.

  • if JavaScript is off, the CSS class can't be added to the BODY

TODO

  • nothing for now

History

2009-06-05, 16:25 CET

  • added @print stylesheet to hide sidebar when printing

2009-02-10, 01:49 CET

  • first working plugin
software/php/dw-sidebar-plugin.txt · Last modified: 2009-06-05 16:36.42 by mbirth
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki Contents powered by Club-Mate Contents powered by BassDrive.com Labelled with ICRA