[Zope] AccessRule rewriting for queries

Evan Simpson evan@4-am.com
Thu, 15 Mar 2001 11:43:09 -0500


From: Joel Burton <jburton@scw.org>
> 1) is this terribly evil? is my site going to catch on fire one day
> because of this?

No, it's pretty tame, really.  Other sites do this sort of thing with Apache
RewriteRules.

> 2) my breadcrumbs no longer work. I'm using one of the standard breadcrumb
> tips that runs off PARENTS, and it only shows 'Home > Authors', not
> 'Home > Authors > Plath' (which makes sense--Plath isn't on the PARENTS
> list.)

This is just off the top of my head, but you might be able to use
REQUEST.steps instead of PARENTS.  It is a list of names traversed by the
publisher.

Cheers,

Evan @ digicool & 4-am