Extension Hero Slider


Extension Basics

Title
Hero Slider
Name
ckanext-heroslider
Type
Public extension
Description
A CKAN extension that provides a visually appealing hero slider component for the homepage, featuring auto-rotating images and informational content.
CKAN versions
Download-Url (zip)
Last commit
a year ago (2024-03-27 22:34:54)
Url to repo
Category
Content Management


Background Infos

Description (long)
Show details

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:

  1. Activate your CKAN virtual environment, for example:

    . /usr/lib/ckan/default/bin/activate
    
  2. Install the ckanext-heroslider Python package into your virtual environment:

    pip install ckanext-heroslider
    
  3. 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).

  4. 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
Version
Version release date
(not set)
Contact name
Jay Guo
Contakt email
(not set)
Contact Url
(not set)


Installation Guide

Configuration hints

Works best with ckanext-heroslideradmin for admin interface to manage slider content.

Plugins to configure (ckan.ini)
heroslider
CKAN Settings (ckan.ini)
# ckanext.heroslider.some_setting = some_default_value
DB migration to be executed
(not set)
<< back to Extensions