Joomla 3.6.0 - can't create menu item alias

Need help with the Administration of your Joomla! 3.x site? This is the spot for you.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Locked
jaak69
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Mon Sep 29, 2014 9:52 am

Joomla 3.6.0 - can't create menu item alias

Post by jaak69 » Fri Jul 29, 2016 9:33 am

I can't save menu item alias in Joomla 3.6.0 - got error message

Default Joomla 3.6.0 install without any css changes and overrides.

Create new menu
Crete new menu item -> Menu type - System links "Menu Item Alias" ->I choose to make alias for Main menu item "About Us"
"Alias" field -> empty
Press Save ->

Code: Select all

Error

Save failed with the following error: Another menu item has the same alias in Root (remember it may be a trashed item). Root is the top level parent.
For comparison I create default Joomla 3.5.1 installation and the same alias creation procedure works without problems.

How can I solve this issue?

 
User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 27132
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Joomla 3.6.0 - can't create menu item alias

Post by Per Yngve Berg » Fri Jul 29, 2016 11:11 am

Have you tried to type something into the Alias Field?

jaak69
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Mon Sep 29, 2014 9:52 am

Re: Joomla 3.6.0 - can't create menu item alias

Post by jaak69 » Fri Jul 29, 2016 12:15 pm

Yes, if i type different alias, then it works.

And if I check the URL in front-end, then the URL is correctly parent menu item one.

Compared with older versions this is different behavior. I check from changelog and what's new in Joomla, but didn't find any information about this change.

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 27132
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Joomla 3.6.0 - can't create menu item alias

Post by Per Yngve Berg » Fri Jul 29, 2016 12:18 pm

Report it as a bug.

Sailfin
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Mon Oct 22, 2012 8:45 pm

Re: Joomla 3.6.0 - can't create menu item alias

Post by Sailfin » Sat Sep 03, 2016 10:24 pm

Same issue over here in Joomla 3.6.2

I think it's a bug.

Is it reported as a bug yet?
Last edited by Sailfin on Sat Sep 03, 2016 10:40 pm, edited 1 time in total.

Lumiga
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Sat Sep 03, 2016 10:34 pm

Re: Joomla 3.6.0 - can't create menu item alias

Post by Lumiga » Sat Sep 03, 2016 10:38 pm

Same issue over here

Also Joomla 3.6.2

goble
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 183
Joined: Sat Jan 09, 2010 11:23 am

Re: Joomla 3.6.0 - can't create menu item alias

Post by goble » Tue Sep 13, 2016 7:53 am

Hello, any news about a temporary solution meanwhile this is fixed in the next release ?

Running 3.6.2

User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 20231
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ UK/ S'pore/Jakarta/ North America
Contact:

Re: Joomla 3.6.0 - can't create menu item alias

Post by leolam » Tue Sep 13, 2016 8:10 am

For those who run Joomla 3.6.0 upgrade first to Joomla 3.6.2 (3.6.0 has known bugs and is vulnerable)

@Goble this is not a known issue (see https://issues.joomla.org/) in Joomla 3.6.2 and I cannot replicate this http://screencast.com/t/280heaWr. Plain Joomla 3.6.2 multi lingual Joomla test site

I suggest you go to components --> Joomla update--> clear cache and refresh page and you will see the option to reinstall Joomla--> do this, clear cache in the component--> clear all Joomla caches and check again the alias

Leo 8)
Joomla's #1 Professional Services Provider:
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -
#Joomla Webmaster Services: gws-webmaster.services

goble
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 183
Joined: Sat Jan 09, 2010 11:23 am

Re: Joomla 3.6.0 - can't create menu item alias

Post by goble » Tue Sep 13, 2016 9:03 am

Hello and thanks Leo,

same issue after reinstalling joomla core files + clear cache. However got message hereunder after reinstallation:

"Refresh Manifest Cache failed: Extension is not currently installed."

Anyway, actually I figured out the issue. You shouldn't have the same name for your new 'menu item alias' as the 'menu item' you are targeting.

Unlike previous version of Joomla, 3.6 behaves differently when generating the alias for your new 'menu item alias'.

Any workaround to get both your 'Menu Item' and your 'Menu Item alias' have the same name ?

P.S I'm almost sure it was possible in previous versions of Joomla

User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 20231
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ UK/ S'pore/Jakarta/ North America
Contact:

