XF 1.5 FB page plugin in sidebar

abdfahim

Well-known member
#1
Okay, I wanted to add the FB page plugin to the sidebar. So, I took the ugliest but easiest path to copy the code from FB page plugin link and paste it into ad_sidebar_below_visitor_panel template.

Now, the issue is, the plugin supposed to adapt to the container width (as I choose Adapt to plugin container width for FB plugin). But for some reason, it starts momentarily with the container widths, but then flashes to a fixed width of 340px.
 
Last edited:

abdfahim

Well-known member
#2
Hmmm, so it appears the FB sdk was already included in XF, so when I was adding that js again, it was giving me the error. Solved now.
 
Top