DokuWiki

It's better when it's simple

使用者工具

網站工具


zh-tw:breadcrumbs

FIXME translating

足跡 Breadcrumbs

在 DokuWiki 中你不會迷路,因為你總是留下一些麵包屑1)(足跡)讓你可以找到回頭的方向。不過不像童話故事2), DokuWiki 裡並沒有鳥 ;-)

足跡種類 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]

1)
麵包屑,格林童話「糖果屋」中 Hänsel 在被帶往森林的路上灑下麵包屑以便晚上找到回家的路。
zh-tw/breadcrumbs.txt · 上一次變更: 2017-11-20 19:55 由 fanktu

若無特別註明,本 wiki 上的內容都是採用以下授權方式: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki