tiagosilva Posted July 20, 2010 Share Posted July 20, 2010 Its possible move search module for Homepage content, look at imagem..Or have anyone module of search can i add in this location...I send imagem for help what i want... Link to comment Share on other sites More sharing options...
razaro Posted July 20, 2010 Share Posted July 20, 2010 Add to blocksearch.php this code function hookHome($params) { global $smarty; $smarty->assign('ENT_QUOTES', ENT_QUOTES); $smarty->assign('ajaxsearch', intval(Configuration::get('PS_SEARCH_AJAX'))); return $this->display(__FILE__, 'blocksearch-top.tpl'); } And then go to Back Office >> Modules >> Positions And transplant Search module to homepage, and move it to first place in list. Link to comment Share on other sites More sharing options...
tiagosilva Posted July 21, 2010 Author Share Posted July 21, 2010 I insert the code, but did not appear in the list of modules Homepage Content..Look at image. Link to comment Share on other sites More sharing options...
razaro Posted July 21, 2010 Share Posted July 21, 2010 And then go to Back Office >> Modules >> Positions And transplant Search module to homepage, and move it to first place in list. Did you do this as well ? Link to comment Share on other sites More sharing options...
tiagosilva Posted July 21, 2010 Author Share Posted July 21, 2010 how i transplant Search module to homepage? Link to comment Share on other sites More sharing options...
razaro Posted July 21, 2010 Share Posted July 21, 2010 Go to Back Office >> Modules >> Positions and click on Transplant module (image 1).Then next to Module from drop-down choose Quick search block and next to Hook into choose Homepage content.(image 2)Click on save . Link to comment Share on other sites More sharing options...
tiagosilva Posted July 22, 2010 Author Share Posted July 22, 2010 Now is ok, work good..But now i have last question, when i click anyone word to search, after show the results, results in the search box disappears.Have possibility to make this search box always available, even after showing the results? 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