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

Stephan Richter srichter at cosmos.phy.tufts.edu
Thu Oct 7 10:25:24 EDT 2004


On Thursday 07 October 2004 09:30, Florian Lindner wrote:
> >It selects the first one found. But I would consider it bad programming,
> > if you have a macro defined twice.
>
> But the rotterdam skins defines the page macro twice:
>
> in template.pt registered as skin_macros and in view_macros.pt
> registered as view_macros.
>
> Since macro_pages is defined as
> macro_pages = ('skin_macros', 'view_macros', 'dialog_macros',  
> 'navigation_macros')
>
> is the macro from view_marcos ever been choosen?

Right. In fact, now that I look at it, view_macros.pt is total decoy and 
should be removed.

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