Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This project is not covered by Drupal’s security advisory policy.
This module gives greater control over the block visibility setting allowing you to do things like.
* Negate paths using a !
- Negate paths using a !
- You can easily say something like
products/* !products/cheese/
The block will show on every products/* page, except products/cheese/
- Use Regular Expressions
- This is pretty simple, this allows you to use any kind of regular expression you wish to match to your path. It only requires using a
#
to start end end the expression.
Exampleproducts/* #catalog/[^/]+$# search/*
NOTE: You cannot combine both Regex and Negate.
You can get pretty complex with what you want to do. With regular expressions you can pretty much match anything you want.
Project information
- Maintenance fixes only
Considered feature-complete by its maintainers. - Module categories: Content Display
- Created by dubcanada on , updated
- This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.