Extension Statictheme


Extension Basics

Title
Statictheme
Name
ckanext-statictheme
Type
Public extension
Description
The **statictheme** extension for CKAN provides a mechanism for customizing the visual appearance o
CKAN versions
Download-Url (zip)
Last commit
a month ago (2025-12-01 12:05:50)
Url to repo
Category
Standards Compliance


Background Infos

Description (long)
Show details

Tests

ckanext-statictheme

Static theme and template for NFDI4Chem. Used to for HTML, CSS changes as recommened by offical CKAN doc.

Requirements

No external requirements needed.

If your extension works across different versions you can add the following table:

Compatibility with core CKAN versions:

CKAN version Compatible?
2.8 and earlier not tested
2.9 yes

Installation

This theme is internally for NFDI4Chem Ckan overarching search service.

To install ckanext-statictheme:

  1. Activate your CKAN virtual environment, for example:

    . /usr/lib/ckan/default/bin/activate

  2. Clone the source and install it on the virtualenv

    git clone https://github.com/bhavin2897/ckanext-statictheme.git cd ckanext-statictheme pip install -e . pip install -r requirements.txt

  3. Add statictheme to the ckan.plugins setting in your CKAN config file (by default the config file is located at /etc/ckan/default/ckan.ini).

  4. Restart CKAN. For example if you’ve deployed CKAN with Apache on Ubuntu:

    sudo service apache2 reload

    or if using deployed production server

    restart Supervisor and Nginx

Config settings

None at present

TODO: Document any optional config settings here. For example:

# The minimum number of hours to wait before re-checking a resource
# (optional, default: 24).
ckanext.statictheme.some_setting = some_default_value

Developer installation

To install ckanext-statictheme for development, activate your CKAN virtualenv and do:

git clone https://github.com/Bhavhub/ckanext-statictheme.git
cd ckanext-statictheme
python setup.py develop
pip install -r dev-requirements.txt

Tests

To run the tests, do:

pytest --ckan-ini=test.ini
Version
Version release date
(not set)
Contact name
(not set)
Contakt email
(not set)
Contact Url
(not set)


Installation Guide

Configuration hints

This theme is internally for NFDI4Chem Ckan overarching search service.

To install ckanext-statictheme:

  1. Activate your CKAN virtual environment, for example:

    . /usr/lib/ckan/default/bin/activate

  2. Clone the source and install it on the virtualenv

    git clone https://github.com/bhavin2897/ckanext-statictheme.git cd ckanext-statictheme pip install -e . pip install -r requirements.txt

  3. Add statictheme to the ckan.plugins setting in your CKAN config file (by defaul

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