[Zope] Help on ZCatalog
Stuart 'Zen' Bishop
zen@cs.rmit.edu.au
Mon, 18 Oct 1999 11:05:32 +1000 (EST)
On Sun, 17 Oct 1999, Kevin Dangoor wrote:
> One way to get started with searching a ZCatalog is to create a "Z
> Search Interface". This will give you a search form and a report. The report
> shows you how you can search. Some basic syntax you can use:
>
> <dtml-in "Catalog({artistname: 'Buffett'})">
> ...stuff to display the results...
> <p><a href="<dtml-var "getpath(data_record_id_)">"><dtml-var title></a></p>
> </dtml-in>
>
> You use the getpath function to get the URL of the cataloged object.
I wrote up a How-To yesterday on this topic if anyone needs more pointers.
http://www.zope.org/Members/Zen/howto/AdvZCatalogSearching
___
// Zen (alias Stuart Bishop) Work: zen@cs.rmit.edu.au
// E N Senior Systems Alchemist Play: zen@shangri-la.dropbear.id.au
//__ Computer Science, RMIT WWW: http://www.cs.rmit.edu.au/~zen