How do I remove JM Slideshow from category pages?

Hi Guys,

How do I remove the Slideshow from category pages in JM Methys template?
I only want it to show on the homepage.

Thanks!
Ray

2 answers

Profile photo of chavan 100.00 $tone May 16, 2011
Public

Open .phtml files in app\design\frontend\your_store\your_templatetempl ate\page and change this code:

Code:

<?php if ($this->getChildHtml('slideshow')) : ?>
<!-- JM SlideShow -->
<div id="ja-slideshow" class="wrap">
	<div class="main clearfix">
		<div class="main-inner1 clearfix"><div class="main-inner2 clearfix">
			<?php echo $this->getChildHtml('slideshow') ?>
		</div></div>
  </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">
		<div class="main-inner1 clearfix"><div class="main-inner2 clearfix">
			<?php echo $this->getChildHtml('slideshow') ?>
		</div></div>
  </div>
</div>
<!--[if IE 7]>
	<br class="clear" />
<![endif]-->
<!-- //JM SlideShow -->
<?php endif; ?>
<?php endif; ?>
#1

This question is now closed

Written By

Comments