hi, Is this correct: <dtml-if _.count(_.str(title_or_id),'Bridge',0)> Spam I am. </dtml-if> This is part of a larger loop, that prints all the images in a folder with their titles. I'd like to search the object's title for the word Bridge, even though I know it has it, still it does not print my test phrase. Thanks, j. ...................... ..... Jason C. Leach ... University College of the Cariboo. ..
Look at ZCatalog... cheers, Chris "Jason C. Leach" wrote:
hi,
Is this correct: <dtml-if _.count(_.str(title_or_id),'Bridge',0)> Spam I am. </dtml-if>
This is part of a larger loop, that prints all the images in a folder with their titles. I'd like to search the object's title for the word Bridge, even though I know it has it, still it does not print my test phrase.
Thanks, j.
...................... ..... Jason C. Leach ... University College of the Cariboo. ..
_______________________________________________ Zope maillist - Zope@zope.org 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 )
participants (2)
-
Chris Withers -
Jason C. Leach