[Zope] concatenate in dtml?

hans hans@beehive.de
Wed, 22 May 2002 10:29:37 +0100


Bill Kerr wrote:

> I want to put something like this in an index_html method:
>
> <dtml-if absolute_url & /Pics>
> <dtml-var picDisplay>
> </dtml-if>
>
> error message: Invalid attribute name, "&", for tag <dtml-var absolute_url &
> /Pics>
>

<dtml-if "absolute_url() + '/Pics'">

> how could it be implemented?
>
> then I can have some folders with a Pics subfolder and some without and it
> is all managed by a single index_html in the root folder.
> - Bill Kerr

-------------------------------------------------------------
Who's got only a hammer sees the world as a nail
hans augustin  (software developer)           hans@beehive.de
beehive elektronische medien GmbH       http://www.beehive.de
phone: +49 30 847-82 0                  fax: +49 30 847-82 299