ckanext-heroslider
The Hero Slider extension for CKAN provides a visually appealing slider component for the homepage.
Features
- Auto-rotating image carousel
- Configurable autoplay delay (default 10 seconds)
- Template helper function to get total number of datasets
- Icon-based navigation instead of numbers
- Customizable slider height
Installation
To install ckanext-heroslider:
Activate your CKAN virtual environment, for example:
. /usr/lib/ckan/default/bin/activate
Install the ckanext-heroslider Python package into your virtual environment:
pip install ckanext-heroslider
Add heroslider to the ckan.plugins setting in your CKAN config file (by default the config file is located at /etc/ckan/default/production.ini).
Restart CKAN. For example if you’ve deployed CKAN with Apache on Ubuntu:
sudo service apache2 reload
Development Installation
To install ckanext-heroslider for development, activate your CKAN virtualenv and do:
git clone https://github.com/OpenGov-OpenData/ckanext-heroslider.git
cd ckanext-heroslider
python setup.py develop
pip install -r dev-requirements.txt