Extension GCBA Andino Theme


Extension Basics

Title
GCBA Andino Theme
Name
ckanext-gcbaandinotheme
Type
Public extension
Description
Visual theme plugin for the Buenos Aires City Open Data Portal (Andino). Customizes the appearance and adds specific sections for GCBA.
CKAN versions
Download-Url (zip)
Last commit
6 years ago (2019-04-11 17:27:09)
Url to repo
Category
Regional Government Themes


Background Infos

Description (long)
Show details

ckanext-gcbaandinotheme

Visual theme plugin for the Open Data Portal of the Autonomous City of Buenos Aires for Andino.

Installation Instructions

  1. Access the host where Andino is installed.
  2. Enter the portal container (docker-compose exec bash).
  3. Inside the portal container, activate the CKAN virtualenv: . /usr/lib/ckan/default/bin/activate.
  4. Install the plugin with pip: pip install -e git+https://github.com/datosgcba/ckanext-gcbaandinotheme.git@539c803ba60eec52945216dce2ab1073f132ea42#egg=ckanext-gcbaandinotheme
  5. Edit the file /etc/ckan/default/production.ini and modify:
    • Add gcbaandinotheme to the list of plugins immediately before gobar_theme.
    • Add andino.base_page = gcba_base_page.html within the [app:main] section.
  6. Restart Andino.

Installation of ckanext-security

The plugin ckanext-security allows improving the security parameters of a CKAN instance, for example:

  • Automatic blocking of failed login attempts.
  • Automatic session expiration.
  • Secure password policies.

New “About” Sections

To add a new section to the “About” menu, you need to create a new HTML template following the Andino documentation instructions. Templates should be uploaded to the ckanext/gcbaandinotheme/templates directory.

Adding New Elements to the Stories Section

The “Stories” section is composed of an HTML template located at ckanext/gcbaandinotheme/templates/historias.html and a set of png images located at ckanext/gcbaandinotheme/public/img/historias.

To add a story, you need: 1. The URL where the story is hosted. 2. Story title. 3. Story description. 4. Story image.

Version
Version release date
(not set)
Contact name
GCBA - Gobierno de la Ciudad de Buenos Aires
Contakt email
(not set)
Contact Url


Installation Guide

Configuration hints

Designed for Andino platform. Requires gobar_theme plugin. Can be combined with ckanext-security for enhanced security features.

Plugins to configure (ckan.ini)
gcbaandinotheme
CKAN Settings (ckan.ini)
# andino.base_page = gcba_base_page.html
DB migration to be executed
(not set)
<< back to Extensions