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
When using ckanext-pages with another CKAN extension that extends header.html, or the header_site_navigation_tabs block specifically, pages or blog posts added to the main navigation through the ckanext-pages UI, are shown once per super() call in the templates.
If header.html is extended three times in three separate extensions, each super() call will trigger the action for concatenating links in the navigation.
I already communicated this problem with @amercader and he recommended that I report it here.
The text was updated successfully, but these errors were encountered:
gocemitevski
changed the title
Items added to main navigation get multiplied when with super()
Items added to main navigation get multiplied when header_site_navigation_tabs is extended with super()
Jul 13, 2018
When using
ckanext-pages
with another CKAN extension that extendsheader.html
, or theheader_site_navigation_tabs
block specifically, pages or blog posts added to the main navigation through theckanext-pages
UI, are shown once persuper()
call in the templates.https://github.com/ckan/ckanext-pages/blob/master/ckanext/pages/plugin.py#L24
If
header.html
is extended three times in three separate extensions, eachsuper()
call will trigger the action for concatenating links in the navigation.I already communicated this problem with @amercader and he recommended that I report it here.
The text was updated successfully, but these errors were encountered: