Only show CCK:Blocks, if field has content
no2e - September 16, 2008 - 04:00
| Project: | CCK Blocks |
| Version: | 6.x-1.1 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | by design |
Jump to:
Description
I installed CCK Blocks and it works great,
but it also shows me the blocks at node view (or that is to say: the title of the blocks), if the user did not enter any content into the particular cck field.
Is it possible to only show the blocks, if they have to present content?

#1
No idea?
#2
I tried to limit the visibility only to the nodes where I used the ckk fields -> the CCK:Blocks show the title at any time
I tried to set the visibilty to everywhere -> the CCK:Blocks show the title at any time
But: there is one cck field, that only get's displayed, when there is data filled in. But it has the very same settings as the other fields too. And oddly enough the title appears sometimes, when there is no content, but disappears later again. I tried to clear cache but I can't see any regularity.
#3
bump, still got this problem.
#4
#5
Do you still have this problem? I'm using CCK blocks with empty fields in some nodes and the block is not displayed there.
#6
Can't tell at the moment, because I stopped using this module because of the issue CCK Block shows everything in one line
#7
That issue will be fixed in the next -dev release. I close this issue. Please re-open it or create a new one, if you have the problem again. Please provide information about the field type, you have this problem with. This is important, as we do only display the content, that is provided by the corresponding module. We ask the module, providing your field, to format its content and display it in the block.
If the module gives us more than an empty string, even if the field is empty, the block is visible (or at least it's title).