By UNarmed on
I need to reference a node variable in the block visibility. Basically i have a block that i want to hide when a certain node variable does not contain content.
i have been struggling with this for days so help would really be appreciated.
Comments
It sounds like the block
It sounds like the block should only show for pages displaying a node of a certain type and only if a field is non-blank. If this is correct, two thoughts
a) If you are displaying the field (the non-blank one) you could use CCK Blocks.
b) Otherwise this should help
This is what i ended up doing
This is what i ended up doing and it got the job done. I am new to php so yours is probably a lot cleaner. Thanks for the reply, i will give it a try =]