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 Fletcher29 Sep 2023
Installing CKAN from package on Ubuntu 20.04
 Install the CKAN packageBegin by cleaning up your server environment.  Do this by updating Ubuntu’s package index:sudo apt updateNow you can install the packages that CKAN requires (including ‘git’, which will allow you to install CKAN extensions):sudo apt install -y libpq5 redis-server...
Andrew Fletcher29 Sep 2023
Installing CKAN from source on Ubuntu 20.04
If you're planning to create extensions, generating CKAN from source is the preferred option.  However, even if you have installed from package, you can make adjustments to creating extensions. Set up your serverBegin by cleaning up your server environment.  Do this by updating...
Andrew Fletcher29 Sep 2023
CKAN adding an extension
CKAN extensions - adding to your installation Following the information on the CKAN siteUse the CKAN create command to create an empty extension:Activate your CKAN virtual environment, for example:. /usr/lib/ckan/default/bin/activateThen check your location iscd /usr/lib/ckan/default/srcSo you...