Forums / General Questions / Weird behavior of sidebox

Weird behavior of sidebox

Locked

Views: 885

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
2 Aug 2010, 4:54 PM
#1
antoniobb avatar

antoniobb

New Zenner

Join Date:
Apr 2008
Posts:
51
Plugin Contributions:
0

Weird behavior of sidebox

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:
https://www.site.com loads the facebook sidebox perectly
https://www.site.com/category loads the facebook sidebox perfectly
https://www.site.com/category/product will load the sidebox but will be empty in content (nothing loaded inside the box)....

The template code is:

   $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:

 */
.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??

2 Aug 2010, 6:19 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Weird behavior of sidebox

A link to the site would be a lot more useful than a generic example.

I don't see anything in the code you provided that would cause that problem, though.

3 Aug 2010, 6:44 PM
#3
antoniobb avatar

antoniobb

New Zenner

Join Date:
Apr 2008
Posts:
51
Plugin Contributions:
0

Re: Weird behavior of sidebox

5 Aug 2010, 12:56 PM
#4
antoniobb avatar

antoniobb

New Zenner

Join Date:
Apr 2008
Posts:
51
Plugin Contributions:
0

Re: Weird behavior of sidebox

Any Ideas?

9 Aug 2010, 9:38 PM
#5
antoniobb avatar

antoniobb

New Zenner

Join Date:
Apr 2008
Posts:
51
Plugin Contributions:
0

Re: Weird behavior of sidebox

anyone?

10 Aug 2010, 9:04 AM
#6
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Weird behavior of sidebox

I suspect it's something you'll have to ask Template Monster about. Try switching temporarily to the Classic template to see if it's template-related.