NAME
WE_Frontend::Plugin::Breadcrumb - insert a "breadcrumb"
SYNOPSIS
my $t = Template->new({PLUGIN_BASE => "WE_Frontend::Plugin"});
[% USE Breadcrumb %]
[% Breadcrumb.out() %]
DESCRIPTION
Create a HTML breadcrumb.
METHODS
- out()
-
Format and output a breadcrumb for the current object id. The following classes are used:
-
the overall breadcrumb (in a <span> element)
- breadcrum_link
-
links in the breadcrumb
The links are masked with <noindex> to help htdig.
-
TODO
Make the breadcrumb output customizable by using "mini-templates"
show only parts of the breadcrumb list
optimize the "doc-is-folderhead" case (by not showing the last component of the breadcrumb in this case)
AUTHOR
Slaven Rezic - slaven@rezic.de