Success

User tests: Successful: Unsuccessful:

avatar elinw
elinw
22 May 2013
avatar elinw elinw - open - 22 May 2013
avatar mahagr
mahagr - comment - 23 May 2013

Just something what I've been wordering in the past: why to use link and not type="alias"?

avatar creativeprogramming
creativeprogramming - comment - 23 May 2013

Hi, I'm facing an issue on my Joomla 3.1.1: cannot create a new Menu Alias Item

I think it's related to this regression, because I've this problem:

the accordion item that permits us to select an aliasoption is missing (missing the accordion element and the selectbox for the menu item! only default options shown)

It's not possible, in anyway to create a new menu alias in my Joomla 3.1.1

So i tried to apply your patch, but no luck, noting appears (i applyed first a diff file, then i did a complete git clone of your branch to be compleley in sync with latest commit in other parts of joomla code)

Then i tried to debug, and with your patch running removing the second line here in administrator/components/com_menus/views/item/tmpl/edit_options.php

if (!(($this->item->link == 'index.php?option=com_wrapper&view=wrapper' ) && $fieldSet->name == 'request')
//I REMOVED ONLY THIS: && !($this->item->link == 'index.php?Itemid=' && $fieldSet->name == 'aliasoptions')):

something appeared in the accordion for the selection of the menu item!!

(PS. if i undestand well the code, i ask: why an if condition to don't render the accordion element when we are at default, starting case, for a new Menu Alias Item?)

Anyway after removing that it appeared something in the accordion: right input label but a compleltey empty select box, something like:

 <select><option>Select an item</option></select> 

no possibility to select a menu item link

Conclusion: the only quick way to get it working again was a downgrade to Joomla 3.0.3
But I think your patch is in the right way because it improves the situation form 3.1.1 defaults, please check it deeply: try to create a new menu alias item from scratch, maybe is just a problem of mine (some db corruption? i'm talking about a site upgraded from 2.5 3 months ago, but all system/extensions checks say it's ok and that it was 3.1.1)

avatar elinw
elinw - comment - 24 May 2013

@creativeprogramming We don't want it to appear in the accordian, we want it to appear on the first page, underneath the type selector

@mahagr Yes it's strange, no idea why i was done that way.

.

avatar creativeprogramming
creativeprogramming - comment - 24 May 2013

@elinw Sorry, yes, i was checking only the second page, i'm going to re upgrade to your branch now to test it again and give you some feedback

avatar creativeprogramming
creativeprogramming - comment - 24 May 2013

Ok, all fine! it works! Sorry but i was looking in the advanced option like in J3.0.3! Thank you for your work and patience. Joomla 3 is the best CMS around there! Very good job! Thank you all guys

avatar elinw
elinw - comment - 26 May 2013
avatar creativeprogramming
creativeprogramming - comment - 27 May 2013

Hi, first of all i've to say that i don't know if I undestood well the issue, as you know, I come here not for the bug itself, it's not a problem i was experiencing, but because I missed (in a stupid way) the menu alias select box after an upgrade to 3.1.1 from 3.0.3, and i was totally wrong in detecting that problem and i tried to write here in a "menu alias related issue" to get help.

Anyway now that you asked, I want to try to help you, so I tried to test your patch in realtion to the #30987 Joomla issue tracker that states:

This issue has been reported by others:
http://forum.joomla.org/viewtopic.php?f=728&t=795075 and occurs in Joomla!
3.1.1 Stable [ Ember ] 26-April-2013 14:00 GMT

So, If i try to reproduce the situation described in the forum:

When I create a menu A type 'menu alias' to a menu B type 'external link' Menu A will go to 404 error page. The >link shown for Menu A is sth like http://mysite.com/?Itemid=35 where 35 is id of Menu B.

I have to say that in my case, the patch is running fine but doesn't solve this menu alias -> extenal link item problem

Here what i did

1) Applyed your patch again to be sure i have it on:

Apply your patch

2) Created a menu alias item pointing to an external url menu item:

create alias

3) tested:

http://creativeprogramming.it/?Itemid=299 -> 404 Error

I will keep my test site (that's my site under construction) on to let you check live (but tomorrow i will put this menu items unpublished)

http://creativeprogramming.it/

The "github cat icon" menu item is a menu alias to the "Github" real external link menu item.

create alias

As you can see, if you click on the cat you get 404: it's missing the redirect! So to fix the original forum issue there's also a problem with joomla routing i think (or external links item seems to be special, and seems to be written in the html directly as an external link in the document output phase, so their item id it's "fake": it's an orphan itemid URL if reached by an http get request because routing to external links is not implemented in current joomla router -and i think also in past versions -)

Anyway i don't need this feature from Joomla, for me the com_redirects it's enough to create similar things, and I think your patch anyway is ok because it solves the SEO problem as you described (but i'm not able to test this deeply now)

avatar elinw
elinw - comment - 27 May 2013

@creativeprogramming is that issue in the joomlacode tracker?

avatar creativeprogramming
creativeprogramming - comment - 27 May 2013

No it is simply linked, in the description of the #30987 in the joomla
issue tracker but it seems it is not present as an atomic issue. I just
tried to be complete but i think too that it is not an important issue
Il giorno 27/mag/2013 17:41, "elinw" notifications@github.com ha scritto:

@creativeprogramming https://github.com/creativeprogramming is that
issue in the joomlacode tracker?


Reply to this email directly or view it on GitHub#1179 (comment)
.

avatar elinw
elinw - comment - 28 May 2013

Okay someone can enter it at joomlacode.

avatar Christian-Brand
Christian-Brand - comment - 29 May 2013

I found an entry at forum.joomla.org adressing the same issue - although it is about Joomla 2.5 and it didn't work with my Joomla 3.1.1-version, the fix, proposed there, may be a good hint to find the solution for this bug. I also struggle with that 404-error but unfortunally I can`t code by myself. So any solution posted here is appreciated.
The post, I'm talking about can be found here: http://forum.joomla.org/viewtopic.php?p=2435958

avatar mbabker mbabker - reference | - 1 Jun 13
avatar mbabker mbabker - merge - 1 Jun 2013
avatar mbabker mbabker - close - 1 Jun 2013
avatar garyamort garyamort - reference | - 2 Dec 13

Add a Comment

Login with GitHub to post a comment