Render of the block display theme mode
Configuration of the block footer top
Render of the block footer top

Add new features for the UI Suite theme UI Suite DSFR.

This module mainly exists to be able to provide blocks for the UI Suite DSFR theme.

Versions

2 branches are maintained:

Branch UI Suite DSFR version
1.0.x 1.0.x
1.1.x 1.1.x




Features

Feature UI Suite DSFR version
Display theme mode
Provides two new blocks, one to add the link display theme mode (light,dark and system) and one for the modal display theme mode
1.0, 1.1
Display consent banner
Provides one new block to add the consent banner.
1.0
Multiple menus footer top
Provides a new block with configuration capability to add multiple menu and order them. The block is rendered inside a menu with the footer top patterns of UI Suite DSFR.
1.0

Installation

Install as you would normally install a contributed Drupal module. Visit https://www.drupal.org/docs/extending-drupal/installing-modules for further information.

Additional Requirements

Required : https://www.drupal.org/project/ui_suite_dsfr

How to use

-Install the module

Display theme mode

-Add the new block "UI Suite dsfr display button" to the header tools link region (or footer bottom)
-Add the new block "UI Suite dsfr display modal" to the content region

Display consent banner

-Add the new block "UI Suite dsfr Consent banner" to the content region

Multiple menus footer top

-Add the new block "footer top menu"
-Go to the configuration of the block
-Select multiple menus and order them

What is rendered

Display theme mode

You can edit the config of the block to set the wording. Also you can select what mode are available.
The link must be set inside header tool link or footer bottom regions to be rendered with the proper class. Also the modal needs to be inside the content region.

Display consent banner

You can edit the config of the block to set the wording. Also you can easily add multiple service for the consent manager part.
Concerning the services inside the consent manager, for now you can't add service below (nested servce)

Multiple menus footer top

Only one level can be rendered, in accordance with the menu top pattern specs. So by default the menu will render only the first level of menu. You have an option inside the configuration of block to start after the first level. In more you can flatten menu to get multiple level.

Welcome contirbution ideas

All ideas for new features not available or integrable through the theme are welcome. Don't hesitate to create a new issue

Supporting organizations: 

Project information

Releases