Closed (fixed)
Project:
Panels
Version:
6.x-3.1
Component:
Mini panels
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Oct 2009 at 15:26 UTC
Updated:
4 Nov 2009 at 21:00 UTC
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.
Comments
Comment #1
Nodin commentedI 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;
}
Comment #2
sp_key commentedI 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.
Comment #3
shadysamir commentedConfirmed. 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.
Comment #4
damienmckennaI'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?
Comment #5
timnorman commentedHappening 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.
Comment #6
damienmckennaI 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.
Comment #7
merlinofchaos commentedInteresting. 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.