[ZPT] Editing Expanded Macros

Robert Rottermann robert@redcor.ch
Thu, 18 Oct 2001 21:10:49 +0200


I have the impression that I can not unexpand macros after I have expanded
them. So I am careful to untick the respective box when I create a new
template.
However a feature as described below seems to be extremely useful. Provided
I can unexpand the source after clearing the switch.

Robert
----- Original Message -----
From: "Michael R. Bernstein" <webmaven@lvcm.com>
To: <zpt@zope.org>
Cc: "Evan Simpson" <evan@zope.com>
Sent: Thursday, October 18, 2001 8:06 PM
Subject: Re: [ZPT] Editing Expanded Macros


> On Tue, 2001-10-16 at 09:27, Michael R. Bernstein wrote:
> >
> > I've been playing with macros a bit, and it occurs to me that while it
> > is a great safety feature to ignore edits to expanded macros in the page
> > templates that use them, this really ought to be a switchable behaviour.
> >
> > In other words, I'd like to be able to add a metal:edit-expanded="allow"
> > statement to the macro definition in order to facilitate rapid
> > development (edits to the expanded macro are applied to the macro
> > definition), and then remove the statement when I want to lock the macro
> > down.
> >
> > Alternatively, this could be a checkbox in the ZMI, but I think I like
> > the attribute better.
> >
> > Does this make sense to anyone else?
>
> No feedback on this suggestion yet either.
>
> Approppriate responses could include:
>
> a) Woo-hoo! You da Man!
>
> or:
>
> b) Dude, You suck. Your idea sucks. You suck so much I'm embarrased to
> belong to the same species as you. You emit more suckage that an entire
> galaxy of suck. Black-hole suck... etc. :-)
>
> Cheers,
>
> Michael.
>
>
> _______________________________________________
> ZPT mailing list
> ZPT@zope.org
> http://lists.zope.org/mailman/listinfo/zpt
>