Wednesday 04 May 2005 7:20:16 am
Hi, in need of a similar function.. we need to search various classes but this search can also me multiple attributes. I tried the following script that obviously didn´t work: <form action={"/content/advancedsearch/"|ezurl} method="get">
<input type="hidden" name="Content_search_attribute_fulltext_classattribute_id[]" value="9" /> <input type="text" name="Content_search_attribute_fulltext_value[]" value="{$search_array_by_class_attribute_id['9']['value']}" />
<input type="hidden" name="Content_search_attribute_fulltext_classattribute_id[]" value="431" /> <input type="text" name="Content_search_attribute_fulltext_value[]" value="{$search_array_by_class_attribute_id['431']['value']}" />
name="SearchText" id="Search" value="" />-->
<input class="searchbutton" name="SearchButton" type="submit" value="Search" />
<input type="hidden" name="SearchContentClassID[]" value="4" />
<input type="hidden" name="SearchContentClassID[]" value="29" /> </form>
what i'm basically trying to do is tell ez to search my user class based on the attribute_id= 9 and my persons class on the attribute_id= 431 More or less let users perform multi-attribute and multi-class searches.
http://www.solobromasychistes.com <<Joomla Site :P
http://www.recipesforhealthyfood.com/ <<Drupal Site :P
http://www.ezforge.com/ <<future ezCommunity, Articles, forums and more...
|