Re: [Zope] Proper way to do a search.

2000-11-01 Thread Chris Withers

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  -  [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 )

___
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 )




[Zope] Proper way to do a search.

2000-10-31 Thread Jason C. Leach

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  -  [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 )