I'm not sure if this is a panel or cck issue but i noticed that when I override a field template in my theme folder (for example content-field-field_field_name.tpl.php) the pane which renders that field is displayed even if the field is empty.
If i remove the template file the pane doesn't show the empty field pane anymore.
i checked that my overridden template has the conditional statement
if (!$field_empty) :
but even if i use the same code of the default field within my custom template the panel is displayed so i don't think it's a problem of my field template.
thanks in advance for your help!
Comments
Comment #1
merlinofchaos commentedThe code that controls what is displayed in the pane is in CCK. It's possible that there's *something* that turns up in the field that makes Panels think it's not empty.