Sidebar
This is an old revision of the document!
Include Hooks
DokuWiki has a mechanism to modify he appearance of wiki pages by including static HTML snippets in certain places.
The names and places where these files can be inserted depend on the template you use. The files have to be placed into directory lib/tpl/nuropa/ and they all should end with the .html file extension.
Available hooks
| Section | Filename | Description |
|---|---|---|
| Toolbar | toolbar-pre | Before the left-hand item |
toolbar-post | After the left-hand item | |
| Searchbar | sitelogo | Replaces the site logo1) |
searchbar-pre | Before the right-hand item | |
searchbar-post | After the left-hand item | |
| Titlebar | title | Replaces the main page title2) |
| Footer | footer | Before the license info block |
licenseinfo | Inside the license info block |
Add other hooks here.
More information
- Include Hooks on DokuWiki.org