NewAtThis Posted March 13, 2015 Share Posted March 13, 2015 (edited) Hello! My image slider is only displaying on my home page. I want it on all pages. I've hooked it into displayTop, and I've removed the line of code from homeslider.tpl that says {if $page_name =='index'} ... {/if} I'm using the 1.6 default bootstrap theme, and my site address is imh.mythatsgood.com Does anyone know how to fix this? Thanks. Steven. Edited March 13, 2015 by NewAtThis (see edit history) Link to comment Share on other sites More sharing options...
NewAtThis Posted March 13, 2015 Author Share Posted March 13, 2015 Ok, here is the answer I found, and it seems to work. In addition to removing the {if $page_name =='index'} ... {/if} statements from homeslider.tpl, it is also necessary to remove the line if (!isset($this->context->controller->php_self) || $this->context->controller->php_self == 'index') return; from /modules/homeslider/homeslider.php . That line is in there twice. Delete it both times, including the "return;" that might have wrapped to the following line. Thanks. Steven. 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