[Kevin Worth]

| <dtml-var expr="_.whrandom.choice(objectValues('Photo'))">
| <dtml-if caption><dtml-var caption></dtml-if>

[,..]

| What am I missing here?

Maybe this will work:

        <dtml-let random_image="_.whrandom.choice(objectValues('Photo'))">
                <dtml-var random_image>
                <dtml-if caption><dtml-var caption></dtml-if>
        </dtml-let>

HTH.

-Morten

_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to