Mini Panel Title will not be overriden in the block configuration
sp_key - October 17, 2009 - 15:26
| Project: | Panels |
| Version: | 6.x-3.1 |
| Component: | Mini panels |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
I think this started on my latest panels update.
I've emptied my cache many times so I don't think this is the problem.

#1
I can confirm, this occurs after installing the latest Panels update 6x-3.1. Specifying "<none>" in the minipanel title does not remove the title from display. Specifying a title does not display as well. Only the mini panel Block title ever displays. All mini panels on my sites now have unwanted titles.
As a quick workaround, you can hide the title with css;
..let's say you created a mini panel called "copyright". This will generate a div with an ID of something like "block-panels_mini-copyright". So you could then edit your style sheet to hide it like the following;
#block-panels_mini-copyright h2 {
display:none;
}
#2
I don't know if specifying "" in the minipanel title should remove it from display.
Specifying "" in the minipanel block title used to remove it as it overrode the mini-panel title.
It now clearly doesn't.
What worked for me is leave the mini panel title blank.
I don't particularly like this way but it works just as well as the css solution.
#3
Confirmed. Happens with me too. And since the first release I use is 6.x-3.1 I am not sure if this is different in earlier releases.
Setting the mini-panel title to blank is the only way to get rid of the title when displaying the block.
#4
I'm also seeing problems with titles - none of the changes I've made to pane titles are retained, regardless of whether it's a block, a node or anything else, it just shows the default. Is this related enough to be included in the one issue or should I open another one?
#5
Happening with me too when I upgraded to the latest 6.x-3.1 Should have tested it on my development server before putting it live, but I was feeling a little lucky I guess.
#6
I forcibly updated my site (deleted all of the ctools/panels files, updated again from our repository) and it seems to be working now, I think I had a local file stuck or something.
#7
Interesting. In hook_block() if you use $block['title'] it works but the title can't be overridden. It should have been using $block['subject'].
Fixed in -dev.
#8
Automatically closed -- issue fixed for 2 weeks with no activity.