Module Description
Description The Theme Negotiation by Rules module allows a site builder to show pages using different themes based on rules. Each rule contains the theme, and the conditions to be met in order to show the that theme. Conditions are condition plugins, such as page path pattern, current user role, current language or even, the type of the node, when the page is a node canonical page. Meaning that custom conditions may be added by contrib or custom modules, such as Route Condition.

Rules can be ordered by priority. The topmost rule whose conditions are met on a certain context (page, user role, etc) wins, and the page is displayed with the rule's configured theme. Rules can be reordered using drag and drop.

Usage
* As a site builder, visit the Appearance page and click the Theme rules tab.
* Use the Add theme rule action button to add new rules.
* You can disable a rule so that it will be ignored on theme negotiation.
* A rule with no conditions is also ignored on theme negotiation.

Similar modules
* Switch Page Theme

Project Usage
168
Creation Date
Changed Date
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
The Theme Negotiation by Rules module aims to solve the issue of showing pages using different themes based on rules and conditions set by the site builder.
Data Name
theme_rule

OPENAI CHATBOT

OPENAI CHATBOT

14:25:15
Generic Chatbot
Hi, I'm a Drupal module expert powered by OpenAI, answering your questions about the Drupal module ecosystem. How can I be helpful today? Please note that we will log your question.