Wednesday 15 December 2004 1:32:41 pm
Hi, In ezp, this is possivel : 1) programming ezp templates 2) extending ezp (php programming) 3) combining both
--------------------------------------------------- I will try to give you a briefing using #1 option
a) Override the full view template of a folder ( i.e: the folder under which you are storing the custom objects you want to filter in) to include your search or filter form
b) Submit the form to itself c) Use ezp ezhttp template operator http://ez.no/ez_publish/documentation/reference/template_operators/data_extraction/ezhttp
to get the value posted ( i.e: the cities' code ) d) Call ezpublish data extraction function 'fetch' http://ez.no/ez_publish/documentation/reference/data_fetching
and pass the values got in c) as filter_attribute parameter value
e) list the results (here you can reuse the listing code already in place)
f) override google navigator template to support multiple page result navigation (only need it if listing extend over multiple pages)
Lazaro
http://www.mzbusiness.com
|