Welcome to the MetaMod and Chameleon Support Forums.

Before posting, please check out the FAQs.



Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.


Configure metamod so that slideshow modules doesn't appear

Configure metamod so that slideshow modules doesn't appear

Joomla Version - 1.5.10
MetaMod Version - 2.2c

I have a site using frontpage slideshow on the the homepage and I'm trying to get it to not show up on other pages, but with no luck. The site is http://m3fireapparatus.com/ and the slideshow doesn't appear depending on how you click links on the site.

If you click browse inventory from the top menu everything works fine, but if you click the browse inventory from the side menu then the slideshow appears. Also, if you click any links in the autostand component from that browse inventory page then the slideshow appears again.

Any suggestions on how to configure metamod to get this working correctly would be appreciated.


Beginner Modder
1 Posts
Administrator has disabled public posting

Re: Configure metamod so that slideshow modules doesn't appear

Hi drogers,

The problem is occurring because the menu on the right ("Browse Inventory") is not putting the correct "Itemid" value on the links. In fact it's not putting any Itemid at all.

Joomla needs the Itemid to work out which page to place modules onto. If it doesn't have one in a link, then typically it places all the modules assigned to "all" pages, plus the ones from the front page, onto that page, even if it's not the real front page.

To prevent this, you could use MetaMod to check several things about the page that is appearing, to see if it should be displayed or not.

The simplest thing is just to check for the Itemid.

To do that, you need to know what the Itemid is for your front page. You can find this by going to Menus->Main Menu, and looking at the list of menu items. The one with the "star" on it is your default one (the front page). In the right column of the menu item manager you can see the Itemid of that Home menu item. Unless you have changed this, the default value is "1".

So, in your MetaMod you can do as follows:

if ($Itemid == 1) return XXX;
// replace XXX with the module id of your slideshow module.

Hope that helps,

Stephen Brandon
MetaMod / Chameleon developer
If you use MetaMod or Chameleon, please post a rating and a review at the Joomla! Extensions Directory: Chameleon | MetaMod

3330 Posts
User info in posts
Administrator has disabled public posting

Board Info

Board Stats:
Total Topics:
Total Polls:
Total Posts:
Total Posts Today:
User Info:
Total Users:
Newest User:
Members Online:
Guests Online:


Forum Legend:

 New Sticky