Customizing CKAN

894 views
718 views

Published on

Slides of OKCon2013
Session: CKAN Workshop - how to use, extend and get involved
see http://okcon.org/technology-tools-and-business/session-b/

Published in: Technology, Business
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
894
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
29
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Customizing CKAN

  1. 1. Customizing CKAN How to customize and extend your default CKAN instance
  2. 2. Ways to customize CKAN ● Configuration interface http://localhost:5000/ckan-admin/config ● Configuration file http://docs.ckan.org/en/latest/configuration.html ● Ready available extensions ● Writing your own extension
  3. 3. Readily available extensions ● ● ● ● ● Core extensions: ○ datastore ○ stats ○ Resource proxy ○ previews: PDF, Text files ckanext-harvest ckanext-spatial ckanext-googleanalytics …
  4. 4. IMapper Model Logic Authorization IAuthFunctions Actions IActions IDomainObjectModification Schema IDatasetForm IGroupForm IPackageController IGroupController ... Controllers Templates IRoutes IResoucePreview ITemplateHelpers Template overriding
  5. 5. Quick practical intro to building your extension Topics: ○ ○ ○ ○ Extensions and plugins, File structure Extend templates Custom routes and pages Authorization, custom actions We will use ckanext-intro: https://github.com/okfn/ckanext-intro

×