This is a graphical theme for Self Service Password.
DSFR is provided by French Governement.
Deploy Self Service Password on your server.
Minimal version required: 1.8 (or 1.7 with patch for customized template)
The needed files can be installed form the official git repository.
Copy them to htdocs/vendor/dsfr
in the Self Service Password installation directory.
Copy these files into the Self Service Password installation directory:
templates/dsfr/*
: all overriden template fileshtdocs/css/dsfr/dsfr.css
: custom CSS file
In your config.inc.local.php
adjust these settings:
$custom_tpl_dir = "templates/dsfr";
$background_image = "";
$custom_css = "css/dsfr/dsfr.css";
Configure some messages:
$messages['dsfr_entity_name'] = "Ministère<br>...<br>...";
To test the theme from current git repository, you will need:
- Docker image of Self Service Password
- The DSFR framework file
- A local SSP configuration file with at least theme configuration described above
You can then run the Docker image with local volumes:
docker run -p 8080:80 \
-v /path/to/conf/config.local.inc.php:/var/www/conf/config.inc.local.php \
-v /path/to/dsfr/dist:/var/www/htdocs/vendor/dsfr \
-v $PWD/templates/dsfr:/var/www/templates/dsfr \
-v $PWD/htdocs/css/dsfr:/var/www/htdocs/css/dsfr \
-it docker.io/ltbproject/self-service-password:latest
Then connect on http://localhost:8080