ckanext-additionalfacets
Adds additional facets with tranlation, which are defined in json/yml file, for ckan without coding.
ckanext-additionalfacets
The extension allows to add the additional facets into the facets list
on the search page, the organzations page and the groups page without adjustment the code.
To add the new additional facets you must only define you own facets in json or yaml file and link it to the ckan configuration and activate the plugin.
The extension ckanext-additionalfacets provides 2 plugins for creating and displaying your own facets:
additional_facets - if the extension ckanext-scheming is not being used (your meta data schemas are not created by ckanext-scheming)
additional_facets_from_scheming_dataset - if the extension ckanext-scheming is in being used (your meta data schemas are created by ckanext-scheming) (recommend)
Requirements
- This plugin is developed under usage of CKAN 2.5.5 Ubuntu 14.04 package.
- If you activate the plugin
additional_facets_from_scheming_dataset, make sure, that extension ckanext-scheming has been installed
Installation
“`{r, engine=’bash’, install_ckanext-scheming}
./usr/lib/ckan/default/bin/activate
cd /usr/lib/ckan/default/src/
pip install -e ‘git+https://github.com/ckan/ckanext-scheming.git#egg=ckanext-scheming’
cd /usr/lib/ckan/default/src/ckanext-spatial/
pip install -r pip-requirements.txt
#python setup.py develop
deactivate
```{r, engine='bash', install_ckanext-additionalfacets}
./usr/lib/ckan/default/bin/activate
cd /usr/lib/ckan/default/src/
pip install -e 'git+https://github.com/salnhan/ckanext-additionalfacets.git#egg=ckanext-additionalfacets'
pip install -r requirements.txt
deactivate
Configuration
Set the schemas you want to use with configuration options (ckans .ini file) and activate the search for all packages by default:
“`ini