Jump to content

Create module


tarek.fellah

Recommended Posts

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

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

  • Like 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...