Yet Another Yellow Box
This module allows administrators to easily create and manage a prominent yellow box on the homepage for urgent announcements. It provides a simple way for non-block editors to update these messages, with options to toggle visibility and customize the content, often used for critical alerts like school closings.
In my roles first as network administrator, and now as a web architect, it seems over the years that every time we turn around, management is always asking us to stick yet another yellow box on the home page making some sort of emergency announcement.
The Yet Another Yellow Box (YAYB) module is a quick way to create a block of filtered text whose contents may be managed by users who don't have permission to manage blocks. The YAYB module provides its own permission level and simply stores its data in the variables table. The block maintainer will be able to toggle the display off and on and adjust the message. This is mostly being used to announce weather-related school closings on sites where I've been using it.
To implement this module, install it as any other module, use the blocks administration page to determine placement, and assign appropriate permissions. This module provides some rather emphatic CSS styling which may be overridden in the site's theme if desired.
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Release Timeline
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 1.2.2 | Stable | 11 | Minor coding-standards update. | Jul 16, 2026 | |
| 1.2.1 | Stable | 11 | Minor update to move theme preprocess hook to autowired service. | Jul 1, 2026 | |
| 1.2.0 | Stable | 11 | This is a maintenance and bugfix release that adds support for Drupal 12. | Jun 17, 2026 | |
| 1.2.x-dev | Dev | 11 | Update for bug fixes, autowiring, etc. | Aug 18, 2025 |