--On Dienstag, Mai 14, 2002 23:26:06 -0700 John Schinnerer <johnschinnerer@yahoo.com> wrote:
Aloha,
On Tue, 14 May 2002, Joachim Schmitz wrote: ... Until pagetemplates came around, here I only get the text with all macros expanded. So my question: how do I get the pure unexpanded text of a pagetemplate from a Zope-server back ?
If you mean in the management interface...there is a checkbox, 'Expand macros when editing', in the Edit view of a page template (upper right, just below 'Browse HTML Source' link). Uncheck it and the macros won't be expanded. It is also available in the Properties view of a page template (Name == Expand, a boolean) - and in 2.4.1, it seems to work better in Properties. The Edit view one seems to have some bugs with taking effect right away.
On my Zope-2.5.1 final it has no effect at all. Macros are alway expanded. Mit freundlichen Grüßen Joachim Schmitz -------------------------------------------------------------------- AixtraWare Ingenieurbüro für Internetanwendungen Hüsgenstr. 33a, D-52457 Aldenhoven Telefon: +49-2464-8851, FAX: +49-2464-905163 -------------------------------------------------------------------- Key fingerprint = DA10 CC82 62F8 1DBB 39A1 1EDC 725B 3317 A8D7 C3A6 Keyserver: http://www.keyserver.net/en/