Menu Content

Podpora

> Diskusní fóra, FAQs & placená podpora
Welcome, Guest
Username Password: Remember me

Modules Coming and Going Depending on Content
(1 viewing) (1) Guest
Support forum for users using free edition of JoomSEF 3 (Joomla 1.5 compatible). These forums are mainly for mutual help between users.

Please note that due to our capacity limitations, we do not monitor these forums regularly.
  • Page:
  • 1

TOPIC: Modules Coming and Going Depending on Content

Modules Coming and Going Depending on Content 16 years, 10 months ago #3787

Here is a post I had going over on Joomla and thought it would be good to document here.
---------------------------------------------------------------------------------------------------------------------
Hello All,

I hope you can help. I have modules acting like teenagers.

I have modules coming and going depending on the content page. If I set the module to \"all\" they work great. As expected, every page has them. If I set them to \"none\" they work as expected. No Modules.

If I vary some of them by menu item, some of the modules work great and appear as planned. Other modules will not show when expected.

Has anyone else run into this? Modules not following when and how you direct them to appear.
-----------------------------------------------------------------------------------------------------------------------
Try this. It may or may not work.

Go to Global Configuration -> Content Tab.

At the bottom of that tab is an option named \"ItemID Compatability\". Change it to Joomla 1.0.11 and earlier.

See if that makes any difference or not in the behavior of the modules. Sometimes that helps.
------------------------------------------------------------------------------------------------------------------------------
I made the changes, emptied all caches, my trash was already empty.

Short story:
Didn't work

I have seem this same issue on many different forum posts with no resolution. I think we are looking for a special person who has had this problem (seems like quite a few) and actually fixed it.

I have went into each Module and checked all the setting were the same. Then went into each menu item(these are categories for me) and made sure that each of the parameters were the same. They are/were, but how they display still varies.

Some have stated that they just recreated a new module, with new menu items and it created viewing consistency. I will try this next. I don't want to, because that is not really getting to the bottom of the problem if it works out.

Any other ideas on what to change, try.....

Thanks
-----------------------------------------------------------------------------------------------------------------------
Here is an interesting thread on what I think is essentially the same topic.

forum.joomla.org/index.php/topic,250745.0.html
----------------------------------------------------------------------------------------------------------------------
I think I have this hammered out. Hopefully this is a lesson learned for a lot of people. It may not be exactly what they need, but it will get them thinking in the right direction.

For SEF I am using Artio JoomSEF

On to the Story:
I first noticed everything would work fine(Modules in their proper places) if I had Artio JoomSEF activated and SEF Deactivated on Joomla's Global Settings.
Or everything would work fine if I had the opposite, SEF Activated on Joomla's Global Settings and Artio JoomSEF Deactivated.

But, and here is the But...If you have both of them Activated the problems would start.

So what I had was two SEF's punching each other in the face. I still wanted both of them working because this is what the URL structures looked like:

Original URL
index.php?option=com_content&task=category&sectionid=5&id=48&Itemid=143

Artio JoomSEF On and Joomla SEF On
site.com/learn-cad-cad-tutorial-cad-training/index.php

Artio JoomSEF On and Joomla SEF Off
site.com/learn-cad-cad-tutorial-cad-trai...8&Itemid=143

Artio JoomSEF Off and Joomla SEF off
site.com/index.php?option=com_content&am...8&Itemid=143

Artio JoomSEF off and Joomla SEF On
site.com/content/category/5/48/143/

The second one in the list is Nicey, Nice. The rest a bit Ugly and not so SEF.

Here is the fix:
In Artio JoomSEF, in the configuration, there is a setting \"Reappend source (Itemid)\", set it to \"Yes\"
Dig it.
Then, also in the configuration there is a setting \"Use cache?\" a little further down, set it to \"No\"
Dig it.
Purge all the SEF URLs on your way out of JoomSEF for good measure.


Then out you go to the main Joomla Admin Page:
Under the \"system\" drop down menu:
Clean Content Cache
Clean All Caches

Here is what you get for a URL:
site.com/learn-cad-cad-tutorial-cad-training/2

Pretty clean. Clean enough for me.

Now for the real benefit:
Modules work correctly, they show up when you want them, they disappear on pages when you don't want them.

Perfect.

I am guessing that deactivating the cache in Artio JoomSEF is not neccessary, but not a bad thing when you are clearing out caches.

Re:Modules Coming and Going Depending on Content 16 years, 9 months ago #3868

Hi,

I´ve the same problem :-(

I need to show module only on some page with content, but it´s impossible...

Does anybody know how can I do this, but with CACHE - ON ???

Thnx for help.

Fall

Re:Modules Coming and Going Depending on Content 16 years, 9 months ago #3869

Hello Fall,

Turn the Caching features off. Delete all of your caches in your SEF and in Joomla. Check your pages, they should be good now. Then you can turn Caches back on again.

Later when you make site changes, this will get messed up again, or it has for me. Follow the same proceedure, turn caching off in SEF and Joomla, Delete all caches in SEF and Joomla, Check your pages, then turn caching back on.

Later,
tyhuls

Re:Modules Coming and Going Depending on Content 16 years, 9 months ago #3874

Hi tyhuls,

thanx it´s realy works now.
But it´s show at the end of SEF URL ?Itemid=
Is it ok, or have I something wrong in my settings? It doesn´t look well...

Regards

Fall

Re:Modules Coming and Going Depending on Content 16 years, 9 months ago #3881

Hi. I had the same problem with module positions in my virtuemart shop and I couldn't figure out for the life of me why any modules wouldn't show up in the browse pages and the product details pages. The module would only show up iif I published the module to All pages but I didn't want the module on every page of my site. So I tried anything and everything to figure out what was going on and searched google for help when I found this post. I tried using the steps above but they did not work for me. I searched virtuemart forums for help but I still couldn't pinpoint the problem but I finally figured out what was wrong.

It was my own fault I guess.....

The quick answer is that in administrator backend I went to Menu > mainmenu created a new link to the Virtuemart component. After this new link was created in my mainmenu I checked to see what the Itemid was for this (virtuemart) component. For my site the Itemid is 213.

I also looked at all the other menus to find out if the itemid was the same in every one when I found the culprit. I had reinstalled the Virtuemart component so now it had a new itemid. The old itemid was 82. So I had a menu link in my othermenu with a different itemid that was causing conflict with the newly installed virtuemart itemid.

Hope I didn't confuse you here.

I deleted the link in my othermenu with itemid of 82 and made sure the module I wanted to show ONLY in my virtuemart store was published and set correctly.

And now the module I want to show only in the store works on every page of the store just the way I want it to.
Last Edit: 16 years, 9 months ago by Melliex.
  • Page:
  • 1
Přihlášení uživatele Prázdný