[daisy] Breadcrumbs in wiki
Paul Focke
paul at outerthought.org
Wed Oct 25 10:04:48 CDT 2006
Bogguard wrote:
> Hello,
>
> i was wondering if it was possible to add breadcrumbs in the top of every page
> so you can easily navigate back from where you came from?
>
> With kind regards,
> Bogguard
Hi,
It all depends on what you understand under the term breadcrumbs. If
you just wish to display all the parents of the current active
navigation node then its just a question of running the navigation tree
through some xsl templates.
You would start by editing the layout.xsl. There you have a variable
'navigationTree'. To know what the current active node is just do a
select of $navigationTree//n:doc[@active='true'].
If you really want to show the last n pages visited then that's a
question of displaying the browser history, which might be done using
some javascript. Of course you could also just use the back button ;-)
Paul
More information about the daisy
mailing list