On Sep 15, 2009, at 1:07 PM, Guilherme Salgado wrote:

I think I want to define an attribute on the view to provide the last
breadcrumb. I looked at Hierarchy and see that the +value is coming from the URL, not an object. Can we mark the view with a interface, or claim
it implements IBreadcrumb to provide the text attr?

The page_title

Right. Salgado and I talked about that during his review of my branch. I'd forgotten about that. Setting page_title (which is generally not necessary except in some corner cases) would set the last component of the breadcrumbs. You actually need to also set override_title_breadcrumbs=True in your view for the page_title to be used completely instead of your breadcrumbs.

-Barry

Attachment: PGP.sig
Description: This is a digitally signed message part

_______________________________________________
Mailing list: https://launchpad.net/~launchpad-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~launchpad-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to