Skip to main content

Location of the base templates

cd /usr/lib/ckan/default/src/ckan/ckan/templates

Whereas as the location of the plugin that displays the new template

cd /usr/lib/ckan/default/src/ckanext-{project}/ckanext/{project}/templates

To alter the home main page, edit the 

cd /usr/lib/ckan/default/src/ckanext-{project}/ckanext/{project}/templates/home/index.html


Related articles

Andrew Fletcher16 Aug 2022

Installing CKAN from package on Ubuntu 20.04

  Install the CKAN package Begin by cleaning up your server environment.  Do this by updating Ubuntu’s package index: sudo apt update Now you can install the packages that CKAN requires (including ‘git’, which will allow you to install CKAN extensions): sudo apt install...
Andrew Fletcher05 Aug 2022

server 500 error - 'Internal server error' on Nginx

Finding the issue with a server 500 error The Nginx error logs are showing too much detail.   Nginx logs and test There are no errors in the nginx log and sudo nginx -t looks fine sudo nginx -t Response nginx: the configuration file /etc/nginx/nginx.conf syntax is...
Andrew Fletcher05 Aug 2022

ckan.ini issues

Focusing on the ckan.ini file (/etc/ckan/default/ckan.ini).  When I run the commands to recreate the database tables for CKAN: cd /usr/lib/ckan/default/src/ckan ckan -c /etc/ckan/default/ckan.ini db init The response I'm getting is: Option ckan.requests.timeout is not...