[Zope] images in trees.

Ethan Fremen mindlace@majordomo.net
Thu, 23 Sep 1999 17:03:50 +0100


I may be overlooking the obvious, but what am I doing wrong here?

<dtml-tree content branches_expr="objectValues(['Folder', 'DTML
Document'])" sort=order >
<dtml-if expr="meta_type == 'Folder'">
	<dtml-var title_or_id>
<dtml-else>
	<dtml-if expr="id == 'fozcoa'"><dtml-var fozgif></dtml-if>
	<dtml-if expr="id == 'cnart'"><dtml-var cnartgif></dtml-if>
[snip stuff that generates URL]
	<dtml-var title_or_id></a>

The tree displays, but I cannot get the images (fozgif & cnartgif) to
display. There is a document inside content with the id fozcoa and
another with the id cnart.
-- 
~mindlace