Sidebar
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| components:searchbar:index [2025/07/10 08:18] – [Site logo] admin | components:searchbar:index [2025/07/19 14:58] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Searchbar ====== | ====== Searchbar ====== | ||
| - | The page searchbar is the section below the site toolbar, containing the site logo and the search | + | The page searchbar is the section below the site toolbar, containing |
| - | In the simplest form, it can look like this: | + | There are additional configuration options, like showing either |
| - | < | + | In the simplest form, the search bar may look like this: |
| + | |||
| + | < | ||
| ===== Components ===== | ===== Components ===== | ||
| Line 16: | Line 18: | ||
| For more information, | For more information, | ||
| - | ==== Search | + | ==== Search |
| 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. | 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 search field you see in the middle of the aptly named “Searchbar” is just the “inactive” state of the search widget. The moment the user activates | + | The Nuropa template enhances the default |
| - | + | ||
| - | < | + | |
| - | + | ||
| - | In this mode, the web page content | + | |
| - | + | ||
| - | More information on the search functionality in an upcoming article... | + | |
| - | + | ||
| - | On smaller screens (e.g. tablets), instead of a search | + | |
| - | < | + | |
| - | + | ||
| - | On even smaller screens, the labels are also hidden and only the icons are shown: | + | |
| - | On smaller screens (e.g. tablets), instead of a search field, a search button (icon plus label) is shown: | + | |
| - | < | + | |
| - | + | ||
| - | The functionality, | + | |
| - | + | ||
| - | ==== Searchbar Tool ==== | + | |
| - | To the right of the search field, there is space for a tool widget. | + | This feature |
| - | === User widget | + | ==== Searchbar Tools ==== |
| - | < | + | To the right of the search field, there is space for a tool widget. This is similar to the left-hand tool in the [[components:toolbar:index|toolbar]], |
| - | As usual, if no user is logged in, this place shows the “Log In” button instead. | + | For more information, see: <b maniculus> |
| - | === Translations widget | + | ===== Configuration ===== |
| + | ==== Template settings ==== | ||
| - | When the [[doku>plugin: | + | In the <a [href=? |
| - | < | + | * **Site logo** – How should the [[sitelogo|site logo]] be displayed? |
| + | * **Searchbar Tool** – What tool should be shown as [[tool|searchbar | ||
| - | This is the default setting, which means for sites that don’t use the Translation plugin, this place will be left blank. | + | For more information, please see the page <span maniculus> |
| - | === Hooks === | + | ==== Style settings ==== |
| - | The right side of the Searchbar has three different hooks for loading HTML snippets: | + | In the <a [href=? |
| - | * '' | + | * **Searchbar height** – configures the minimum height of the search bar. Adjust to make more space, e.g. for the logo. |
| - | * '' | + | * **Searchbar background colour** < |
| - | * '' | + | * **Searchbar icon colour** < |
| + | * **Searchbar link colour** < | ||
| + | * **Searchfield fonts** – Fonts that should be used for the search field. | ||
| + | * **Search field background** < | ||
| + | * **Search field text colour** < | ||
| + | * **Search field border** < | ||
| + | * **Search popup background** < | ||
| - | TODO: explanations and screenshots. | + | <aside info> |