MDN

Go Back   Mambo - Forums Closed for posting > Mambo 4.5.5 - Stable > General Questions

Reply
 
Thread Tools Search this Thread Display Modes
Old May 31st, 2005, 10:08   #1
Macview
 
Join Date: Jul 2004
Posts: 51
Macview is on a distinguished road
Default Module problem - driving me nuts

I've successfully moved 8 sites to Mambo over the last year and I just noticed a problem in my last site (while working on my current test site) But all my other sites are fine.

For some reason the Modules for certain things (latest news, most popular) which are designated to be home only, transfer themselves (if you click on a link in them) to the articles page actually all modules which are designated to homepage only appear there. There is no rhyme or reason for this.

I tend to copy the database and files from my last successful site and do setup but even on a fresh install of Mambo (4.5.2) it happens.

Example of site is http://www.sp-mag.com, if you click on a popular item link the modules will appear with the article, but if you click on a upcoming events link it works as it's supposed to. I have even seen it work properly and not properly form two links in the same module! Both links were the same other than the id number being different.

I've tried many different things, none have worked. I think it has to do with some 3rd party module or mambot (though I don't know why) that I'm loading as It was working properly (seemed to) until I loaded a few up. Even though I deleted them it still acts wonky so I have to go back to a fresh install and use the process of elimination.

If anyone has a clue to why it's doing this I would greatly appreciate some help, thanks.
Macview is offline   Reply With Quote
Old May 31st, 2005, 10:45   #2
stingrey
 
Join Date: Oct 2003
Location: Marikina, Manila, Philippines
Posts: 5,153
stingrey is on a distinguished road
Default

The problem is caused by the rather arcane complex and totally excruiating problems caused by the itemid system in mambo.

Its one of the oldest parts of the code, going back into the mists of time and is being used far beyond its principle objective when it was created.
Unfrotunately because it affects so many things, its somethign we can only fix with a major overhaul (e.g. 5.0)


Anyway that doesnt help you.
What you need to do is create a hidden menu (e.g. a menu whose mod_mainmenu module you do not publish).
Now wht you need to do is to create a `Table - Content Section` for all your sections.

The problem is that because you have no menu item that is linked with the sections that hold your news items, the system cannot assign the contents that reside within the section an itemid, so the default setting is to use the Itemid of your 'homepage' which in this case is 1.
So when you click on any new item, the system still thinks your on the frontpage as it sees an Itemid of 1.


Put another way.

If you have two sections

News

Events

And let say in all you Menus you have a Section for Events as a menu item, which gives it an Itemid of 16.
Now all news items in the Events section will inherit an itemid of 16

But let say you News section has no link in any of your menus.
So the default behavious takes over and its is assigned an itemid of 1
__________________
All my posts are copyright © Rey Gigataras [aka stingrey] and cannot be be reproduced without permission

Former Mambo Core Team Member July 2004 - August 2005
stingrey is offline   Reply With Quote
Old May 31st, 2005, 10:47   #3
kooshin.com
 
Join Date: Jun 2004
Posts: 216
kooshin.com is on a distinguished road
Default

Have you checked where to show the modules ? Click on the modules and see if it says ALL in the which pages to show on I guess that is the problem .
__________________
Great Hosting Packages http://www.kooshin.comYour #1 Article Resource http://www.articlestorage.com
kooshin.com is offline   Reply With Quote
Old May 31st, 2005, 11:05   #4
Macview
 
Join Date: Jul 2004
Posts: 51
Macview is on a distinguished road
Default Thank-you stingrey!!

You are a god in my eyes! That is it! I'm just so surprised I never had this problem before but now I know what to look for. Can't wait for the next version. Keep up the great work!
Macview is offline   Reply With Quote
Old June 26th, 2005, 00:14   #5
biggazillakilla
 
Join Date: Mar 2004
Posts: 10
biggazillakilla is on a distinguished road
Default

I have to say that this seems like a rather tedious way to write articles. For me, it seems to affect only one category. Does that mean I can just create a new category and just stop using the affected category?
biggazillakilla is offline   Reply With Quote
Old July 19th, 2005, 04:13   #6
themancan
 
Join Date: May 2005
Posts: 8
themancan is on a distinguished road
Thumbs up Can this be applied to Blog Sections/Categories and their content?

Stingrey, that fix is unbelievable. I've searched for hours and was about to give up but finally found it.

Question: I have a menu item that is a "Blog - Content Section" with a module in the User1 section. It displays fine on the main Blog page, but when I click "Read more", I'd like the module in User1 to disappear and only have the content.

Obviously I cannot assign the position of the module because there are no menu items below the "Blog - Content Section". Must all the content within the Blog be treated the same?

I hope that makes sense. Not as big a deal as the frontpage fix, but it'd still be nice to fix it.

Example page here: http://afvsolutions.com/news/

Thanks!
-Brett
__________________
Duck decoys are fun! Waterfowl and Duck Art and Cards
My super basic page: The Man Can!
themancan is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with Events Module osprey Modules 20 July 8th, 2005 09:17
Arrays in Module problem Leddy Modules 7 March 21st, 2005 22:09
Display News Module Problem: Links don't link properly. ComposerRyan Components 0 January 15th, 2005 18:35
Google Module Problem Banner problem teresaisi General Questions 6 January 9th, 2005 21:02
Problem with SW :: Google Ads Module for Mambo 4.5.1? iMixed Modules 3 October 29th, 2004 10:21


All times are GMT -7. The time now is 04:41.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.