mohamedali Posted February 26, 2014 Share Posted February 26, 2014 (edited) $this->context->smarty->assign('HOOK_HOME', Hook::exec('displayHome')); where to fine the $displayHome contents please help.. i need its location.. i have to cut default slider from index and put common for all pages. so i need the code inside the $displayHome.. Edited February 26, 2014 by mohamedali (see edit history) Link to comment Share on other sites More sharing options...
innercode Posted February 26, 2014 Share Posted February 26, 2014 It's a hook, so it will execute modules that are assigned to it. If you are asking in which file is HOOK_HOME, then it's in index.tpl, but it won't help. Even if it would it is not a good solution because other modules that were assigned to this hook will be shown on all pages. It's better to hook it to the top (header). You will need to modify a module, make it hookable to page header, and theme's styles a little. 1 Link to comment Share on other sites More sharing options...
mohamedali Posted February 26, 2014 Author Share Posted February 26, 2014 thanks for your answer... i found a module from http://mypresta.eu/modules/slider-slideshow/homeslider-on-top.html. and i got what i need.. nw i understand about hook... now i have to move the quick search module to the page center for home page,product list,product details. if you have any idea please help. i am new to ps.. Link to comment Share on other sites More sharing options...
Harsh.daffodil Posted February 26, 2014 Share Posted February 26, 2014 register it for hook_home by going to blocksearch.php in modules/blocksearch folder in ur prestashop then manage the position from backend and css 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