Alternatively you can use a direct URL after being logged in to the administrator section:
http://domain/administrator/index.php?option=com_menus&layout=edit&id=233
Replace domain with your own domain and id, with an existing ID.
That I get the page to edit the menu item.
A page with notices and a fatal error. Only way to continue is to manually modify the URL to go to the homepage a the backend and then a navigate to the menu item and edit it.
Joomla! 3.5.1-rc Release Candidate [ Unicorn ] 28-March-2016 22:30 GMT
PHP 5.5.14 / PHP 7.0.4
Can anyone else confirm this?
@andrepereiradasilva Sounds similar huh but in the other PR you don't even have to wait till the session is expired. Now this gave me another idea, using this URL directly also generates the fatal error:
http://localhost/joomla-cms/administrator/index.php?option=com_menus&layout=edit&id=233
So yeah I would say it is basically the same but only for menus.
Tested, I was able to reproduce.
Status | New | ⇒ | Confirmed |
I have a solution that would have to be done all over as I also tested it with Content Languages where the redirection after logging was not creating Errors but was to the installed languages Manager.
Change in ROOT/administrator/components/com_menus/views/item/tmpl/edit.php
<form action="<?php echo JRoute::_('index.php?option=com_menus&layout=edit&id=' . (int) $this->item->id); ?>" method="post" name="adminForm" id="item-form" class="form-validate">
to
<form action="<?php echo JRoute::_('index.php?option=com_menus&view=item&layout=edit&id=' . (int) $this->item->id); ?>" method="post" name="adminForm" id="item-form" class="form-validate">
i.e. add &view=item
For Content languages:
from
<form action="<?php echo JRoute::_('index.php?option=com_languages&layout=edit&lang_id=' . (int) $this->item->lang_id); ?>" method="post" name="adminForm" id="language-form" class="form-validate form-horizontal">
to
<form action="<?php echo JRoute::_('index.php?option=com_languages&view=language&layout=edit&lang_id=' . (int) $this->item->lang_id); ?>" method="post" name="adminForm" id="language-form" class="form-validate form-horizontal">
i.e. add &view=language
We can do this all over core when necessary, but what about 3rd party?
Please test #9696
@roland-d @andrepereiradasilva @javigomez
Closed
Status | Confirmed | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-04-01 13:17:19 |
Closed_By | ⇒ | brianteeman |
isn't this something like this one? #9371