The DCOR CKAN theme
Project description
The CKAN theme of DCOR. What this plugin does:
remove the language selection from footer.html
remove links from footer.html
set the title of the page to “DCOR”
insert a custom about text
remove social media buttons
change icons / logo
use i18n to change the terms “Organization” -> “Circle”, “Group” -> “Collection”, etc.:
ckan dcor-theme-i18n-branding
create a custom theme based on the default main.css file (hide action buttons (Fullscreen, Embed) in resource view via css, change colors) using:
ckan dcor-theme-main-css-branding
Installation
pip install ckanext-dcor_theme
Edit ckan.ini:
ckan.plugins = [...] dcor_theme
and run the dcor-i18n-hack command:
ckan -c /etc/ckan/default/ckan.ini dcor-i18n-hack
Then, edit ckan.ini again:
ckan.locale_default = en_US
Testing
If CKAN/DCOR is installed and setup for testing, this extension can be tested with pytest:
pytest ckanext
Testing is implemented via GitHub Actions. You may also set up a local docker container with CKAN and MinIO. Take a look at the GitHub Actions workflow for more information.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ckanext_dcor_theme-1.0.0.tar.gz.
File metadata
- Download URL: ckanext_dcor_theme-1.0.0.tar.gz
- Upload date:
- Size: 7.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.23
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
554756282442cd4f5b8f3e0417ccc8ed22196ddd53918f2792545e2f5357ff58
|
|
| MD5 |
42db54407a94a8e045ff7c64951f205a
|
|
| BLAKE2b-256 |
b4f4ddd97db41bd8ba95d568504991f24f80f5a4209a6590c678f25d3c5aa055
|
File details
Details for the file ckanext_dcor_theme-1.0.0-py3-none-any.whl.
File metadata
- Download URL: ckanext_dcor_theme-1.0.0-py3-none-any.whl
- Upload date:
- Size: 7.7 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.23
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a514fdecbc441f6debc2b62bef82bea308cb073f5a8c968fa2de773795c2fcd0
|
|
| MD5 |
1922b80541db3fbaaf469c0deee61c17
|
|
| BLAKE2b-256 |
17caf7f5b47882f8d26bda701c47ee265d047532fefb4aea569b4e9be22e178f
|