[Zope-CMF] Disable default Mcros Expand in ZPT...

Brad Clements bkc@murkworks.com
Mon, 21 Jan 2002 12:20:06 -0500


On 21 Jan 2002 at 10:54, Tres Seaver wrote:

> Perhaps page templates need an
> "unexpand" method?  (Hmm, that would depend a lot on the
> macro used to expand the template;  I don't know if a good
> general solution exists).

This has been talked about before and I thought you had said that un-expand would be 
in a future release (thought that was mentioned last summer, even)

> I am CC'ing the ZPT list in case somebody there has more zen
> about the idea of unexpanding.

shucks, I was counting on someone at DC to have this zen, I couldn't figure it out.

--

I've found that I'm putting together pages based on multiple nested macros. Each 
macro is enclosed in a simple <html><head></head><body> .. so that they may 
individually be previewed in the editor.

So unexpanding should probably be a one-off process, not a permanent selection 
because after un-expanding those templates that were accidently expanded, I'd stick 
back in the needed <html><head> stuff.


Brad Clements,                bkc@murkworks.com   (315)268-1000
http://www.murkworks.com                          (315)268-9812 Fax
netmeeting: ils://ils.murkworks.com               AOL-IM: BKClements