Always bear in mind that anything inside double quotes gets executed as
python.

Therefor, the followign lines are not doing what you intend:
Peter Hernberg wrote:
>         <dtml-if "sequence-index < (numStories - 1)">
>         <dtml-if "sequence-index == 0">

try these instead:
<dtml-if "_['sequence-index'] < (numStories - 1)">
<dtml-if "_['sequence-index'] == 0">

cheers,

Chris

_______________________________________________
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