breadcrumbs
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
breadcrumbs [2013-03-20 17:14] – [Breadcrumbs] 176.58.176.122 | breadcrumbs [2021-10-02 19:41] (current) – [Configuration] -PSi- | ||
---|---|---|---|
Line 2: | Line 2: | ||
In [[DokuWiki]] you will never get lost because you always leave some breadcrumbs behind which show you the way back. | In [[DokuWiki]] you will never get lost because you always leave some breadcrumbs behind which show you the way back. | ||
- | |||
===== Breadcrumb Types ===== | ===== Breadcrumb Types ===== | ||
Line 13: | Line 12: | ||
The number of tracking breadcrumbs to be shown can be set with the [[config: | The number of tracking breadcrumbs to be shown can be set with the [[config: | ||
+ | |||
==== Hierarchical Breadcrumbs ==== | ==== Hierarchical Breadcrumbs ==== | ||
Line 22: | Line 22: | ||
* [[config: | * [[config: | ||
* [[config: | * [[config: | ||
+ | |||
+ | ==== Breadcrumb Prefixes ==== | ||
+ | |||
+ | * The text blocks '' | ||
+ | * How and where the breadcrumb block is rendered is mainly the responsibility of the template. | ||
+ | * The [[template]] [[template: | ||
+ | * If you'd like to customize it in your [[plugin]] of choice | ||
+ | * ask the author, to make it customizable, | ||
+ | * or find the string in the template and overwrite it as a quick hack to get what you want | ||
+ | * or alternatively try to see what the [[localization]] has to offer in that regard. | ||
Line 28: | Line 38: | ||
The breadcrumbs are stored in the user session. [[Template]] developers should make sure to provide space for both types of breadcrumbs by using the '' | The breadcrumbs are stored in the user session. [[Template]] developers should make sure to provide space for both types of breadcrumbs by using the '' | ||
- | ===== Problems ===== | ||
- | |||
- | |||
- | On my production server, anonymous users only saw a breadcrumb trail of 1 page: the current page. To allow them to see the complete trail of $conf[' | ||
- | |||
- | <code php> | ||
- | if(!$silent) msg($lang[' | ||
- | // | ||
- | auth_logoff(true); | ||
- | return false; | ||
- | </ | ||
- | |||
- | Now both anonymous and logged in users see the breadcrumb trail.\\ | ||
- | [John, 2009-10-26] | ||
- | |||
- | Note: In Dokuwiki "Adora Belle" the code to change is on line 221. |
breadcrumbs.1363796049.txt.gz · Last modified: 2013-03-20 17:14 by 176.58.176.122