[Zope-CMF] Re: Proposal for hooking rendering

Sidnei da Silva sidnei at enfoldsystems.com
Wed Nov 30 15:26:49 EST 2005


On Wed, Nov 30, 2005 at 08:24:56PM +0100, Dieter Maurer wrote:
| Paul Winkler wrote at 2005-11-30 10:33 -0500:
| > ...
| >When you customize a FSPageTemplate, you get a plain ZopePageTemplate.
| >So you'll need to find a way to post-process the output of those
| >without requiring a change to core Zope, or this becomes a Zope
| >proposal.  Unfortunately I haven't a clue how you could avoid that.
| 
| Instead, you change the "makeZODBClone" (or similar method)
| of "FSPageTemplate" and create a (new) "CMFPageTemplate".
| (rather than a plain "ZopePageTemplate").
| 
| This would be a good thing (not only in the light of Paul's
| proposal) as a plain "ZopePageTemplate" behaves too differently
| from a "FSPageTemplate" (i.e. it is not "Caching Policy Manager" aware).

But then again, neither is FSImage/FSFile and OFS.Image/OFS.File.

-- 
Sidnei da Silva
Enfold Systems, LLC.
http://enfoldsystems.com


More information about the Zope-CMF mailing list