目錄表
translating
足跡 Breadcrumbs
足跡種類 Breadcrumb Types
DokuWiki 可以顯示兩種足跡:追蹤式和階層式。
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 trace:»
.
The number of tracking breadcrumbs to be shown can be set with the breadcrumbs option.
Hierarchical Breadcrumbs
Hierarchical breadcrumbs are common in typical CMS driven sites with deep navigation structures. If your wiki features strict hierarchical namespaces, you might want to use these bookmarks. When enabled they are prefixed with the words You are here:
.
Hierarchical breadcrumbs can be enabled with the youarehere option.
Development
The breadcrumbs ares stored in the user session. Template developers should make sure to provide space for both types of breadcrumbs by using the tpl_breadcrumbs()
and tpl_youarehere()
functions.
Problems
By setting some options in the php.ini file, breadcrumbs doesn't work anymore - it shows only the last visited page, not the requested 10 pages. After removing the php.ini, everything works fine. [Dani, 2008-09-13]