Closed (fixed)
Project:
Panels
Version:
5.x-2.0-alpha13
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Nov 2007 at 10:50 UTC
Updated:
1 Jan 2008 at 00:41 UTC
I found out that the panels module puts out a title for a block-node twice. For some reason this resulted in IE not showing the title correctly. Here an example output from panels:
<div class="blockinner">
<h2 class="title block-title">THIS IS THE TITLE</h2> <div class="content">
<div class="node node-mine ntype-snippets even" id="node-5">
<h2 class="title">
<a href="/path/to/node/5"></a>
</h2>
Now my solution is to create a specific content-type for use with panels, and create a theme overridden node output for that type, in which i delete the title part.
Comments
Comment #1
merlinofchaos commentedAww, nuts. This is an unfortunate interaction with two different internal templates. Luckily, I'm planning on changing this behavior somewhat anyway.
But what you're seeing is that the overall panel goes through theme('block') and theme('node'), both of which are placing the title.
However, Panels removes the title from the node so that it only displays in the block (so that the panes are consistent). This *empty* h2 and a tag may be the real culprit, not so much that it's in there twice. And that's going to be tough to fix; the fix may be to tell people to fix their themes to handle the case properly.
Comment #2
merlinofchaos commentedThis isn't fixable within panels, but I have added it to the new known issues list.
Comment #3
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.