Sidebar
This is an old revision of the document!
Searchbar
The page searchbar is the section below the site toolbar, containing the site logo and the search field.
In the simplest form, it can look like this:
Components
Site logo
The site logo on the left-hand side of the search bar can be customised:
Use the Media Manager to upload an image with the name “logo.svg”, or “logo.png”, or place a static HTML snippet with the name “sitelogo.html” in the wiki’s conf/ directory.
For more information, see: Sitelogo.
Search widget
DokuWiki’s own search functionality is actually pretty good, and already for this reason it should not be hidden away but presented to visitors in the most inviting way.
The Nuropa template enhances the default search field in many ways, so that it is more appropriate to talk about a “search widget” rather than a “search field”.
This feature is described in more detail under: Search widget.
Searchbar Tool
To the right of the search field, there is space for a tool widget. This is similar to the left-hand tool in the toolbar, insofar as it can be configured to hold the same tools, namely:
User widget
As usual, if no user is logged in, this place shows the “Log In” button instead.
Translations widget
When the Translation plugin is installed, this place can also hold the translations menu:
This is the default setting, which means for sites that don’t use the Translation plugin, this place will be left blank.
Hooks
The right side of the Searchbar has three different hooks for loading HTML snippets:
searchbar_pre.htmlsearchbar_mid.htmlsearchbar_post.html
TODO: explanations and screenshots.


