Skip to content

Conversation

@x-m-el
Copy link

@x-m-el x-m-el commented Nov 19, 2025

this allows overriding these specific buttons by a plugin coming after ckanext-pages, without having to override the full header_account_logged block.

This also follows the structure that is used in ckan, which defines a block per header button.

this allows overriding these specific buttons by a plugin coming after ckanext-pages, without having to override the full header_account_logged block.

This also follows the structure that is used in ckan, which defines a block per header button.
x-m-el pushed a commit to belgium-its-steering-committee/ckanext-benap that referenced this pull request Nov 19, 2025
Never show blog button (this functionality is not used). Only show pages button for sysadmins.

ckanext-pages adds these buttons, but does not provide a block to override these. This means we can't easily adjust showing these specifically.
This means overriding the full header_account_logged (no extending with super() ), to avoid showing the template part of ckanext-pages.

if ckan/ckanext-pages#147 gets merged, this can be cleaned up.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant