Extension User Affiliation


Extension Basics

Title
User Affiliation
Name
ckanext-useraffiliation
Type
Public extension
Description
Adds job title and affiliation fields to the CKAN user profile schema, displayed in registration, edit, and profile views.
CKAN versions
Download-Url (zip)
Last commit
3 years ago (2022-08-22 14:45:19)
Url to repo
Category
Content Management


Background Infos

Description (long)
Show details

ckanext-useraffiliation

This CKAN extension adds:

  • job title; and
  • affiliation

to the CKAN user schema displaying these fields in:

  • registration form;
  • user edit form; and
  • user profile tile.

Requirements

This extension is tested with CKAN 2.9 for python3 only.

Installation

To install ckanext-useraffiliation:

  1. Activate your CKAN virtual environment, for example:
. /usr/lib/ckan/default/bin/activate
  1. Install the ckanext-useraffiliation Python package into your virtual environment:
pip install ckanext-useraffiliation
  1. Add useraffiliation to the ckan.plugins setting in your CKAN config file (by default the config file is located at /etc/ckan/default/production.ini).

  2. Restart CKAN. For example if you’ve deployed CKAN with Apache on Ubuntu:

sudo service apache2 reload

Configuration

Ensure you have read and completed step 4 of the Installation section above. This step is essential CKAN configuration required for this plugin to work.

There are no configuration options for this plugin.

Running the Tests

To run the tests, do:

pytest --ckan-ini=test.ini

With thanks…

This extension has been built by Fjelltopp with funding from UNAIDS as part of the AIDS Data Repository project: https://adr.unaids.org

Version
Version release date
(not set)
Contact name
Chas Nelson
Contakt email
(not set)
Contact Url
(not set)


Installation Guide

Configuration hints

Tested with CKAN 2.9 for Python 3 only. No configuration options required.

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