[Zope] Plone Macro Madness

D. Bickle dbickle at uvic.ca
Wed Mar 10 18:42:52 EST 2004


Hi All,
I am using Plone to provide the look and feel for my application. When I
embed the page macros in a html file Zope
renders the macros wonderfully. However when I use a Python script to
generate html using print statements it doesn't appear to be working.

The code looks something like this:
print '<html metal:use-macro="here/dialup_template/macros/dialup"></html>'

Then some more dynamic HTML in Python....

print '<div class="footer"
metal:use-macro="here/footer/macros/portal_footer">Footer</div>'
return printed

Any suggestions?

Thanks in advance.





More information about the Zope mailing list