User tests: Successful: Unsuccessful:
Pull Request for Issue ##43344 .
After #42288 edixtor-xtd links to com_media do not work correctly for submenu items.
Correctly route the url to ensure it's correctly using sef modes and subfolders
Edit an article on the front of your site with sef enabled AND with an article that is linked from a submenu. Using the editor-xtd button/link open the media manager to insert an image
404
works as expected
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed
Status | New | ⇒ | Pending |
Category | ⇒ | Front End Plugins |
Please change
$link = Route::_($link);
to
$link = Route::_($link, false);
Or better place it here
'src' => Route::_($link, false),
Then it is good
FWIW the Route
call is utilized in the layout file, so the changes need to be done there.
Also change this
to
$doc->addScriptOptions('media-picker-api', ['apiBaseUrl' => Route::_('index.php?option=com_media&format=json', false)]);
do as you wish. closing this here
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2024-04-26 11:36:47 |
Closed_By | ⇒ | brianteeman | |
Labels |
Added:
bug
PR-5.1-dev
|
The direction is correct, but wait with it.
The link should be handled in the layout already.
I need to look what is missing.