Extension Content Management System


Extension Basics

Title
Content Management System
Name
ckanext-content
Type
Public extension
Description
Modern content management with custom types
CKAN versions

~2.9, ~2.10, ~2.11

Show details
Download-Url (zip)
Download-Url commit date
2024-09-01
Url to repo
Category
Content Management


Background Infos

Description (long)
Show details

Modern and flexible content management extension for CKAN. Replaces legacy extensions like ckanext-pages and ckanext-showcase with schema-driven, configurable solution supporting custom content types, translations, file uploads, templating, and URL aliasing. Define multiple content types (Pages, Reports, Banners) via YAML configuration with scheming-like syntax for fields, form controls, validation, and rendering. Features automatic clean URL generation with configurable prefixes (/blog/, /page/), custom templates per type, file/image attachment support, and admin UI for managing all content. Highly recommended to use with ckanext-scheming for extended field types and validators. Works well with ckanext-menu for navigation and ckanext-media for consistent media management across content types.

Version
0.0.1
Version release date
2024-09-01
Contact name
Yan Rudenko
Contakt email
Contact Url
(not set)


Installation Guide

Configuration hints

Installation:

1. Activate CKAN virtual environment:

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

2. Clone and install:

git clone https://github.com/Datashades/ckanext-content.git

cd ckanext-content

pip install -e .

3. Add ‘content’ to ckan.plugins in config file

4. Initialize database:

ckan -c CKAN_CONFIG_PATH db upgrade -p content

5. Restart CKAN

#

Main Features:

- Custom Content Types via YAML configuration

- Schema-Based Configuration (scheming-like syntax)

- Alias Support (clean URLs with /blog/, /page/ prefixes)

- Custom Templates per Type

- File Upload Support

- Admin UI for content management

#

Use Cases:

- Add Pages, News, Blog content beyond Datasets/Groups/Orgs

- Avoid separate CMS integration via APIs

- Attach Showcases to Datasets

- Display content tiles on Homepage

#

Recommended Extensions:

- ckanext-scheming: Extended field types, validators, presets

- ckanext-menu: Custom navigation menus

- ckanext-media: Consistent media management

#

Documentation:

https://datashades.github.io/ckanext-content/

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