Skip to content

datopian/ckanext-birmingham

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ckanext-birmingham

CKAN plugins for CKAN Birmingham.

birmingham

Custom template for Birmingham for homepage.

up_to_n_editors

Restricts the number of sysadmins, organization admins and organization editors that a site can have. The default is 3 editors, to customize in config file:

ckan.plugins = up_to_n_editors
ckan.birmingham.max_editors = 6

customizable_featured_image

Allows the featured image, alt text and caption (in the middle of the front page in the default CKAN theme) to be customized with config settings:

ckan.plugins = customizable_featured_image
ckanext.birmingham.featured_image = /birmingham_featured_image.jpeg
ckanext.birmingham.featured_alt_text = Birmingham!
ckanext.birmingham.featured_caption = This is Birmingham

To get no caption set it empty:

ckanext.birmingham.featured_caption =

Tests

To run the tests:

nosetests --with-pylons=test.ini

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published