Describe the issue or problem
I want to add remote URL in navigation Bar exactely in “Administration / Site Settings” but not working.
Steps I took leading up to the issue
- Go to ‘Administration / Site Settings’
- Click on ’ Navigation’
- Scroll down and Click to ‘Add item’
- Add title and URL and selecte remote URL
- No error showing, but button Save not clickable (after the first click, it remains blocked, and not saved in list items)
What application are you using?
OJS 3.3.0.14
Additional information
Hi @ILYASS_SABER,
See:
Regards,
Alec Smecher
Public Knowledge Project Team
Hi @asmecher
Thanks a lot
problem solved.
The following change will solve your problem.
lib/pkp/controllers/grid/navigationMenus/form/PKPNavigationMenuItemsForm.inc.php
Replace the codes in this line (227)
if($locale !== $context->getPrimaryLocale() && $remoteUrl == '') continue;
with this
if (!empty($context)) {
if($locale !== $context->getPrimaryLocale() && $remoteUrl == '') continue;
}
1 Like
This topic was automatically closed after 12 days. New replies are no longer allowed.