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.
It currently only compares with either the internal path or the aliased path rather than both. i.e. the result of drupal_get_path_alias($_GET['q']);
.
Patch attached.
Thanks,
-K
Comment | File | Size | Author |
---|---|---|---|
block_visibility_1.patch | 1.34 KB | Zen | |
Comments
Comment #1
gregglesI just marked http://drupal.org/node/69346 as a duplicate of this issue. It's confusing to users and this seems like a handy idea.
The concern I have is related to the performance of adding this extra check, but that seems like a minor issue.
Comment #2
killes@www.drop.org CreditAttribution: killes@www.drop.org commentedmoving to cvs, will backport if this gets applied. I generally think this is a good idea. Question is how much performance penalty we get.
Comment #3
drummCommitted to HEAD.
Comment #4
(not verified) CreditAttribution: commentedComment #5
Zen CreditAttribution: Zen commentedThis needs to be applied to 4-7 as well. Patch still applies with an offset.
-K
Comment #6
killes@www.drop.org CreditAttribution: killes@www.drop.org commentedbackported
Comment #7
(not verified) CreditAttribution: commented