Hi Morten,
You helped me with a space issue before (#585684: Remove extra space in block's class name). Now I found another one which is causing bigger problems..
I am using CCK Blocks on my site, a module that creates blocks for every CCK field (eg Links, Photo's) so you can show the CCK fields in your sidebar easily. This works great, except on themes that use Mothership as a base theme. When I do a var_dump() on the $block->content variable in my block.tpl.php I see that it contains a single space.
Very frustrating, because this space triggers Drupal to render the block. Because of this, I see Block titles in my sidebar, even when the node that is displayed has no entries.
Do you have a clue what could cause this to happen? The CCK fields I'm using are multiple (unlimited).
Comments
Comment #1
BarisW commentedSee also: #712634: Blocks show up even when there are no fields
Comment #2
realityloop commentedIf this is still an issue in D7 please re-open and update the version in issue metadata