2 Jun
2002
2 Jun
'02
5:51 a.m.
Stuart Bishop wrote:
<dtml-var standard_html_header> <dtml-var "banner_ad('car_ad')"> My content </dtml-var standard_html_footer>
becomes
<html metal:use-macro="here/standard_template.pt/macros/page> <body> <div tal:replace="python: here.banner_ad('car_ad')">Banner Ad</div> <div metal:fill-slot="body"> My content </div> </body> </html>
I think those 2 <div> tags in the ZPT example need to be switched, so the banner add div is inside the fill-slot div, since that's part of the content you want inserted into the standard template. Barry