I created a view that shows content of some nodes, I want to add the "share" block to the node, so I used the following code in a php field:

<?php
$block
= module_invoke('widgets', 'block_view', 's_addthis-share');
print
render $block['content'];
?>

But it shows data from the current url and not from the node.

Comments

Issue summary:View changes

syntax

Issue summary:View changes

to*

If I were you I would use a page (panels) to do this.

Issue summary:View changes

spelling