Howto: Block visible only if node X is published?

Posted by romandor on Stack Overflow See other posts from Stack Overflow or by romandor
Published on 2010-05-24T05:45:35Z Indexed on 2010/05/24 5:51 UTC
Read the original article Hit count: 112

Filed under:

With this code I show node in block:

print check_markup(node_load(777, NULL, TRUE) -> body);

Problem: block displayed even node 777 is unpublished. Thank you in advance!

© Stack Overflow or respective owner

Related posts about drupal