Gregor Purdy - Software - Crumble Zope DTML Method

Home : Gregor : Software : Crumble Zope DTML Method

Crumble implements breadcrumbs as a Zope DTML Method.

Breadcrumbs (also called Bread Crumbs) are bits of text with links, usually near the top of a web page, that identify the location of the current document within a hierarchical structure by referring to the documents from the top level down through the hierarchical structure to the current document.

For example, breadcrumbs that looked like this: "Root :: Pomp :: Circumstance" would indicate that the current document can be reached from the root by navigating through "Pomp" and then to "Circumstance".

Typically, each breadcrumb except the final one is a link to the document it represents.


Version 1.0 (2003-04-30)

Originally from http://www.zope.org/Members/lstaffor/Breadcrumbs, but heavily modified by Gregor N. Purdy <gregor@focusresearch.com>.

Uses the three properties crumbname, crumblink, and crumbsep:

crumbname
If present and empty for a folder, the folder is omitted from breadcrumb processing. If present and nonempty, the value is used instead of the folder's ID or Title. If it is not present, then the folder is included in the breadcrumbs, and the folder's ID or Title is used as the name of the crumb.
crumblink
If absent, a link for the crumb is automatically built. If present and empty, no link is assigned to the crumb. If present and nonempty, its value is used as the link.
crumbsep
If present (typically on the root node), determines the separator that will appear between crumbs. If not present, the default separator of "::" will be used.

: 2005-12-03 16:31:39 -0800 (Sat, 03 Dec 2005) $