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/02/18 12:40] – [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 13: | Line 15: | ||
| The site logo on the left-hand side of the search bar can be customised: | The site logo on the left-hand side of the search bar can be customised: | ||
| - | Use the Media Manager to upload an PNG or SVG image with the name “logo” (i.e. use “'' | + | Use the Media Manager to upload an image with the name “'' |
| + | |||
| + | For more information, | ||
| + | ==== 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: <b maniculus> | ||
| + | |||
| + | ==== 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: | ||
| + | |||
| + | For more information, | ||
| + | |||
| + | ===== Configuration ===== | ||
| + | ==== Template settings ==== | ||
| + | |||
| + | In the <a [href=? | ||
| + | |||
| + | * **Site logo** – How should the [[sitelogo|site logo]] be displayed? | ||
| + | * **Searchbar Tool** – What tool should be shown as [[tool|searchbar tool]]? Options are: “User information”, | ||
| + | |||
| + | For more information, | ||
| - | Or save a static HTML snippet with the name “'' | + | ==== Style settings ==== |
| - | In either case, please make sure that the dimensions of the logo fit the available space. Use the template image (shown here and by default) as an example. | + | In the <a [href=?do=admin& |
| - | ==== Search field ==== | + | |
| - | <figure>{{: | + | * **Searchbar height** – configures the minimum height of the search bar. Adjust to make more space, e.g. for the logo. |
| + | * **Searchbar background colour** <strong red>*</ | ||
| + | * **Searchbar icon colour** < | ||
| + | * **Searchbar link colour** < | ||
| + | * **Searchfield | ||
| + | * **Search field background** <strong red>*</ | ||
| + | * **Search field text colour** < | ||
| + | * **Search field border** < | ||
| + | * **Search popup background** < | ||
| + | <aside info> | ||