[ZPT] Different METAL

Peter Bengtsson mail@peterbe.com
Thu, 20 Dec 2001 15:02:54 +0100


In DTML I would do something simple like this:

-- in standard_html_header --
<dtml-if show_simple>
    <dtml-var standard_html_header_simple>
<dtml-else>
    <dtml-var standard_html_header_fancy>
</dtml-if>

How do you do this with metal in the best way?

Currently I use on single object for the header and footer bit. I could in 
that one do some business logic but I really don't want to do that.

Cheers, Peter


PS. not on the list anymore so make sure my email address is returned.