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
- HTTP Client Error Status: a Condition plugin for blocks, checking the status code for 40x range of client errors.
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.