Re: Joomla 3.6.0 - can't create menu item alias

Post by leolam » Tue Sep 13, 2016 9:28 am

No something is wrong in your installation.

It works like that per definition as you can see from my screencast. Menu item 'testing2' and alias automatically get's 'testing2' as you can see. No differences from previous versions were ever introduced. Works the same from Joomla 1.5 onward. No change in behavior was introduced.

Now check in your 'Trash' or elsewhere that you do not have already a menu item with same alias. That is not allowed and you cannot safe with the same alias.

Leo 8)
Joomla's #1 Professional Services Provider:
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -
#Joomla Webmaster Services: gws-webmaster.services

goble
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 183
Joined: Sat Jan 09, 2010 11:23 am

Re: Joomla 3.6.0 - can't create menu item alias

Post by goble » Tue Sep 13, 2016 10:16 am

Hi Leo,

Thanks but I think you missed by point and I maintained what I said earlier. I just got a copy 3.4.8 and it is different as 3.6.2.

Ex.: You create a 'menu item' named 'abcd', the generated alias is 'abcd'.

With 3.4.8: You create a 'menu item alias' named 'abcd' (for the 'menu item' you just created), the generated alias will be the actual 'date and time'. However in frontend, the real alias for both the 'menu item' and the 'menu item alias' will be 'abcd'. This is perfect.

With 3.6.2. You create a 'menu item alias' named 'abcd' (for the 'menu item' you just created), the generated alias will be the 'abcd'. This will cause the error. If you use a 'menu item alias' named 'abcde', then the generated alias will be 'abcde'. In fact in frontend both menus will still use to 'abcd as the real alias.

User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 20231
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ UK/ S'pore/Jakarta/ North America
Contact:

Re: Joomla 3.6.0 - can't create menu item alias

Post by leolam » Tue Sep 13, 2016 1:50 pm

I showed you with my screencast (review please) IT IS NOT!

If I create a menu item as shown named 'testing2" and I let Joomla auti-fill the alias I get as alias" testing2" as shown in the screencast (Joomla 3.6.2) and that works perfectly well in the backend and frontend
as shown
If this alias in your case does not work (i.e. your example ' abcd' ) you have an issue with mod_rewrite or you have not configured SEO properly

Once again we (developers/Joomla/JBS) have not changed for years anything re. 'alias' in Joomla You want me to create for you in my JBS-test site a menu item called 'abcd' with alias 'abcd" and give you the links so you can see? I can even send via PMB the access credentials to that site? You are wrong (!)

Leo 8)
Joomla's #1 Professional Services Provider:
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -
#Joomla Webmaster Services: gws-webmaster.services

goble
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 183
Joined: Sat Jan 09, 2010 11:23 am

Re: Joomla 3.6.0 - can't create menu item alias

Post by goble » Tue Sep 13, 2016 2:05 pm

Hello Leo,

this is becoming ridiculous. All my explanation is about Alias for 'Menu Item Alias' and NOT Alias for 'Menu Item'.

Anyway I'll just stay away from 'Menu Item Alias' for now.

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 27132
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Joomla 3.6.0 - can't create menu item alias

Post by Per Yngve Berg » Tue Sep 13, 2016 2:21 pm

It should work if the menu items have different parents.

User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 20231
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ UK/ S'pore/Jakarta/ North America
Contact:

Re: Joomla 3.6.0 - can't create menu item alias

Post by leolam » Tue Sep 13, 2016 2:23 pm

goble wrote:Hello Leo,

this is becoming ridiculous. All my explanation is about Alias for 'Menu Item Alias' and NOT Alias for 'Menu Item'.

Anyway I'll just stay away from 'Menu Item Alias' for now.
Sorry for being seemingly"ridiculous' but it seems I do not understand the issue in which case I apologize in advance.

Can you please post a printscreen with explanation what you exactly mean? I am doing this for a living for over 11 years and I do not get a thing seemingly about what you try to explain it seems from your reply? Otherwise connect with me on Skype "gwsgroup" so you can explain what you mean so I can guide you (and others here?)

Leo 8)
Joomla's #1 Professional Services Provider:
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -
#Joomla Webmaster Services: gws-webmaster.services

goble
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 183
Joined: Sat Jan 09, 2010 11:23 am

Re: Joomla 3.6.0 - can't create menu item alias

Post by goble » Tue Sep 13, 2016 3:42 pm

Hello Leo and thanks,

