breadcrumbs
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
breadcrumbs [2009-10-26 17:49] – 83.160.154.103 | breadcrumbs [2021-06-24 17:05] – Made "Breadcrumb Prefixes" a subsection of "Configuration" porg | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Breadcrumbs ====== | ====== Breadcrumbs ====== | ||
- | In [[DokuWiki]] you never get lost because you always leave some breadcrumbs behind which show you the way back. Unlike in the [[http:// | + | 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 10: | Line 9: | ||
==== Tracking Breadcrumbs ==== | ==== Tracking Breadcrumbs ==== | ||
- | This is the default. Breadcrumbs display a list of pages you just visited in a wiki. This makes most sense for pages with a flat [[namespace]] hierarchy. Tracking Breadcrumbs are prefixed with the word '' | + | This is the default. Breadcrumbs display a list of pages you just visited in a wiki. This makes most sense for pages with a flat [[namespace]] hierarchy. Tracking Breadcrumbs are prefixed with the word '' |
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: | ||
Line 20: | Line 19: | ||
Hierarchical breadcrumbs can be enabled with the [[config: | Hierarchical breadcrumbs can be enabled with the [[config: | ||
- | ===== Development | + | ===== Configuration |
+ | * [[config: | ||
+ | * [[config: | ||
- | The breadcrumbs are stored in the user session. [[Template]] developers should make sure to provide space for both types of breadcrumbs by using the '' | + | ==== Breadcrumb Prefixes ==== |
- | ===== Problems ===== | + | * The text blocks '' |
- | By setting some options in the php.ini file, breadcrumbs | + | * How and where the breadcrumb block is rendered is mainly the responsibility of the template. |
+ | * The [[template]] [[template: | ||
+ | * If you'd like to customize | ||
+ | * 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. | ||
- | ---- | ||
- | |||
- | 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] | ||
+ | ===== Development ===== | ||
+ | The breadcrumbs are stored in the user session. [[Template]] developers should make sure to provide space for both types of breadcrumbs by using the '' | ||
breadcrumbs.txt · Last modified: 2021-10-02 19:41 by -PSi-