We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tested CKAN 2.11
options to hide menu items not working as expected
ckanext.pages.group_menu = False ckanext.pages.organization_menu = False
menu items remain
The option to remove "About" ckanext.pages.about_menu = False does work
ckanext.pages.about_menu = False
I do not understand all the code and have not traced further but there may be some logic inverted in the code -
https://github.com/ckan/ckanext-pages/blob/master/ckanext/pages/plugin.py
Editing to below and rebooting did not work assume more to it:
if arg[0] in 'home.group_index' and not group_menu: continue if arg[0] in 'home.organizations_index' and not org_menu: continue
menu items for organizations and groups remain visible... I'm not skilled to fix sorry
The text was updated successfully, but these errors were encountered:
PR to fix this here #137
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
tested CKAN 2.11
options to hide menu items not working as expected
menu items remain
The option to remove "About"
ckanext.pages.about_menu = False
does workI do not understand all the code and have not traced further but there may be some logic inverted in the code -
https://github.com/ckan/ckanext-pages/blob/master/ckanext/pages/plugin.py
Editing to below and rebooting did not work assume more to it:
menu items for organizations and groups remain visible... I'm not skilled to fix sorry
The text was updated successfully, but these errors were encountered: