Skip to content
New issue

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

Customizing group/about.html #393

Open
PitPitoune opened this issue Nov 27, 2023 · 0 comments
Open

Customizing group/about.html #393

PitPitoune opened this issue Nov 27, 2023 · 0 comments

Comments

@PitPitoune
Copy link

In ckanext-scheming, the template group/about.html is located on templates/scheming/
The first line is "{% extends "group/about.html" %}"
And plugins.py contents " def about_template(self):
return 'scheming/group/about.html' "

This structure prevents another extension to extends group/about.html,
with the adviced method, I mean. (i.e. a file "my-ext/templates/group/about.html" whose first line is "{% ckan_extends %}")

WIth changing the scheming-extension code, it is possible to let my-ext to work. (if you want we could create a pull request)

Is there another solution ?
(with or without modifying scheming-ext)

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

No branches or pull requests

1 participant