[ZPT] customisations get reverted

Michael Twomey michael.twomey@sun.com
12 Dec 2001 17:30:50 +0000


I think you've run into the "expand templates when editing" issue I
bumped my head off once or twice. For example if you are editing
index_html it includes main_template and expands it. So you can edit
parts which are generated from the main_template but of course are never
saved since they aren't in the actual content of index_html. It can be a
bit confusing sometimes to know which parts are "generated" and which
are actually part of the document. Of course if this isn't the problem I
would love to know what makes my changes occasionally disappear too :)

mick

On Wed, 2001-12-12 at 08:09, Matthew Hawkins wrote:
> I'm having a small problem building a site with ZPT.  In the Zope
> management interface, if I pick a zpt object and "cutomise" it, I get a
> copy in the Custom folder and can edit it.  I can save the modified
> copy, and it says "Saved Changes" with the time stamp.  Sounds good,
> right?
> 
> So when I view the apparently modified site, the changes are not
> reflected at all, and if I go back to the management interface, the
> customised file has been reverted back to the original version.
> 
> Please tell me I'm not going crazy, I'm just going about customisation
> the wrong way!  What is the correct procedure?
> 
> Thanks,
> 
> -- 
> Matt
> 
> _______________________________________________
> ZPT mailing list
> ZPT@zope.org
> http://lists.zope.org/mailman/listinfo/zpt
-- 
Michael Twomey
These opinions are my own and do not represent Sun unless otherwise
stated.
Sun Microsystems, Dublin, 8199164, x19164
"Fly my little Makefiles! Fly!"