?
avatar Webdongle
Webdongle
19 Jun 2017

Steps to reproduce the issue

In an Article create/edit screen click the 'Menu' icon in the Tinymce toolbar

Expected result

Menu item Type 'Alias' should be in the list
Menu item Type 'External url' should be in the list

Actual result

Menu item Type 'Alias' isn't in the list
Menu item Type 'External url' isn't in the list

System information (as much as possible)

Additional comments

Surely all the menu items should be listed ?

avatar Webdongle Webdongle - open - 19 Jun 2017
avatar joomla-cms-bot joomla-cms-bot - labeled - 19 Jun 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 20 Jun 2017

Issue confirmed.

@Bakual do you know if this expected Behaviour?

avatar franz-wohlkoenig franz-wohlkoenig - change - 20 Jun 2017
Status New Confirmed
avatar franz-wohlkoenig franz-wohlkoenig - change - 20 Jun 2017
Category com_content com_content com_menus
avatar dgt41
dgt41 - comment - 20 Jun 2017

Menu item Type 'External url' should be in the list

Nope, that should not be there IMHO.
Let me elaborate here: Menu XTD Button was created as a way to expose internal links. The external URL, although a legit menu, is not representing an internal page and thus it shouldn't be in the list of menus (you can directly insert the link through another tinyMCE button).

avatar Webdongle
Webdongle - comment - 21 Jun 2017

The external URL, although a legit menu, is not representing an internal page and thus it shouldn't be in the list of menus (you can directly insert the link through another tinyMCE button).

If being able to "directly insert" a link via another Tinymce button excludes that type of menu item ... then the same criterion excludes all menu items to Articles. There is another Tinymce button for inserting direct links to Articles.

avatar Bakual
Bakual - comment - 21 Jun 2017

Looks like it is at least intentionally not shown for the modal: https://github.com/joomla/joomla-cms/blob/staging/administrator/components/com_menus/views/items/tmpl/modal.php#L89-L90

If you want to propose a change, you likely have to adjust that list there.

avatar infograf768
infograf768 - comment - 22 Jun 2017

There was a good reason for not including alias, separator and url menu items in the possible list displayed by the modal. (container was added later).
The modal is used to select a redirection in many places and these redirections have to be internal.
Criterion for articles are quite different: one can indeed insert a link to an article via the Articles button and, if desired, to an existing menu item via the Menus button. Both are internal.

If one want to insert a link to an external site using TinyMCE, one has to use the Link button.

avatar infograf768 infograf768 - change - 22 Jun 2017
Status Confirmed Closed
Closed_Date 0000-00-00 00:00:00 2017-06-22 06:23:31
Closed_By infograf768
avatar infograf768 infograf768 - close - 22 Jun 2017

Add a Comment

Login with GitHub to post a comment