Members Zone

Username

Password

Remember me
Password Reminder
No account yet? Create one

Who's Online

We have 9 guests online
Banner
 
SiteGround web hosting SiteGround web hosting
 
PlugSocket
 
AboutUS
 
Valid XHTML 1.0 Transitional
 

Mambo Troubleshooting: Frontpage modules appearing on other pages

I had set up the Latest Content and Popular Content modules to only appear on the front page. When clicking on a Related Item link these modules appeared on the items' page when they shouldn't have. All the appropriate parameters where set correctly so why is it not working?

The problem is caused by an inherent problem with Mambo. In all kinds of functions right throughout the code Mambo uses Itemid's. If there is no menu link to a section then Mambo issues a default Itemid of 1. This is the Itemid for the Frontpage and so any modules for the Frontpage can sometimes appear on other pages. With my own situation Mambo worked fine on my test server but when I reproduced this site on the internet server things went pear shaped. The Mambo Team are currently completely rewriting Mambo and when version 5 is released this problem should become history.

Solution

Ensure that all sections have a menu link. An efficient way is to create an unpublished menu, that won't show up in your site, and using 'Table - Content Section' link each section. The problem should now go away.

But then again, it might not. For me the problem appeared elsewhere when the Latest Content and Popular Content modules on the Frontpage started to do the Itemid=1 thing. I finally cured the problem by creating a menu link using 'Table - Content Category' for some tutorials I had written.


User Comments

Please login or register to add comments

Last Updated ( Sep 02, 2008 at 08:34 PM )

 

Banner
your god was nailed to a cross