Jump to content

[solved] Image slider for homepage on displaytop


RetailGUY

Recommended Posts

of course, you can do it in many ways.

  1. go to the modules -> positions
    search for "display top" section, and click on edit button near the homepage slider module
    you will see form with position specification, add exceptions - you have to add all pages there except homepage (index)
  2. second way to modify is a editing module code (template file only) are you ready for it?

  • Like 2
Link to comment
Share on other sites

Hi Vekia

 

Thank you, I would prefer to edit the code, so let do that, though note I am still quite a noob! :)

 

okay, so let the show begin;)

 

go to the:

modules/homeslider//homeslider.tpl file (remember that this file may exists in the theme/modules//homeslider/ directory - if so - you have to edit this file)

 

at the beginning of the file insert this:

{if $page_name == 'index'}

At the end of the file put this:

{/if}

 

 

and that's all :P

poor show :P

  • Like 1
Link to comment
Share on other sites

  • 5 months later...

you can also achieve this with exceptions (proper way!) in modules > positions tab

near the homeslider module click edit button and define exceptions :) you can for example disable modules on all pages, and just enable it on "index" (homepage) only

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...