Hi all,
I'm having a problem here. I have some modules set to show on home page. All working good. But there comes a problem, that I open the search page, those modules for home page are showing on search page!
I did some research, that the route gets reset. I echo $this->request->get['route'] on search.php, it shows product/search. But the header.php would echo common/home. So the route must be lost and reset some where, but I can't locate it. I think this the reason why those home page modules are showing on search page.
Anyone could give me some hints where should I look at? Thanks!
You can go to the admin > System > Settings > Edit your store > tab Store > set Default Layout to Default.samchen945 wrote:Hi all,
I'm having a problem here. I have some modules set to show on home page. All working good. But there comes a problem, that I open the search page, those modules for home page are showing on search page!
I did some research, that the route gets reset. I echo $this->request->get['route'] on search.php, it shows product/search. But the header.php would echo common/home. So the route must be lost and reset some where, but I can't locate it. I think this the reason why those home page modules are showing on search page.
Anyone could give me some hints where should I look at? Thanks!
http://www.viethemes.com - OpenCart turtorials, news, tips and stricks, extension
Our extensions:
Visual Theme Editor - Powerful tool for customizing style of any theme visually
Live Theme Editor - Customize layout, colors, backgrounds, fonts of the default theme
Theme Animation - Animation Editor for any theme
Extra Positions PRO, Custom JavaScript, Custom CSS and others
Who is online
Users browsing this forum: No registered users and 11 guests