Hello all, I am having an issue with a sidebox. I recently intalled the Facebook sidebox and it works perfectly, but for some reason, the js is not being loaded inside the products.
Furthermore explained as an example:
www.site.com loads the facebook sidebox perectly
www.site.com/category loads the facebook sidebox perfectly
www.site.com/category/product will load the sidebox but will be empty in content (nothing loaded inside the box)....
The template code is:
PHP Code:
$content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="">' . "\n";
$content .= '<script type="text/javascript" src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php/' . FACEBOOK_LOCALE . '"></script><script type="text/javascript">FB.init("' . FACEBOOK_API_KEY . '");</script>';
$content .= '<fb:fan profile_id="' . FACEBOOK_PROFILE . '" stream="' . INCLUDE_FACEBOOK_STREAM . '" connections="' . INCLUDE_FACEBOOK_FANS . '" logobar="' . INCLUDE_FACEBOOK_LOGO . '" width="' . FACEBOOK_BOX_WIDTH . '" height="' . FACEBOOK_BOX_HEIGHT . '"></fb:fan>';
$content .= '</div>';
?>
The facebook CSS is:
PHP Code:
*/
.fan_box
.full_widget
.connect_top {
border: none;
}
.fan_box
.full_widget {
border: none;
}
.connect_top a {
color: #313131;
}
.connect_top a:hover {
color: #000;
}
.fan_box
.connections {
border: none;
color: #000;
}
.fan_box
.connections_grid
.grid_item
.name {
color: #313131;
}
and the products CSS is:
Any ideas??