Drupal Association members fund grants that make connections all over the world.
I need to write a very simple piece of PHP code.
All I need is in a page-content_type.tpl.php in Drupal 6 add a simple if command that only calls the tabs variable IF the user is the author of the node.
I think it should look something like this:
<?php if [THE VIEWER IS THE AUTHOR OF THE NODE] ?> <?php if ($tabs): ?> <div class="tabs"><?php print $tabs; ?></div> <?php endif; ?> <?php endif; ?>
I'm hoping I can use $classes>node_by_viewer to achieve this.
Could anyone tell me if I'm going to bang my head against a wall all evening, or if this is actually possible, please?