[Zope3-dev] Re: Question about skins (standard_macros)

Stephan Richter srichter at cosmos.phy.tufts.edu
Thu Oct 7 09:09:51 EDT 2004


On Thursday 07 October 2004 08:46, Florian Lindner wrote:
> > From my understanding, 'standard_macros' is a name that holds macros
> > defined in 'standardmacros.py'. The names in the 'macro_pages' tuple
> > are configured in 'configure.zcml'. I might be wrong, though.
>
> I already thought something like that. But how does Zope knows which
> macros out of the macro_pages to pick?

It selects the first one found. But I would consider it bad programming, if 
you have a macro defined twice.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training


More information about the Zope3-dev mailing list