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.
In block.module can yoy define a path when to show a block. It's using a request_uri function to check that. But then, it fails when using aliasses. This patch will replace the request_uri with a _get[q]. Now it works with aliasses as well. I'm no hero with regex, but I tested it with the examples in the help section of the block and it works well this way.
Greetings, Nick
Comment | File | Size | Author |
---|---|---|---|
block_path.patch | 992 bytes | desbeers | |
Comments
Comment #1
Dries CreditAttribution: Dries commentedCommitted to HEAD. Thanks.
Comment #2
Dries CreditAttribution: Dries commentedComment #3
(not verified) CreditAttribution: commented