@@ -64,7 +64,8 @@ v1.0.0**.
6464
6565 "post-update-cmd": [
6666 "cp -r 'vendor/rciam/css' 'modules/themevanilla/www/resources'",
67- "cp -r 'vendor/rciam/js' 'modules/themevanilla/www/resources'"
67+ "cp -r 'vendor/rciam/js' 'modules/themevanilla/www/resources'",
68+ "cp 'modules/themevanilla/config-example/module_themevanilla.php' 'config/module_themevanilla.php'"
6869 ]
6970},
7071```
@@ -76,12 +77,16 @@ With the above configuration composer will do several operations:
7677* It will copy the ` css ` and ` js ` directories from the ` vendor/rciam ` directory
7778 in the ` themevanilla/www/resources ` directory, where the static files of the
7879 theme should be placed.
80+ * It will place the configuration file ` module_themevanilla.php ` inside the
81+ ` config ` directory of the installation.
7982
8083### Direct download
8184
8285You can download ` themevanilla.zip ` from the [ release page] ( https://github.com/rciam/simplesamlphp-module-themevanilla/releases ) .
8386Download the zip file of the preferred release and extract its contents in the
8487` modules ` directory of your SimpleSAMLphp installation.
88+ Finally, move ` example-config/module_themevanilla.php ` file to the ` config ` directory
89+ of your SimpleSAMLphp installation.
8590
8691### Clone repository
8792
@@ -97,14 +102,8 @@ You'll need to download or produce them. You can download the compressed
97102directories (` js.zip ` and ` css.zip ` ) from the [ release page] ( https://github.com/rciam/simplesamlphp-module-themevanilla/releases ) and
98103extract them under ` modules/themevanilla/www/resources ` . If you want to produce
99104them, you may read the customisation instructions below.
100-
101- ### Cookie Policy
102-
103- In order to use Cookie Policy page you must copy the configuration file
104- from the ` config-example ` folder to core config directory.
105- ```
106- cp <path-to-module>/config-example/module_themevanilla.php <path-to-simplesamlphp>/config
107- ```
105+ As a last step, move ` example-config/module_themevanilla.php ` file to the ` config `
106+ directory of your SimpleSAMLphp installation.
108107
109108
110109## Configuration
@@ -162,6 +161,16 @@ At the moment there are style rules for the IdPs:
162161* IGTF
163162* LinkedIn
164163* ORCID
164+ * OpenAIRE
165+ * OpenMinTeD
166+
167+ ### Cookie Policy
168+
169+ Cookie policy includes a banner at the bottom of each page that prompts the user to
170+ accept the cookies, along with a Cookies Policy page.
171+ The feature is disabled by default.
172+ To enable it, set ` enable_cookies_banner ` to ` true ` in the configuration file:
173+ ` <path-to-simplesamlphp>/config/module_themevanilla.php ` .
165174
166175
167176## Customization
@@ -186,6 +195,7 @@ You can customise the url of the link of the logo in the header by changing
186195the ` logo_link_url ` definition in ` dictionaries/default.definition.json ` file.
187196
188197### Footer
198+
189199If you want to make any changes in the footer you need to modify the template
190200` footer.php ` that is placed in: ` themevanilla/themes/ssp/default/includes/ ` .
191201
@@ -235,8 +245,15 @@ compiling options.
235245To modify the cookie banner and cookie policy page, you must edit the following files:
236246` <path-to-module>/dictionaries/policy.definition.json `
237247and to modify the table in cookie policy page:
238- ` <path-to-simplesamlphp>/config/module_themevanilla.php `
248+ ` <path-to-simplesamlphp>/config/module_themevanilla.php ` .
239249
250+ ## Compatibility Note
251+
252+ If you want to use the theme with ** SimpleSAMLphp version greater than 1.14** , you
253+ need to rename the template of the discopower module:
254+ ```
255+ themes/ssp/discopower/disco-tpl.php -> themes/ssp/discopower/disco.tpl.php
256+ ```
240257
241258## About SimpleSAMLphp themes
242259
0 commit comments