I know this was covered in an earlier issue, but I can't seem to get it to work. I want to place the Fivestar widget in different places in a couple on tpl's, and I tried the approach in another issue.

<?php
  print render($content['field_stars']); 
?>
..
..
..
  <?php
    hide($content['field_stars']);
    hide($content['comments']);
    hide($content['links']);
    print render($content);
  ?>

I was trying to add it in near the title in the above example. This isn't working at all. Is $content['field_stars'] the wrong way to call it?

Comments

wxman’s picture

Status: Active » Fixed

Sorry, I spoke too soon. I did a var_dump($content) and found it as $content['field_star_rating']. Now I can move it around.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.