Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Block Visibility Conditions

Security covered Under active development 2,223 sites

This module enhances Drupal's block visibility by adding new conditions like "Not Node Type," "Not Taxonomy Vocabulary," and "Not Product Type." These conditions allow blocks to be displayed on all pages *except* those of specific content types, taxonomy vocabularies, or product types, providing more granular control than standard negation.

This module provides some extra block visibility conditions:

  • 'Not Node Type' condition. The block will still be shown on all other pages, including non-content types. This differs from the negated condition "Content types", which will only be evaluated on node pages, which means the block won't be shown on other pages like views.
  • 'Not Taxonomy Vocabulary' condition. The block will still be shown on all other pages, including non-taxonomy term pages. This differs from the negated condition "Taxonomy vocabulary", which will only be evaluated on taxonomy term pages, which means the block won't be shown on other pages like views.
  • 'Not Product Type' condition. The block will still be shown on all other pages, including non-product pages. This differs from the negated condition "Product type", which will only be evaluated on product pages, which means the block won't be shown on other pages like views.

Do not hesitate to contribute other block visibility conditions/plugins through a patch in the issue queue.

Related modules

Drupal 8–11

Ask your assistant about Block Visibility Conditions

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

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
2
Tracked since
Feb 2023
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Active

Releases

Version Type Core PHP Release date
2.2.0 Stable 8–11 Dec 19, 2024
2.1.0 Stable 8–10 Feb 9, 2023