Hello,
I am using JM_tyrolite and the slide show is now on every page. I would like it to just show on the frontpage only. Can you tell me which file I have to change? I read the previous forum posts and it explains how to do this on the Methys template, but I couldnt find the file in the JM_tyrolite template. The file order of the tyrolite is a little bit different from the methys template.
Also, how to remove the colors tab on the JM_tyrolite template? In the forum it explains how to disable it using the ja_vars file, but I couldnt find how to remove it off the JM_tyrolite template top menu bar.
Thank you for the reply.
3 answers
I figured out how to remove the color from the main menu. I forgot to clear the cache after changing the ja_vars file.
I still need help on removing the slide show from all the pages except the home page.
Thanks.
Greetings and Happy New Year!
A big thanks for Chavan with this post.
In this JM Tyrolite theme, you kindly go to: \app\design\frontend\default\jm_tyrolitetemplate\ page\2columns-right.phtml
Change:
Code:
<?php if ($this->getChildHtml('slideshow')) : ?> <!-- JM SlideShow --> <div id="ja-slideshow" class="wrap"> <div class="main clearfix"> <?php echo $this->getChildHtml('slideshow') ?> </div> </div> <!--[if IE 7]> <br class="clear" /> <![endif]--> <!-- //JM SlideShow --> <?php endif; ?>
To:
Code:
<?php if($this->getUrl('') == $this->getUrl('*/*/*', array('_current'=>true, '_use_rewrite'=>true))):?> <?php if ($this->getChildHtml('slideshow')) : ?> <!-- JM SlideShow --> <div id="ja-slideshow" class="wrap"> <div class="main clearfix"> <?php echo $this->getChildHtml('slideshow') ?> </div> </div> <!--[if IE 7]> <br class="clear" /> <![endif]--> <!-- //JM SlideShow --> <?php endif; ?> <?php endif; ?>
Hope this helps.
This worked for me on the JM Methys template as well.
This question is now closed