redomino.breadcrumbsbrain 0.4

Breadcrumbs for brains
redomino.breadcrumbsbrain contains a useful set of browser view that let you add breadcrumbs to catalog brains.

This is not a standalone package. If you want you can call the breadcrumbs_renderer view provided by this package (for example you can insert this code into the template):

< tal:block tal:replace="structure result/@@breadcrumbs_renderer|nothing" / >

This way you will be able to display where your search results items are placed.

Many thanks to AUSL Bologna.

Technical details

- redomino.breadcrumbsbrain.interfaces.IBrain This is a marker interface applied to all brains

- @@breadcrumbs_view This is a browser view with a method named breadcrumbs. Once called it will return the breadcrumbs info for a particular brain. No getObject is needed, just a catalog call for each brain. Note well: if you want to use this browser view intensively you should STRONGLY consider to add a cache policy (it is not provided by default).

 Data format returned:

 {'Title': 'News'),
 'absolute_url': 'http://localhost:8080/Plone/news'
 {'Title': '2011'),
 'absolute_url': 'http://localhost:8080/Plone/news/2011'

- @@breadcrumbs_renderer This is a browser view that let you show the breadcrumbs info of a particular brain.

 Data format displayed:

 News -> 2011

last updated on:
July 17th, 2012, 21:05 GMT
developed by:
Davide Moro
license type:
GPL (GNU General Public License) 
ROOT \ Internet \ Plone Extensions
Download Button

In a hurry? Add it to your Download Basket!

user rating



Rate it!
What's New in This Release:
  • Fix template for duplicates ids [sithmel]
read full changelog

Add your review!