I have PM you with the user details to access a copy of the website.

I'm sending you 2 videos as well. One with Joomla 3.5.1, no issue. The second after I upgraded to 3.6.2 where the issue occurs.

I'm looking for another solution since making aliases might not be a suitable solution for me. I'm getting a problem with mega menu where SEF is not working, this is the reason I wanted to create menu items in another menu and then create 'menu item alias' in my mega menu. Anyway this is not the real point here. The tests have being made using 2 standard joomla menus.

Hopefully you will be able to help others.

User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 20231
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ UK/ S'pore/Jakarta/ North America
Contact:

Re: Joomla 3.6.0 - can't create menu item alias

Post by leolam » Tue Sep 13, 2016 3:46 pm

goble wrote:Hello Leo and thanks,

I have PM you with the user details to access a copy of the website.
I have received that but I cannot assist you (as I have replied to you) since we (GWS-Desk) only provide 1:1 onsite professional support on purchased tickets. I cannot go in to help you unless you have purchased support just like all other 7K Joomla users in the past/per date. If I would help every person who asks for that in PMB I would have no more time to provide commercial support to our subscribers/clients (who pay for our bread/butter) or have as such a life at all ;-)

I am sure you will respect that?

Regards

8)

Leo Lammerink
MD GWS-Global Web Services Ltd
Joomla's #1 Professional Services Provider:
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -
#Joomla Webmaster Services: gws-webmaster.services

User avatar
sozzled
Joomla! Exemplar
Joomla! Exemplar
Posts: 9565
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: Joomla 3.6.0 - can't create menu item alias

Post by sozzled » Tue Sep 13, 2016 4:00 pm

I've encountered this problem a few times over the years but I've only run into this situations once since I've begun using J! 3.6.2. In my case I had a trashed menu item, under the same menu parent, as the item I was trying to add. I emptied the trash; the alternative is to rename the alias of the trashed item. Empty and purge the cache, too. Took me about 10 minutes to figure it all out but I think that's the solution here. I doubt we're actually discussing a bug in Joomla; it's more likely to be a case of not looking deeply enough.
https://www.kuneze.com/blog
“If you think I’m wrong then say, ‘I think you’re wrong.’ If you say ‘You’re wrong!’, how do you know?” :)

goble
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 183
Joined: Sat Jan 09, 2010 11:23 am

Re: Joomla 3.6.0 - can't create menu item alias

Post by goble » Tue Sep 13, 2016 4:03 pm

@ sizzled, no it's not the case here.

@ Leo, No issue, like mentioned in my post the purpose was to help others not me. Thanks anyway !

User avatar
sozzled
Joomla! Exemplar
Joomla! Exemplar
Posts: 9565
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: Joomla 3.6.0 - can't create menu item alias

Post by sozzled » Tue Sep 13, 2016 4:12 pm

Ah, of course! You're talking about trying to add a new menu item in the situation where you have an existing alias menu item with a same name as the item you're trying to add. Yes, I follow that now. :)
https://www.kuneze.com/blog
“If you think I’m wrong then say, ‘I think you’re wrong.’ If you say ‘You’re wrong!’, how do you know?” :)

naykel
Joomla! Intern
Joomla! Intern
Posts: 50
Joined: Sat Jan 19, 2013 10:04 pm

Re: Joomla 3.6.0 - can't create menu item alias

Post by naykel » Sun Jan 15, 2017 6:33 pm

Was this every solved.

The only thing I can work out is that the problem was never clearly understood. The problem is not that you can't create a menu item alias it is that it won't automatically rename it like it used to unless you manually change the alias you will get the error.

For example if you have a "contact us" page the alias would be "contact-us", when you create a menu item alias it used to be that Joomla would automatically rename the alias to something like "alias: 2016-03-11-01-30-47". Now the alias stays as "contact-us" resulting in the error if you do not change it.

tomcat8118
Joomla! Intern
Joomla! Intern
Posts: 74
Joined: Fri Dec 30, 2005 2:07 pm

Re: Joomla 3.6.0 - can't create menu item alias

Post by tomcat8118 » Tue May 02, 2017 7:49 pm

I'm in the same boat - and i am actually on 3.7 now.

This makes it very difficult to manage multiple menus, alias, when trying to follow a set url structure.

any thoughts or suggestions?

Tom

 

Locked

Return to “Administration Joomla! 3.x”