Posted By

esociety on 09/25/08


Tagged

node drupal


Versions (?)

node.tpl.php


 / Published in: PHP
 

theming the node page

  1. ?>
  2. <div class="node<?php if ($sticky) { print " sticky"; } ?><?php if (!$status) { print " node-unpublished"; } ?>">
  3. <?php if ($picture) {print $picture;}?>
  4. <?php if ($page == 0) { ?><h2 class="title"><a href="<?php print $node_url?>"><?php print $title?></a></h2><?php }; ?>
  5. <div class="taxonomy"><?php if ($terms) {print "Tagged:" . $terms; }?></div>
  6. <?php if ($links) { ?><div class="links-node"><?php print $links?></div><?php }; ?>
  7. <br clear="all"/>
  8. <div class="content"><?php print $content?></div>
  9. </div>

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: esociety on September 25, 2008

this includes not to include publish date

You need to login to post a comment.