Print watcher link in a block I found the code below to print a watcher link in a block, but it is for Drupal 6.

&lt;?php
  if (arg(0) == 'node' &amp;&amp; is_numeric(arg(1))) {
    $node = node_load(arg(1));
    $node = node_build_content($node, false, true);
    print $node-&gt;content['watcher']['#value'];
  }
?&gt;


Does anyone know how to get the same thing done for Drupal 7?
This depends on if you are trying to get the value of the field or the rendered output of the field. 

If you just want the value of the field you can do this in the same way in Drupal 7. Instead of 

 $node-&gt;content['field_name']['#value'];


you need to specify a language and the a number for the field value you want (even if the field doesn't accept multiple values).

 $node-&gt;field_name[$node-&gt;language][0]['value'];


If you have the entity api module installed you can use the entity_metadata_wrapper function which is a little cleaner: http://drupal.org/node/1021556

If you want the rendered output, use node_view:

 if (arg(0) == 'node' &amp;&amp; is_numeric(arg(1))) {
    $node = node_view(node_load(arg(1));
    print drupal_render($node['field_name']);
  }


The rendered output will give you the properly themed output, something closer to:

"&lt;div class="field field-name-field-field-name field-type-list-text field-label-hidden"&gt;&lt;div class="field-items"&gt;&lt;div class="field-item even"&gt;field value&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;"