ckan / ckanext-scheming

Easy, shareable custom CKAN schemas
Other
83 stars 161 forks source link

Customizing group/about.html #393

Open PitPitoune opened 10 months ago

PitPitoune commented 10 months ago

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)