Extension Grouplabel


Extension Basics

Title
Grouplabel
Name
ckanext-grouplabel
Type
Public extension
Description
A plugin for customizing CKAN group labels
CKAN versions

~2.9.5

Show details

These CKAN Versions are exactely matched:

Download-Url (zip)
Last commit
3 years ago (2022-08-19 14:03:51)
Url to repo
Category
Specialized Tools


Background Infos

Description (long)
Show details

CKAN plugin for rendering “groups” as “categories

This extension overrides all the .po entries defined in CKAN which contain references to groups.

The msgids have been extracted from a CKAN 2.9.5, so they may mismatch if used with other CKAN versions.

Avalable languages so far: it, en, en_GB

Plugins

Available plugins in this extension:

  • grouplabel: Replaces the label “group” with “category”.

Requirements

No requirements.

Installation

  1. Activate your CKAN virtual environment, for example:

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

  2. Go into your CKAN path for extension (e.g. /usr/lib/ckan/default/src):

    git clone https://github.com/geosolutions-it/ckanext-grouplabel.git
    cd ckanext-grouplabel 
    pip install -e .
    
  3. Add grouplabel 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

Development notes

Entries in the .po files have been created by hand, mainly grepping the CKAN i18n files.

Only the python setup.py compile_catalog command has been issues, since there are not templates in this extension.

Version
Version release date
(not set)
Contact name
hand, mainly grepping the CKAN i18n files.
Contakt email
(not set)
Contact Url
(not set)


Installation Guide

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

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

  2. Go into your CKAN path for extension (e.g. /usr/lib/ckan/default/src):

    git clone https://github.com/geosolutions-it/ckanext-grouplabel.git
    cd ckanext-grouplabel 
    pip install -e .
    
  3. Add grouplabel 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.

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