Active
Project:
Social media
Version:
7.x-1.0-beta9
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
13 Oct 2012 at 15:26 UTC
Updated:
13 Nov 2012 at 14:44 UTC
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:
$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
Comment #0.0
jiddisch commentedsyntax
Comment #0.1
jiddisch commentedto*
Comment #1
elBradford commentedIf I were you I would use a page (panels) to do this.
Comment #1.0
elBradford commentedspelling