[Zope-CMF] Breadcrumbs
Jeffrey Shell
jeffrey@Digicool.com
Mon, 4 Jun 2001 13:09:19 -0400
In the world of silly internet patents and copyrights, some dire
warning was sent to us a while ago from someone claiming to have
patented or copyrighted the name or concept of "breadcrumbs"... :/
Just FYI.
On Monday, June 4, 2001, at 09:08 AM, Tres Seaver wrote:
>> Perhaps it would be a good idea to add it to the UrlTool -
>> e.g. <dtml-var "portal_url.breadcrumbs()">? A bit more unwieldy to
>> type but it keeps navigational logic in one place and makes that
>> particular tool more useful ;-)
>
> I had rather not make the tool responsible for generating
> presentation; instead, I might add a method to the URLTool:
>
> def listBreadCrumbs( self, context ):
> """
> Return a list of folders up to the CMFSite, suitable
> for generating a "breadcrumbs" list.
> """
> #...
>
> and then add a 'breadcrumbs' DTML method (or PythonScript, but
> I prefer to keep presentation in DTML or ZPT) which called it and
> built the presentation.
>
> Tres.
> --
> ===============================================================
> Tres Seaver tseaver@palladion.com
>
>
> _______________________________________________
> Zope-CMF maillist - Zope-CMF@zope.org
> http://lists.zope.org/mailman/listinfo/zope-cmf
>
> See http://www.zope.org/Products/PTK/Tracker for bug reports and
> feature requests