Forums / Setup & design / how to do a search box
abdalla chakik
Monday 25 July 2005 11:04:36 pm
hi all,i have done a new module in ez publish,this module can connect to an external database and chow the informaion in the databsa to the users(like name and id and.....).i want to add a search box in this module to search into the information that contain my new module page(search box in the page).i try to add the code:
my module url is: http://127.0.0.1/index.php/cciat_admin/mymodule/list -------------------------- <form action={"/mymodule/list/advancedsearch/"|ezurl} method="get"> Search in folder description: <input type="hidden" name="Content_search_attribute_fulltext_classattribute_id[]" value="2" /> <input type="text" name="Content_search_attribute_fulltext_value[]" value="{$search_array_by_class_attribute_id['2']['value']}" /> <input type="submit" value="Search" name="SearchButton"> </form> ------------------- but when i click on the serch button the same page reload.(http://127.0.0.1/index.php/cciat_admin/mymodule/list).anyone can help me???and thanks