Extension Stadt Zürich Theme


Extension Basics

Title
Stadt Zürich Theme
Name
ckanext-stadtzh-theme
Type
Public extension
Description
CKAN theme for the Open Data Portal of the City of Zurich providing custom styling, autosuggestion, and administrative paster commands.
CKAN versions

~2.11

Show details

These CKAN Versions are exactely matched:

Download-Url (zip)
Last commit
12 days ago (2026-02-25 12:01:08)
Url to repo
Category
Regional Government Themes


Background Infos

Description (long)
Show details

ckanext-stadtzh-theme

CKAN theme for the City of Zurich (data.stadt-zuerich.ch).

Features

  • Custom theme for the Open Data Portal of the City of Zurich
  • Autosuggestion logic via Solr /suggest handler
  • Action ogdzh_autosuggest with params q (search term) and cfq (facet context)
  • Markdown snippets for resources
  • SQL Workbench badges
  • URL encoding features

Paster Commands

  • cleanup_datastore: Finds orphaned datastore tables and deletes rows to free DB space
  • cleanup_filestore: Finds orphaned storage files/directories and deletes them

Requirements

  • CKAN 2.11

Installation

To install ckanext-stadtzh-theme:

  1. Activate your CKAN virtual environment.
  2. Clone the source and install it: git clone https://github.com/opendatazurich/ckanext-stadtzh-theme.git cd ckanext-stadtzh-theme pip install -e . pip install -r requirements.txt
  3. Add stadtzhtheme to the ckan.plugins setting in your CKAN config file.
  4. Restart CKAN.

Live Instance

https://data.stadt-zuerich.ch/

License

AGPL-3.0

Version
1.1.9
Version release date
2025-06-11
Contact name
Open Data Zurich
Contakt email
(not set)
Contact Url
(not set)


Installation Guide

Configuration hints

Requires Solr suggest handler for autosuggestion feature. Provides paster commands for datastore and filestore cleanup.

Plugins to configure (ckan.ini)
stadtzhtheme
CKAN Settings (ckan.ini)
DB migration to be executed
(not set)
<< back to Extensions