edit or create an item
click on New Menu item
A link to current item with title
Nothing was select, user need to select type of link
I think we need to check context and add value inside
In category => link to category with name
In item => link to item with name
etc ...
Labels |
Added:
?
|
lol sorry did you test it (its joke)?
no sense to click on "add item link menu" in an item form and need to select type, name etc ...
when you you clic on buy did you need to reselect article in cart ??
it will be automatic
I do not understand either.
If you edit or create an item - which item? A Menu Item for a Menu? While editing a Item, it is not possible to click on "new item" this button exists only on lists.
Could you give a screenshot?
Thank you ... got it. The item is an article ..
Yes sorry that the same workflow for category thanks @brianteeman for gif
Its a bug not a missing feature
The code does not create at all a single article menu item.
It just loads the menu item modal. Only the language would already be filled in case of multilingual site and the item has a language set.
// Setup variables for display
$linkSuffix = '&layout=modal&client_id=0&tmpl=component&' . Session::getFormToken() . '=1';
$linkItem = 'index.php?option=com_menus&view=item' . $linkSuffix;
// Force the language of the menu item when multilang is implemented
if (Multilanguage::isEnabled() && $this->form->getValue('language') !== '*')
{
$linkItem .= '&forcedLanguage=' . $this->form->getValue('language');
}
$urlNew = $linkItem . '&task=item.add';
Thanks for checking code @infograf768
Title |
|
||||||
Status | New | ⇒ | Discussion |
Title |
|
Category | ⇒ | com_workflow |
Labels |
Added:
J4 Issue
|
Category | com_workflow | ⇒ | com_menus UI/UX |
i think we need to finish this feature ... or remove add link to menu button because no sense to add information x2
Closing as this has been resolved elsewhere and is no longer reproducable
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-01-14 18:09:45 |
Closed_By | ⇒ | brianteeman |
Closed_By | brianteeman | ⇒ | joomla-cms-bot |
Set to "closed" on behalf of @brianteeman by The JTracker Application at issues.joomla.org/joomla-cms/23086
I don't really get your point. Can you explain more clearly what you would like to achieve!?