Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.
- Index
- » MetaMod
- » MetaMod General Support
- » Need to remove my slideshow from...
Need to remove my slideshow from mainpage
Need to remove my slideshow from mainpage
Hello,
In the past I have used MetaMod with success but today I have tried to hide my slideshow / banner from all pages except the front page with no success. I'm using VirtueMart as my Front page and I'm using this code:
$vm = JomGenius("virtuemart"); // need this at the start of every rule
if ( $vm->check( "pagetype = frontpage" ) ) return 94;
In my front page it appears as expected but on the other pages the text disappears but the images stay there. You can check it here:
http://www.reinodosanimais.pt/ - Main site (normal behavior)
http://www.reinodosanimais.pt/index.php/gatos - The slideshow shouldn't appear but as you can see the text is gone but the images stay there.
Any help? Thank you.
Cleon
Re: Need to remove my slideshow from mainpage
Hi Cleon,
I just looked at the 2 versions of the page. I can see the difference. The background image is set in place with a div:
<div class="ot-banner-i">
</div>
When the module is enabled, the module includes the extra text inside this:
<div class="ot-banner-i">
<div class="custom" >
<div class="ot-banner-left">
<div class="ot-bannerleft-title">Free delivery to your door</div>
<div class="ot-bannerleft-price">when order over $89.00</div>
<div class="ot-bannerleft-detail"><a href="/index.php/component/content/article?id=25">more detail</a></div>
</div>
<div class="ot-banner-right">
<div class="ot-banner-title"><span>BIG</span> SALE</div>
<div class="ot-banner-save">Save up to 20% on travel items for your pet</div>
<div class="ot-banner-list">
<ul>
<li>Car Safety Harness</li>
<li>Happy Trails Stroller</li>
<li>Original Deluxe Sherpa Bag</li>
</ul>
</div>
<div class="ot-banner-order"><a href="/index.php/component/content/article?id=26">shop now</a></div>
</div></div>
</div>
So it looks like the module is only controlling the text, not the background image. Is the background image set directly in your template? It kind of looks like it. In any case, MetaMod can only control modules. If the HTML is generated outside of a module then it's not able to help.
Hope that clears things up,
Stephen
- Index
- » MetaMod
- » MetaMod General Support
- » Need to remove my slideshow from...
Board Info
- Board Stats:
- Total Topics:
- 1699
- Total Polls:
- 6
- Total Posts:
- 5967
- Total Posts Today:
- 2
- User Info:
- Total Users:
- 8021
- Newest User:
- shrutihassan193
- Members Online:
- 0
- Guests Online:
- 196
- Online:
- There are no members online
Forum Legend:
Topic
New
Locked
Sticky
Active
New/Active
New/Locked
New Sticky
Locked/Active
Active/Sticky
Sticky/Locked
Sticky/Active/Locked