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

Feature - Migration from ckanext-facet_scheming #13

Closed
2 of 9 tasks
Tracked by #19
mjanez opened this issue May 9, 2023 · 2 comments
Closed
2 of 9 tasks
Tracked by #19

Feature - Migration from ckanext-facet_scheming #13

mjanez opened this issue May 9, 2023 · 2 comments
Assignees
Labels
bug Something isn't working documentation Improvements or additions to documentation enhancement New feature or request

Comments

@mjanez
Copy link
Owner

mjanez commented May 9, 2023

OpenDataGIS/ckanext-facet_scheming#7

  • Import icons from ckanext-facet_scheming.

    • theme
    • theme_es
    • spatial_uri
  • Update templates to synchronise with the new ckanext-facet_scheming definition of icon folders. templates/scheming/display_snippets/

    • themes.html
    • themes_es.html
    • spatial_uris.html
  • Create a ckan_geodcatap-facet_scheming.yaml to use with ckanext-facet_scheming and its snippets.

@mjanez mjanez added bug Something isn't working documentation Improvements or additions to documentation enhancement New feature or request labels May 9, 2023
@mjanez mjanez linked a pull request May 9, 2023 that will close this issue
@mjanez
Copy link
Owner Author

mjanez commented Jul 28, 2023

It is not possible to migrate templates to facet_scheming, as this plugin requires ckanext-scheming to be installed first, which will overwrite any existing templates in later modules.

The best option is to put everything of interest into the custom ckanext-scheming extension.

Plugin loading order can be important, for example for plugins that add custom template files: templates found in template directories added earlier will override templates in template directories added later.

https://docs.ckan.org/en/2.9/maintaining/configuration.html#ckan-plugins

@mjanez
Copy link
Owner Author

mjanez commented Aug 3, 2023

Fix: #19 (comment)

@mjanez mjanez closed this as completed Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
2 participants