The templates and static files in this repository are no longer maintained. We've merged them into our theme extension to simplify maintenance for our team as we work on upgrading to the latest ckan release open-data/ckanext-canada#1012
This CKAN extension adds the Web Experience Toolkit 4.0.x Base theme to CKAN 2.2. This theme is available from the WET-BOEW website.
Please note that this extension does not use the Fanstatic Resource Manager in CKAN. Instead, the WET resources are served directly from the web server.
- Set
wet_boew.url
to the root URL where the WET resources are hosted
Example
wet_boew.url = http://domain.com/wet-boew/v4.0.23
- Extract the WET 4.0.x core CDN and desired themes cdn package to a folder
export WET_VERSION=v4.0.23
mkdir wet-boew && curl -L https://github.com/wet-boew/wet-boew-cdn/archive/$WET_VERSION.tar.gz | tar -zx --strip-components 1 --directory=wet-boew
mkdir GCWeb && curl -L https://github.com/wet-boew/themes-cdn/archive/$WET_VERSION-gcweb.tar.gz | tar -zx --strip-components 1 --directory=GCWeb
mkdir theme-base && curl -L https://github.com/wet-boew/themes-cdn/archive/$WET_VERSION-theme-base.tar.gz | tar -zx --strip-components 1 --directory=theme-base
mkdir theme-gc-intranet && curl -L https://github.com/wet-boew/themes-cdn/archive/$WET_VERSION-theme-gc-intranet.tar.gz | tar -zx --strip-components 1 --directory=theme-gc-intranet
mkdir theme-gcwu-fegc && curl -L https://github.com/wet-boew/themes-cdn/archive/$WET_VERSION-theme-gcwu-fegc.tar.gz | tar -zx --strip-components 1 --directory=theme-gcwu-fegc
mkdir theme-ogpl && curl -L https://github.com/wet-boew/themes-cdn/archive/$WET_VERSION-theme-ogpl.tar.gz | tar -zx --strip-components 1 --directory=theme-ogpl
mkdir theme-wet-boew && curl -L https://github.com/wet-boew/themes-cdn/archive/$WET_VERSION-theme-wet-boew.tar.gz | tar -zx --strip-components 1 --directory=theme-wet-boew
- Set the
extra_public_paths
settings to that path where the files are extracted
Example
extra_public_paths = /home/user/wet-boew/v4.0.23
- Add the desired theme to the
ckan.plugins
configuration (wet_boew
,wet_boew_theme_gcweb
,wet_boew_theme_base
,wet_boew_theme_gc_intranet
,wet_boew_theme_ogpl
)
- wet_theme.geo_map_type: set this value to indicate what style of WET Geomap widget to use. Set this to either 'static' or 'dynamic'.
Example
wet_theme.geo_map_type = static