Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This module allows you to display dynamic banners on specific parts of your website, such as individual pages, content types, or views, without needing to write code. You can configure banners with titles, descriptions, and images, and they support multiple languages, tokens for dynamic content, and can be styled using custom CSS.

Introduction

Section Banner allows site builders to display dynamic banners on specific pages, content types, Views, or routes without custom code. Each banner can include a title, description, and image. It is fully multilingual, token-enabled, and theme-friendly.

Features

  • Display banners based on paths, wildcard patterns, content types, Views, or route names.
  • Multilingual support with automatic fallback when translation is missing.
  • Token support for dynamic content (e.g., node title, current user name).
  • Shared banner images across languages.
  • Custom CSS classes for flexible styling.
  • Provides a Twig template (section-banner-block.html.twig) which can be overridden in your theme to fully customize the markup and match your design requirements.
  • Performance-optimized caching with proper cache contexts and tags.

Use cases: Page-specific banners, section landing banners, View-based banners, multilingual banner management, and reusable configuration-driven banners.

Post-Installation

After installing:

  1. Go to Configuration → Content authoring → Section Banner (/admin/config/content/section-banner).
  2. Select the language to configure.
  3. Create or edit banners:
    • Enter banner title and description (supports tokens)
    • Upload a banner image (shared across languages)
    • Define display rules (paths, Views, bundles, routes)
    • Add optional CSS classes
  4. Place the Section Banner Block via Structure → Block layout.

No new content types are created. Clear cache after configuration changes to ensure banners display correctly.

Similar projects

Other banner modules typically rely on block visibility or manual placement. Section Banner provides a more flexible approach:

  • Unified rule-based banner management
  • Support for paths, Views, bundles, and routes
  • Multilingual fallback handling
  • Full Twig override support using section-banner-block.html.twig for complete theming control

Activity

Total releases
2
First release
Feb 2026
Latest release
5 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Releases

Version Type Release date
1.0.1 Stable Feb 2, 2026
1.0.0 Stable Feb 2, 2026