Learn about DokuWiki
Learn about DokuWiki
All files must be located in the template directory (
lib/tpl/bootstrap3/) or your
conf/ directory (upgrade-safe).
|File Name||Position of included HTML|
| || Inside the HTML
| || At the very top of the page right after the
| ||Above the upper blue bar, below the pagename and wiki title|
| || DEPRECATED (see the note below) - Inside the navbar, use this to add additional links (e.g.
| ||Below the breadcrumbs, above the actual content|
| ||Above the lower blue bar, below the last changed Date|
| || At the very end of the page just before the
| ||On top of the sidebar|
| ||On bottom of the sidebar|
| || Below the
| ||On top of the right sidebar|
| ||On bottom of the right sidebar|
NOTE for navbar.html
This c10c048 commit introduced a new navbar hook (
:navbar). Please use this new hook, because the
navbar.html is deprecated and will be removed in the future release of template.
If you want to add only the Home-Page link, set the
You can customize various parts of your page by creating simple DokuWiki “hook” pages. The bootstrap3 template will plug these page snippets contained in each of these custom pages into the overall layout of the page.
|Page name||Description||Per namespaces|
| ||The sidebar||YES|
| ||The right-sidebar||YES|
| ||Navbar with sub-menus||YES|
| ||Header of the Wiki article||YES|
| ||Footer of the Wiki article||YES|
| ||Footer of the page||YES|
| ||Cookie-Law banner||NO|
| ||Cookie-Law policy||NO|
| ||Help page for “Help Page Icon”||YES|
| ||Header of page below the navbar||YES|
| || Top Header of page (on top of navbar if ||YES|
This “hook” page is a standard DokuWiki page with an unordered-list of links (internal or external). The templating engine replaces the unordered-list with a menu bar with a dropdown-menu.
This is an example:
* [[:start|Home]] * DokuWiki * [[:wiki:welcome]] * [[:wiki:syntax]] * [[:wiki:dokuwiki]] * [[:playground:playground]] ~~NOCACHE~~
It is possible to create different navbars for every namespaces with the same behavior of sidebar page.