Hi Guys,

How can I print out this widget in the node.tpl.php? I want to show this widget in a diffrent place. Can somebody help me please?

I would like to know what string I have to the place of '?????'.
print $node->content['????']['#value'].'<br/><br />';

Comments

corbacho’s picture

Status: Active » Fixed

Sorry, probably this answer comes late.:

In drupal 7

print render($content['google_plusone']);

Drupal 6

print $node->content['google_plusone']['#value'];

In case that you choose it in the "links" section, then content['links']['google_plusone']

Final tip: With Devel module installed. Put in your template dsm($content) in D7 or dsm($node) in D6 to see what you stuff you can print.

Status: Fixed » Closed (fixed)

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