Advertising sustains the DA. Ads are hidden for members. Join today

Contributed module documentation

Conditional Message

This guide has not yet been reviewed by Contributed module documentation maintainer(s) and added to the menu.

INTRODUCTION

Conditional message is designed to display custom messages to a targeted audience with minimal effort and maximum flexibility.

This module tries to follow the best practices and allows the site to be cached as usual. As a result it provides a personalized experience to the user while not degrading performance.

Versions

The Drupal 8/9+ version allows the creation of multiple messages based on different criteria since version 8.x-1.0-alpha5. It also handles message translation since 8.x-1.0-beta5.
On Drupal 7 you can have one site control the message on other multi-sites. Setup the module then enable conditional_message_client module on all other multi-sites and configure them to point to the site you configured initially. Please consider that this setup is complex and might require custom configuration of your servers/domains.

Installation and configuration

Instructions to install and use conditional message module.

Configure Varnish cache

How to configure varnish with fastly to avoid caching issues with conditional message.

Guide maintainers

wranvaud's picture