How would I print addthis toolbox in my node.tpl.php?

Comments

venusrising’s picture

The only way I have seen is if you add the java separately. Can someone please comment on this?

chadchandler’s picture

If you'd like to place your widget directly inside your custom node.tpl.php file, print the code below whereever you'd like the widget to appear.

<?php print $node->links['addthis']['title']; ?>

After placement, theme accordingly.

However, you'd be just as well going to the Add This Website and placing the HTML/Script inside your node.tpl.php file.

gisle’s picture

Issue summary: View changes
Status: Active » Closed (fixed)

Fixed per #2.

chadchandler’s picture

Fixed