Post by samchen945 » Sat Jan 31, 2015 12:20 am

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!

Newbie

Posts

Joined
Tue Nov 26, 2013 9:55 pm

Post by viethemes » Sat Jan 31, 2015 10:41 am

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!
You can go to the admin > System > Settings > Edit your store > tab Store > set Default Layout to Default.

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


User avatar
Active Member

Posts

Joined
Thu Jan 08, 2015 12:17 pm

Who is online

Users browsing this forum: No registered users and 11 guests