tarek.fellah Posted April 26, 2013 Share Posted April 26, 2013 Hi, I would like to create a module search by reference, i prepared the tpl which is a form, i would like to know how can complete my module correctly: (create the controller? in the module or outside) which code to get the search input value, should i use 2 tpl files (one for the form serach and one for the result ) and i would like that the result will be diplayed in "center_column" and thanks in advance. Link to comment Share on other sites More sharing options...
PascalVG Posted April 27, 2013 Share Posted April 27, 2013 In back office: About searching for things, maybe have a look at /controllers/admin/adminsearchcontroller.php or start your 'search' at header.inc.php and search your files for bo_search_type. For front office, search, look how they do it in block search. This may give you some ideas... My 2 cents, Pascal 1 Link to comment Share on other sites More sharing options...
tarek.fellah Posted April 27, 2013 Author Share Posted April 27, 2013 i would like to know how to get the input value in the controller and should i use 2 tpl files (one for the form and one for the result)? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now