On my index page I have some content set to display in user modules which are displayed above and below my articles.
When I click to open a article from the right menu on my main page (usind mod_latestnews), the article loads but my user modules still display the content above and below my article which I dont want?
If I load articles from the top pull down menus there are no user modules? Why is this?
Re: why do modules display above & below my articles?
Posted 16 years 2 months ago
Because of the way Joomla handles the Itemid of each article.
The easy way around this is to create a 'dummy' menu (one that doesn't get displayed anywhere on your site) and link your articles to this menu - thus giving them each a unique Itemid.
Then, your latestnews module should identify them as seperate from the frontpage.
And don't bump your posts (in such an obvious manner at least).
Re: why do modules display above & below my articles?
Posted 16 years 2 months ago
Ok I tried as you mentioned but it still doesn't work.
I linked one article via my top menu under "Fun Stuff". The article is "Neuhausen am Rheinfall", yet when I click it from the menu the user modules still show up.
Re: why do modules display above & below my articles?
Posted 16 years 2 months ago
Well, that is odd. I traced execution of the J1.5 mod_latestnews module all the way back through to the core libraries and it SHOULD be returning a correct Itemid out of the menu.
There's a few unknowns for me here - the most important being, which SEF component / option are you using? Is it a native or legacy component? Is it correctly configured?
Try turning the SEF component off for a tic and check that you're getting Itemid's through for those links in the latest news module, and click one or two to see if the problem persists.
Re: why do modules display above & below my articles?
Posted 16 years 2 months ago
I am using sh404SEF in native v1.5 mode. I disabled the component and the article seems to load fine. I checked the configuration of sh404 and made some changes. Seems its still working, I didn't have the component configured correctly before.