Sushma Posted June 9, 2012 Share Posted June 9, 2012 I purchased the Slideshow module a few days back. I want it to display just under the top navigation bar on the homepage of www.scrunchh.com. However, when I choose the hook position "top", the slider shows on all the pages. (I disable the current static homepage banner and carousel when i do this) Could you tell me how to display the slider only on the homepage where the current static banner is on www.scrunchh.com? Message me your fee if you'd like to charge for your services. Thanks, Sushma Link to comment Share on other sites More sharing options...
Dustin Posted June 9, 2012 Share Posted June 9, 2012 in yout tpl file put {if $page_name == 'index'} in the first line and close in the last line {/if} Link to comment Share on other sites More sharing options...
jhnstcks Posted June 9, 2012 Share Posted June 9, 2012 in yout tpl file put {if $page_name == 'index'} in the first line and close in the last line {/if} The problem with doing this, is that the module is still called, so all the javascript, html or php is still being parsed on the page, which will slow it down., it's like using display:none in css, its still there just not displayed. Why not hook it onto the home hook and use css to position it where you want, then it will only be displayed there. 1 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