-
Notifications
You must be signed in to change notification settings - Fork 32
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
Automate description custom field creation on module setup #2837
Comments
I'd extend this issue to setup three basic custom fields:
This fields will be used by the front-end. I'd therefore try to apply some smart defaults:
Following what we are doing in Investments, via module configuration we may be able to change those names or to extend the number of fields we show on the sidebar or dataset page. Therefore, in the conf we may have something like:
This would be the default. (In investments we already have this conf, we should do something standard) In the frontend, we would define a place to show the description, and then another one for the other custom fields, so we just show what fields are instructed by the configuration (or the defaults) in the corresponding order one beneath the other. |
I'm going to create default vocabularies for frequency and category. Later an admin can manage their contents. By default frequency vocabulary will have the terms (CA/EN/ES):
By default category vocabulary will have the terms (CA/EN/ES):
|
I forgot: for categories there is an official list of terms (those to be
used in DCAT). So we can algo put those default values.
… |
When Gobierto data module is activated in a site we want to automatically add a custom field for the description of the datasets.
This can be implemented using a recipe from Gobierto Seeds module that can be configured for the whole
GobiertoData
module.The text was updated successfully, but these errors were encountered: