A pluggable breadcrumbs implementation based on adapters.
Project description
The z3c.breadcrumb package provides base classes for breadcrumb implementations. It allows you to write adapters for each content object which provides it’s own rules for providing the breadcrumb name, url and selection.
Detailed Documentation
README
The z3c.breadcrumb package provides base classes for breadcrumb implementations. It allows you to write adapters for each content object which provides it’s own rule for providing the breadcrumb name, url and selection.
Let’s do some imports we will use later.
>>> import zope.interface >>> import zope.component >>> from zope.publisher.interfaces.http import IHTTPRequest >>> from zope.publisher.browser import TestRequest >>> from zope.traversing.browser import absoluteURL >>> from zope.container import contained >>> from z3c.breadcrumb import interfaces >>> from z3c.breadcrumb import browser
CHANGES
2.0.0 (2015-11-09)
Standardize namespace __init__
2.0.0a1 (2013-02-27)
Added support for Python 3.3.
Moved zope.app.testing dependency to zope.site.testing.
Moved zope.app.container dependency to zope.container.
Replaced deprecated zope.interface.implements usage with equivalent zope.interface.implementer decorator.
Dropped support for Python 2.4 and 2.5.
1.1.1 (2010-12-12)
Added needed but not declated test dependency on zope.app.container.
Using Python’s doctest module instead of depreacted zope.testing.doctest.
1.1.0 (2009-05-29)
Feature: Added ability to register a Null-adapter as a breadcrumb. A null-breadcrumb will cause the item not to be displayed in the breadcrumbs.
1.0.3 (2008-12-13)
Bug: Fixed IBreadcrumbs to match implementation.
Clean up dependencies.
1.0.2 (2008-01-23)
Bug: Fixed the package’s long description.
Feature: Use the correct DocFileSuite class that counts tests properly.
1.0.1 (2007-01-21)
Bug: Test coverage brought up to 100%.
Feature: Register default IBreadcrumbs adapter.
Bug: Default IBreadcrumbs stops only on virtual host root, not on ISite object
1.0.0 (7/10/2007)
Initial Release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.