====== Searchbar tools ======
In addition to the [[sitelogo|sitelogo]] and the [[search-widget|search widget]], the [[index|searchbar]] also reserves space for a configurable tool.
The tool and the available options here reflect the tools available for the left-hand item in the [[..:toolbar:index|toolbar]]:
===== User menu =====
This option shows the user menu, or a “Log in” link at the searchbar tool position
{{:components:searchbar:searchbar-user.png?700|Nuropa Searchbar with user menu}}Searchbar with User menu
=== Translations menu ===
When the [[doku>plugin:translation|Translation plugin]] is installed, this place can also hold the translations menu instead:
{{:components:searchbar:searchbar-langmenu.png?700|Nuropa Searchbar with Translations menu}}Searchbar with Translations menu
If the plugin is not installed, nothing will be shown here. This is the default setting, too, so if you don’t use the translation plugin, it will show nothing here.
=== Nothing ===
Don’t show anything at this place.
FIXME This is a placeholder function. In the future, it is planned to allow a static HTML snippet to be displayed instead.
===== Hooks =====
There are multiple include hooks that can be used to include static HTML snippets in this area.
^ Filename ^ Description ^
^ ''searchbar-pre.html'' | Insert //before// the tool |
^ ''searchbar-post.html'' | Insert //after// the tool |
For more information on this feature, please see: [[customisation/hooks|Include hooks]].