[z3-five] Using Zope2 page templates with Five

Lennart Regebro regebro at nuxeo.com
Mon Jan 24 14:17:51 MET 2005


Thanks to Dieters TrustedExecutable modules, I was able to replace the 
Zope3 page template files in five with trusted Zope2 page template 
files. This has several benefits:

1. Suddenly, i18n works! Horray!
2. We no longer need the pagesFromDirectory statement.

Silvio suggested this before, he told me, and that this was said not to 
be a good idea.

Q1. Could somebody explain why it's not a good idea?

He also suggested that it could be made a runtime ZCML statement which 
type of template you want the page statement to create. I agree with 
this, but I don't know how to make that type of configuration statement.

Q2. Could somebody point me to a statement that does something similar? 
Then I can RTFC and do this.

A discussion on whether this is a good path forward or not would be 
good. I'm certainly much more happy with this possibility.

-- 
Lennart Regebro, Nuxeo     http://www.nuxeo.com/
CPS Content Management     http://www.cps-project.org/


More information about the z3-five mailing list