Is there a way I can move the fivestar rating module from the content into the node-footer. On the home page the 'rate this' is showing up above the node-footer, and moving around the positioning of some things on the page.

Comments

quicksketch’s picture

The node footer? I'm not sure what you're referring to. You can optionally set the display of the Fivestar to then use the Fivestar rating block to position the rating block wherever you want.

SaBoNim’s picture

You can insert fivestar with this code:

<div class="fivestar"><?php print  $node->content['fivestar_widget']['#value'] . fivestar_widget_form($node); ?></div>

and in content type settings select display "hidden" in teaser and full node.

css code:

/* fivestar styles */
.fivestar{float:left;width:auto;}
.fivestar .clear-block {padding:0 0px 0 5px;}
.fivestar .form-item label {font-weight:normal; float:left;padding:0 0 0 10px;}

Links under content put in div whis style: .your_style{float:left;}

quicksketch’s picture

Category: task » support
Status: Active » Closed (fixed)