Extension Hro Theme


Extension Basics

Title
Hro Theme
Name
ckanext-hro_theme
Type
Public extension
Description
A custom theme for OpenData.HRO, the open data portal of the municipality of Rostock
CKAN versions
Download-Url (zip)
Last commit
3 months ago (2025-09-23 07:50:25)
Url to repo
Category
Regional Government Themes


Background Infos

Description (long)
Show details

Extension for CKAN: HRO-theme

A custom theme for OpenData.HRO, the open data portal of the municipality of Rostock – view it in production: https://www.opendata-hro.de

Requirements

CKAN

Installation

  1. Activate your CKAN virtual Python environment, for example:

    . /usr/lib/ckan/default/bin/activate
    
  2. Install HRO-theme into your virtual Python environment:

    pip install -e 'git+https://github.com/rostock/ckanext-hro_theme.git#egg=ckanext-hro_theme'
    
  3. Add hro_theme 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 have deployed CKAN with Apache HTTP Server on Ubuntu:

    sudo service apache2 reload
    

Upgrade

  1. Activate your CKAN virtual Python environment, for example:

    . /usr/lib/ckan/default/bin/activate
    
  2. Upgrade HRO-theme within your virtual Python environment:

    pip install --upgrade -e 'git+https://github.com/rostock/ckanext-hro_theme.git#egg=ckanext-hro_theme'
    
  3. Restart CKAN. For example, if you have deployed CKAN with Apache HTTP Server on Ubuntu:

    sudo service apache2 reload
    

Translation

  1. Create or update the file ckanext/hro_theme/i18n/ckanext-hro_theme.pot by extracting all translatable strings into it:

    cd /usr/lib/ckan/default/src/ckanext-hro-theme
    python setup.py extract_messages
    
  2. If necessary, create a new translation for your language – this will generate a new directory ckanext/hro_theme/i18n/YOUR_LANGUAGE with a LC_MESSAGES/ckanext-hro_theme.po file containing all the untranslated strings:

    python setup.py init_catalog --locale <YOUR_LANGUAGE>
    
  3. Start editing either the new po file you created before or one of the existing po files:

    msgid "This is an untranslated string!"
    msgstr "This is a translated string!"
    
  4. Comp

Version
2.0.8
Version release date
2023-11-28
Contact name
(not set)
Contakt email
(not set)
Contact Url
(not set)


Installation Guide

Configuration hints
  1. Activate your CKAN virtual Python environment, for example:

    . /usr/lib/ckan/default/bin/activate
    
  2. Install HRO-theme into your virtual Python environment:

    pip install -e 'git+https://github.com/rostock/ckanext-hro_theme.git#egg=ckanext-hro_theme'
    
  3. Add hro_theme 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 have deployed CKAN with *Apa
Plugins to configure (ckan.ini)
hro_theme
CKAN Settings (ckan.ini)
DB migration to be executed
(not set)
<< back to Extensions