[Zope] Page Template: how to reference objects in the folder above this one?
Skip Montanaro
skip@pobox.com
Tue, 5 Nov 2002 13:32:29 -0600
Tino> The problem is, you should not try to 1:1 translate DTML examples
Tino> to ZPT. If you do so, you would undermine its use. Instead of
Tino> assembling a page out of small parts (like DTML does), in ZPT you
Tino> use template pages which look like the resulting page, for example
Tino> like this:
...
Thanks, that helps.
Tino> Then you would start designing an actual content page like this:
Tino> <html metal:use-macro="here/mastertemplate/macros/master">
Tino> </html>
Tino> [x] expand macros when editing and press "Save Changes"
I thought I saw someone else say recently that macro expansion while editing
is vile.
--
Skip Montanaro - skip@pobox.com
http://www.mojam.com/
http://www.musi-cal.com/