Allows administrators to define universal states that can then be used by Context. Also, provides a permission to enable site editors to toggle these states through a UI.
Example
You are setting up an event application and you want to allow site editors to mark the event as "Sold Out", which then uses Context to hide/show relevant content based on the "Sold Out" state.
- Add the "Sold Out" state in admin/structure/states/define (you can define multiple states as well).
- In your context, select the "States" condition and the "Sold Out" state. Set your reactions accordingly, e.g. 1. use "Blocks" to show content based on the state, 2. use "Regions" to hide regions based on the state, etc.
- Users with the "Edit States" permission can simply toggle between states at any time at admin/structure/states.
Dependencies
Context
Chaos Tools 1.7 or higher (requirement for Context)
Tutorial
Video Tutorial (2.5 min.)
Support
Project information
- Project categories: Administration tools, Content editing experience, Site structure
1 site reports using this module
- Created by evanmwillhite on , updated
Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.




