Dan,

Thanks for the great theme..

I am working on putting together a subtheme and I have 1 thing that I have not been able to accomplish as of yet.

1. For the life of me figure out how to move the Div Class Field-items (Displaying the Tags / Topics / Taxonomy terms) to be displayed below the Body and above the links section. I noticed that in node.tpl.php you hide the comments and links only to print them later, and i was hoping to do the same with the field items... but have not been able to figure it out. Can you point me in the right direction?

Thanks in advance for your help.

ian

Comments

danpros’s picture

Hi ian,

I am very busy lately :)

Okay open your node.tpl.php:

   // Hide the comments, links and tags so we can render them later.
  <div class="content clearfix"<?php print $content_attributes; ?>>
    <?php
      hide($content['comments']);
      hide($content['links']);
      hide($content['field_tags']); 
      print render($content);
    ?>
  </div>

Then print the tags somewhere else:

    <?php print render($content['field_tags']); ?>

Dan

danpros’s picture

Status: Active » Closed (fixed)

Answered.

Dan