You could try moving stuff to the new dtml style for starters:
dtml-var standard_html_header and the like.
That might help, if not let us know..
cheers,
Chris
Gilles Lavaux wrote:
Hello,
I am a little bit disappointed not getting any echo from my previous
question, so I report it.
e: Tuesday, July 04, 2000 12:32 PM
Subject: Re: [Zope-dev] Help needed: why is this DTML not working in zope 2
?
Not an answer, but a question.
b!--#var id--/b
!--#if "_['id']=='PUBLIC_Doc'"--
##
!--#try--
!--#var "_[_['id']]"--
!--#except--
Gilles Lavaux wrote:
But I found something: In my 'PUBLIC_Doc' document I display image with a
!--# var image_name-- tag, my problem disappear if I use
!--#var "image_name"--, someone can explain this??
Are you sure the space after the # isn't your problem?
I would STRONGLY recommend
[EMAIL PROTECTED]
To: Gilles Lavaux [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED] [EMAIL PROTECTED]
Date: Tuesday, July 04, 2000 1:33 PM
Subject: Re: [Zope-dev] Help needed: why is this DTML not working in zope 2
?
Gilles Lavaux wrote:
But I found something: In my 'PUBLIC_Doc' document I display image
Steve Alexander wrote:
Gilles Lavaux wrote:
Argh!!!
no, I made a typo error : it was !--#var image_name--.the syntax was good.
Ok, I will use the new syntax in my new sites. But for my old site, I will
not modify my ~500 dtml methods, except if there is a way to automate the
Steve Alexander wrote:
An external method for automated change from old syntax to new syntax
follows.
* Use at your own risk
* No warranty implied or given
* Use on a copy of your main Zope site
* Back up data.fs three times before starting
* Not guarenteed not to spin your