8 Feb
2005
8 Feb
'05
10:42 a.m.
michal wrote:
But what I need is some dynamical handling of URL. I would like be able to handle URLs like:
jcc wrote:
Certainly. Look for traversal_subpath (Python scripts), simple result traversal/pluggable brains (ZSQL methods), and __bobo_traverse__ (Products).
traverse_subpath is also available in ZPT, and ot cover michal's example, I'd have a page template called 'books' starting with something like: <html tal:define="book_id python:traverse_subpath and traverse_subpath[0] or None"> cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk