> A good trick to look at is the breadcrumbs code which can be found at:
> http://code.google.com/p/tg-breadcrumbs/
>
> Basically this digs a breadcrumb trail out of CherryPy and provides it
> as a list.
>
> To get this going:
> 1) download the breadcrumb.py and put it in your project folder.
> 2) import it in your root controller (and only your root controller).
> 3) adjust your master template to pick up the supplied list and
> display it.
>
> Point to note: Just importing breadcrumb.py (once) is enough for it to
> patch itself into TG so that it is called for every page.
>
> When I finally discovered this I thought it was amazingly neat and the
> sort of thing I intuitively knew ought to be possible but did not
> expect to actually find!


Thanks very much for the info, I'll take a look!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to