Jump to content

Would like to display the image slider on all pages


Recommended Posts

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 by NewAtThis (see edit history)
Link to comment
Share on other sites

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...