Hi,

Was trying to take easy_social module into use in Ubercart's product pages but for some reasons buttons are not showing up. Product node types enabled in easy_social admin page. Buttons are shown OK for Page or Story node types. Using Acquia Prosper theme.

Also tried facebook_social module and like button is shown ok at the bottom of product page.

Wondering whether this is theme related or module related issue.

Comments

alexweber’s picture

Status: Active » Needs review

This is probably a theme-related issue because in Drupal 6, Easy Social attaches to the node's links (if I'm not mistaken).

The markup is also added to a separate variable in the node object, so in your templates you can manually access and print it where you want.

aleada’s picture

The only you have to do to display the social buttons is to put the following code inside your uc product tpl file at your prefered location.

<?php print $node->easy_social ;?>

The following snippet is very useful if you are not sure about the variable name that you want to display inside a node.

<?php
//Append this inside node.tpl and display all drupal variables
  print '<pre>';
  var_dump(get_defined_vars()); 
 print '</pre>';
?>

( read more @ http://drupal.org/node/308732 )