Remote URL not working in navigation Bar

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

  1. Go to ‘Administration / Site Settings’
  2. Click on ’ Navigation’
  3. Scroll down and Click to ‘Add item’
  4. Add title and URL and selecte remote URL
  5. 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 :blue_heart: 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.