It seems that using the system block style, I can not get the title of my content panes to disappear.
On the pane settings form I have checked the box to "override title" and typed < none > in the box, but the title still shows.
I then went to block settings (ew!) and also configured the blocks to have their titles hidden, just incase the block style pulled the setting from block settings instead of pane settings, but the titles still show on the panes.
Is it possible to hide pane titles when using the default "system block" style? I think I remember this working in the past, perhaps a new bug.
(It looks like the "Override title" setting *does* work if all you want to do is change the title - it's just the "none" that doesn't seem to work.)
edit: it looks like the "none" does still work when using "No style".
Comments
Comment #1
merlinofchaos CreditAttribution: merlinofchaos commentedOh this is probably because blocks use $block->subject and panes use $block->title -- maybe if the title is empty it doesn't get moved to subject and the original title sticks or something.
Comment #2
jenlamptonThat sounds about right.
I found an
Which looks like it prevents an empty title from becoming an empty subject.
Is there any harm in removing that check entirely?
Comment #3
merlinofchaos CreditAttribution: merlinofchaos commentedThat might cause a fail if override title is NOT checked?
Comment #4
Letharion CreditAttribution: Letharion commentedComment #5
jenlampton- Overriding the title with text works as expected.
- Overriding the title with "none" removes the title.
- Not overriding the title lets the block subject show through.
What else should I test to get this possible error?
Comment #6
jenlamptonpatch still applies to latest version of panels.
Comment #7
jenlamptonstill adding this patch to every site I deploy with panels (and that's all of them) :)
Comment #8
jenlamptonPatch stopped applying cleanly. rerolled.
Comment #9
merlinofchaos CreditAttribution: merlinofchaos commentedThere's a different patch in http://drupal.org/node/1912174 for D7 (probably this one never gets seen because I have not been paying much attention to D6 lately, sadly)
Comment #9.0
merlinofchaos CreditAttribution: merlinofchaos commentedadded results of more testing
Comment #10
DamienMcKennaComment #11
vijaycs85Port back of D7 patch in #1912174: Notice: Undefined property: stdClass::$subject
Comment #12
Sharique CreditAttribution: Sharique commentedThe patch looks good to me.
Comment #13
japerryDoesn't appear to work in d6.
Comment #14
DamienMcKennaBumping to the next release.
Comment #15
japerryNo one replied, not getting fixed.
Comment #16
jenlamptonThe patch in #11 is working for me on Drupal 7.
Comment #17
DamienMcKennaComment #18
joseph.olstadretriggered tests
Comment #19
joseph.olstadIf you're using the latest dev release of panels 7.x-3.x you should no longer need this patch.
if you experience this issue, please upgrade to the latest dev 7.x-3.x dev release or the next stable release hopefully soon.