• Home
  • Get help
  • Ask a question
Last post 1 hour 8 min ago
Posts last week 94
Average response time last week 34 min
All time posts 67850
All time tickets 10486
All time avg. posts per day 20

Helpdesk is open from Monday through Friday CET

Please create an (free) account to post any question in the support area.
Please check the development versions area. Look at the changelog, maybe your specific problem has been resolved already!
All tickets are private and they cannot be viewed by anyone. We have made public only a few tickets that we found helpful, after removing private information from them.

#108 – Article's have wrong associated menu item

Posted in ‘sh404SEF’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Saturday, 18 April 2015 22:39 UTC
gijs007
When visiting my home page, it does not show as the home page menu (which should appear orange)
Also the modules assigned to the home page do not show up. (the carousel and the Popular Game Servers and Customers module)

When visiting article's under game servers, for example:
http://www.xxxx.net/game-servers/halo-combat-evolved-game-server-hosting

The modules for the home page show up (the carousel and the Popular Game Servers and Customers module)
Additionally it shows as a child of the home menu instead of game servers..

How do I fix this?
Monday, 20 April 2015 09:41 UTC
wb_weeblr
Hi

From your other ticket, I assume you have a multilingual site. First you should update to the upcoming release of sh404SEF which has several more workarounds for J! 3.4.1 ML issues.

As for menu itemid being wrong, it depends on your menu structure and whether there can be links on your site that may be missing Itemids (in the non-sef urls). Modules like "Recent content" or "Most popular" may do that sort of thing.

Taking http://www.xxxx.net/game-servers/halo-combat-evolved-game-server-hosting as an example, search for it in the URL manager, and see if it has "Duplicates" showing (see https://weeblr.com/images/screenshots/KPv4bEultjHEv3JJlGHJXZMS5NTB8s.png). If so, click on that orange badge, you'll see something like this: https://weeblr.com/images/screenshots/OKiGpOBjEfAKZgma3ln3NmIlpzcXTz.png
Select the non-sef URLs with the correct Itemid, and click on main.

This procedure allows manually fixing the links, it'd be better to find how and why some links without Itemids, or with the wrong ones are generated on the site.

Rgds
 
Monday, 20 April 2015 13:19 UTC
gijs007
I've managed to solve the home entry, I had another menu home entry which linked to the same article but didn't have the modules set.

Regarding the http://www.xxxx.net/game-servers/halo-combat-evolved-game-server-hosting

A duplicate URL does show, I've tried both URL's, cleared the cache and restarted PHP but the result is the same.
Tuesday, 21 April 2015 10:51 UTC
wb_weeblr
Good for home page. For other links, can you do a screenshot (monosnap or similar is great for that) of the duplicate urls view, showing the different Itemids?

Rgds
 
Wednesday, 22 April 2015 12:00 UTC
wb_weeblr
Hi

Here is the duplicate URLs I see for game-servers/halo-combat-evolved-game-server-hosting:

https://weeblr.com/images/screenshots/UpBQuyp8qLaDKzMOljDsKFONlE3Pak.png

I can see that you still have malformed URLs with bad language on them: &lang=en-GB.

The 3 first URLs are bad, they're go to either your All-language homepage (Itemid = 101) or your Default language homepage (Itemid=118 - and that URL is the malformed one).

I guess the correct URL is that with Itemid = 393?

After fighting with your site for about an hour, I found that there was an alias added that has Itemid=101. And that maybe the root of the problem, as it causes a URL with Itemid = 101 to be recreated all the time.

So after purging URLs, and making the URL with Itemid = 393 the "Main" URL, it started working fine (https://weeblr.com.png). The problem is actually fixing the alias, and possibly other aliases. They should use the correct Itemid, 393 in that case, not 101.

Needless to say, you be able to debug this, you have to disable full page cache,otherwise things get all mixed with cached data, and you never if what you do actually produces any result.
I also had to disable JCH optimize, as it would produce a php error as well.
As a side note, you should run with Display error set to maximum (that's my default config),you have several extensions producing errors and warnings.

Rgds


 
Monday, 27 April 2015 18:36 UTC
gijs007
I've managed to resolve the problem.
I'm wondering if its possible to manually set an item id? This way it would be possible to make items a child of a different item (something which I'd like to do, but currently can't due to Joomla's limitations)
Monday, 27 April 2015 19:25 UTC
wb_weeblr
Hi

Nope, Itemids are Joomla field, we can't do anything about it really. What I have in mind instead is to allow "overriding" an itemid id, or maybe simply allow to specify templates and modules per URL.
But that's not for the immediate future, maybe a few months away

Please close ticket if you consider the matter solved for now.

Rgds
 
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.