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.
If you use a selection rule to override the front page using the standard Drupal string of "<front>", the selection rule is borked when it's displayed, e.g.:
This panel will be selected if Node being viewed is type "Category", and Current path is "&lt;front&gt;".
Comment | File | Size | Author |
---|---|---|---|
#5 | add_selection_rule_for_front_page-1282140-4.patch | 1.4 KB | jenlampton |
Comments
Comment #1
travisc CreditAttribution: travisc commentedInstead of using a path how about using some PHP
this should work i think...
Comment #2
DamienMcKenna@travisc: the selection rule does work correctly, the bug is in relation to how the summary information is displayed.
Comment #3
merlinofchaos CreditAttribution: merlinofchaos commentedThis would be a CTools issue.
Comment #4
jenlamptonI think it's a very common use case that people want to select on "is this the front page" or not. How about we provide a selection rule so we don't have to use PHP code?
Comment #5
jenlamptonadded new rule.
Comment #6
jenlamptontagging for backport.
Comment #7
merlinofchaos CreditAttribution: merlinofchaos commentedI feel silly for never having thought about this rule!
Committed to D6 and D7 after fixing the form for D6.