[z3-five] (re)using zpt macros from view page templates
Rocky Burt
rocky at serverzen.com
Tue Jan 30 15:54:14 CET 2007
On Tue, 2007-30-01 at 15:24 +0100, Lennart Regebro wrote:
> On 1/29/07, Chris Withers <chris at simplistix.co.uk> wrote:
> > Lennart Regebro wrote:
> > > Seriously though: It's hard to override,
> >
> > What do you mean by that?
>
> What I mean is that if you want to override that macro in another
> product, for say a customer site, you will have to monkey-patch it. If
> you instead register the macro so it becomes a view, it's easy to
> override.
Right, by specifying an override either in overrides.zcml (zope >= 2.8)
or providing a local adapter (zope >= 2.10).
- Rocky
--
Rocky Burt
ServerZen Software -- http://www.serverzen.com
News About The Server (blog) -- http://www.serverzen.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://codespeak.net/pipermail/z3-five/attachments/20070130/1c4762ce/attachment-0001.pgp
More information about the z3-five
mailing list