I'd like to be able to limit user pictures in posts to Forum posts and comments only. Is there a simple code snippet to test in node.tpl.php to check if the node type is a Forum topic? Then I can easily if..then..else the proper template info.

Thanks!

Steel Rat

Comments

vm’s picture

seems to me you can remove the user pictures code from node.tpl.php then use a custom forum tpl.php to theme the forum posts any way you like. see: http://drupal.org/node/154320
_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )

Steel Rat’s picture

Actually I solved it just a few minutes ago by checking the $node->type variable. if it's equal to "forum", I show the user picture and submitted information. Seems to work perfectly.

Thanks for the reply, though!

Steel Rat
My Drupal Sites:
RPGMapShare.com
Infinite Ordnance
Malvern Rouge Valley Youth Center