You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When loading a site-level navigation menu at the context level, the URLs for navigation menu items are not correct. The URLs are generated assuming they point to the same context as the request.
To Reproduce
Steps to reproduce the behavior:
Add the suggested code below to a theme and use it to assign the result to a template variable.
Add a navigation menu at the site level (Administration > Site Settings > Navigation) with at least one custom page.
View the resulting code on a journal and see that the custom page URL doesn't point to the site-level custom page.
What application are you using? stable-3_3_0
Additional information
The following code can be used in a theme to load a navigation menu defined at the site level. This is used, for example, to load a publisher or hosting service menu on every journal's site.
Describe the bug
When loading a site-level navigation menu at the context level, the URLs for navigation menu items are not correct. The URLs are generated assuming they point to the same context as the request.
To Reproduce
Steps to reproduce the behavior:
What application are you using?
stable-3_3_0
Additional information
The following code can be used in a theme to load a navigation menu defined at the site level. This is used, for example, to load a publisher or hosting service menu on every journal's site.
The text was updated successfully, but these errors were encountered: