Drupal is a registered trademark of Dries Buytaert
drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). eca 3.1.1 Minor update available for module eca (3.1.1). layout_paragraphs 2.1.3 Minor update available for module layout_paragraphs (2.1.3). ai 1.3.3 Minor update available for module ai (1.3.3). ai 1.2.14 Minor update available for module ai (1.2.14). node_revision_delete 2.0.3 Minor update available for module node_revision_delete (2.0.3). moderated_content_bulk_publish 2.0.52 Minor update available for module moderated_content_bulk_publish (2.0.52). klaro 3.0.10 Minor update available for module klaro (3.0.10). klaro 3.0.9 Minor update available for module klaro (3.0.9). layout_paragraphs 2.1.2 Minor update available for module layout_paragraphs (2.1.2). geofield_map 11.1.8 Minor update available for module geofield_map (11.1.8).

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. Fully multilingual, token-enabled, and theme-friendly.

Features

  • Display banners based on paths, wildcard patterns, content types, Views (machine name or path), or route names.
  • Multilingual support with automatic fallback if translation is missing.
  • Token support for dynamic banner titles and content (e.g., [node:title], [current-user:name]).
  • Shared banner images across languages.
  • Custom CSS classes for flexible styling.
  • Advanced Twig template suggestions for themers.
  • Performance-friendly caching with proper cache contexts and tags.

Use cases: Different banners per page, section-specific banners, View-based banners, multilingual banner management, reusable configuration-based solution.

Post-Installation

After installing:

  1. Navigate 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 body text (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 or hero modules usually rely on block visibility or per-page manual placement. Section Banner differs by providing:

  • Unified rule-based banner management
  • Support for paths, Views, bundles, and routes
  • Multilingual fallback handling
  • Advanced Twig template suggestions

Activity

Total releases
2
First release
Feb 2026
Latest release
2 months ago
Release cadence
0 days
Stability
100% stable

Releases

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