Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Views Bootstrap 5.5.4 — Minor update available for module views_bootstrap (5.5.4). Release: Download Tracker 1.0.7 — Minor update available for module download_tracker (1.0.7). Release: Directory2Block Slideshow 1.0.8 — Minor update available for module directory2block_slideshow (1.0.8). Release: Mautic Audiences 1.1.5 — Minor update available for module mautic_audiences (1.1.5). Release: Rightup theme 1.0.3 — Minor update available for theme vartheme_bs5_rightup (1.0.3). Release: CommentOn 1.0.6 — Minor update available for module commenton (1.0.6). Release: ChatGPT Ads 1.0.3 — Minor update available for module chatgpt_ads (1.0.3). Release: Opensolr Search 5.1.3 — Minor update available for module opensolr_search (5.1.3). Module Revived: Swagger-PHP OpenAPI 3 documentation generator 1.0.0 — Module swagger_php updated after 10 months of inactivity (1.0.0). Security Coverage: Microsoft Azure AI — Module ai_provider_azure now has official Drupal security advisory coverage.

Disable regions like Sidebars from appearing on a specific page.

Occasionally it is helpful to allow an editor to choose to remove regions from rendering on a page. An example of this would be for a site that uses sidebars but also uses core's Layout Builder. Since Layout Builder only renders in the content region, an editor may want to disable a sidebar to allow Layout Builder to use the entire page width.

Another use case is for when an editor wants to overtake an entire page so that they can create it from top to bottom with Layout Builder for something unique like a splash page.

Features

  • Entity and Views pages will offer the ability to select how regions will display from four choices:
    1. Show all available regions
    2. No Sidebars
    3. Remove Body regions (Header and Footer remain)
    4. Remove all regions
  • An admin toolbar shortcut link will be available per page to override its regions.
  • Each node edit form can have the option to select its individual override via a field. This field can be removed on a content type's "Manage form display" page.
  • Each content type can have a default region override that will apply to all of its nodes unless a specific one chooses a different override.
  • Each theme can choose which regions belong to the 3 sections "header", "sidebar", and "footer". These are generic groupings used to determine what regions to hide.
  • The Primary Tabs (view, edit, delete) block will never be removed for an editor so that they do not lose the ability to edit content. Also, the Content region will always be displayed.
  • Content Type defaults are saved to config as ThirdPartySettings that can be exported. Each individual node or view override is saved as content so will not be part of config management.
  • Page theme suggestions are offered for each override type.

Basic Setup

  1. Enable the module (clear the cache if something isn't showing).
  2. Set permissions for the users roles that should be allowed to override regions.
  3. Set defaults on each node content type for how regions should display on the Content Type's "Edit" page.
  4. Edit a theme's settings and choose which regions belong to "header", "sidebar", and "footer" sections.

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

Tracked releases
7
Tracked since
Jan 2024
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Release Timeline

Releases

Version Type Core Release date
1.0.0-alpha7 Pre-release May 21, 2024
1.0.0-alpha6 Pre-release May 15, 2024
1.0.0-alpha5 Pre-release Apr 24, 2024
1.0.0-alpha4 Pre-release Apr 10, 2024
1.0.0-alpha3 Pre-release Apr 9, 2024
1.0.0-alpha2 Pre-release Apr 9, 2024
1.0.0-alpha1 Pre-release Jan 18, 2024