sudhakar1209 Posted March 21, 2013 Share Posted March 21, 2013 I cant get the layered navigation block on the homepage of my website, my prestashop version 1.5 how it is please help me Link to comment Share on other sites More sharing options...
Alex Simonchik BelVG Posted March 21, 2013 Share Posted March 21, 2013 Hi, standart module "blocklayarednavigation" works only on catalog pages Regards 1 Link to comment Share on other sites More sharing options...
sudhakar1209 Posted March 21, 2013 Author Share Posted March 21, 2013 How to set category page as a home page in prestashop 1.5 example http://disbeit.com/leepstore/index.php?id_category=3&controller=category'>http://disbeit.com/leepstore/index.php?id_category=3&controller=category above link is category page http://disbeit.com/leepstore/index.php i need all category products display in home page how is it please help me Link to comment Share on other sites More sharing options...
Alex Simonchik BelVG Posted March 21, 2013 Share Posted March 21, 2013 (edited) I think you can override indexController.php with code from CategoryController.php. Or make redirect into IndexController (also with override), something like this: public function initContent() { Tools::redirectLink("http://belvg.net/simonchik/prestashop1531/index.php?id_category=37&controller=category&id_lang=1"); /* parent::initContent(); $this->context->smarty->assign('HOOK_HOME', Hook::exec('displayHome')); $this->setTemplate(_PS_THEME_DIR_.'index.tpl'); */ } Edited March 21, 2013 by Alexander Simonchik (see edit history) Link to comment Share on other sites More sharing options...
sudhakar1209 Posted March 21, 2013 Author Share Posted March 21, 2013 OK its good but here we can send one category id so i need display all products Link to comment Share on other sites More sharing options...
sudhakar1209 Posted March 21, 2013 Author Share Posted March 21, 2013 Ok but no need to url display like http://disbeit.com/leepstore/index.php?id_category=3&controller=category'>http://disbeit.com/leepstore/index.php?id_category=3&controller=category display only like http://disbeit.com/leepstore/index.php please help me Link to comment Share on other sites More sharing options...
Alex Simonchik BelVG Posted March 21, 2013 Share Posted March 21, 2013 (edited) Then you can use the first way: I think you can override indexController.php with code from CategoryController.php. Edited March 21, 2013 by Alexander Simonchik (see edit history) Link to comment Share on other sites More sharing options...
sudhakar1209 Posted March 21, 2013 Author Share Posted March 21, 2013 yes alexandaer correct please tell me Link to comment Share on other sites More sharing options...
Alex Simonchik BelVG Posted March 21, 2013 Share Posted March 21, 2013 I am sorry, but i don't understand last post Link to comment Share on other sites More sharing options...
sudhakar1209 Posted March 21, 2013 Author Share Posted March 21, 2013 how to override indexController.php with code from CategoryController.php. and override index.tpl also how Link to comment Share on other sites More sharing options...
Alex Simonchik BelVG Posted March 21, 2013 Share Posted March 21, 2013 (edited) Read this article: http://blog.belvg.co...our-module.html . It describe how to make override properly. Edited March 21, 2013 by Alexander Simonchik (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts