Skip to content
This repository has been archived by the owner on Dec 18, 2019. It is now read-only.
/ ckanext-wet-boew Public archive

CKAN extension for the Web Experience Toolkit

License

Unknown, Unknown licenses found

Licenses found

Unknown
COPYING
Unknown
COPYING.fr
Notifications You must be signed in to change notification settings

open-data/ckanext-wet-boew

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

archived

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

ckanext-wet-boew

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.

Configuration Settings

WET Resources

Externally Hosted

  1. 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

Internally Hosted

  1. 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
  1. 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

Selecting a theme

  1. 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)

Additional Configuration

  1. 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

About

CKAN extension for the Web Experience Toolkit

Resources

License

Unknown, Unknown licenses found

Licenses found

Unknown
COPYING
Unknown
COPYING.fr

Stars

Watchers

Forks

Packages

No packages published