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.
When you add the page_slogan pane to a page you're specifically looking to display the site slogan. Given this pane is so simple, you wouldn't be adding it to a page if you *didn't* want the slogan displayed. As a result, it doesn't make any sense to then also check the theme settings to see if the slogan should be displayed.
Comment | File | Size | Author |
---|---|---|---|
#3 | ctools-n1921612.patch | 893 bytes | DamienMcKenna |
Comments
Comment #1
merlinofchaos CreditAttribution: merlinofchaos commentedI cannot fault the logic. Patch?
Comment #2
DamienMcKennaThis patch removes the logic that was checking the theme settings so that the block is always displayed if it's added to a page (which is what most people would expect).
Comment #3
DamienMcKennaComment #4
merlinofchaos CreditAttribution: merlinofchaos commentedLooks reasonable to me.
Comment #5
DamienMcKennaFYI the patch also works on D6.
Comment #6
japerryRegression tested, fixed, and committed:
http://drupalcode.org/project/ctools.git/commit/5d0ac370d064418111595fda...