Magento Forum

   
Facebook like box please help! 
 
JKuppens
Jr. Member
 
Total Posts:  13
Joined:  2012-11-16
 

Hello,

I’ve been trying to place a facebook like box on my frontpage, i can’t get it to show and I could really use some help.
I made a static CMS block and got the code from this url: https://developers.facebook.com/docs/reference/plugins/like-box/

It is unclear to me which one of the codes i have to place in the block. HTML5, XFBML, IFRAME or URL? And does it need a variable?
After adding this, how can i make the box show on the fromtpage. Do I have to add this code to the app/.../3-column-left.phtml: <?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('fblike')->toHtml()?>
Or do I have to add a code to the local.xml like with the other blocks?

Please help me!

 
Magento Community Magento Community
Magento Community
Magento Community
 
Magikvishal
Sr. Member
 
Total Posts:  277
Joined:  2012-06-12
 

Hello i think you can add iframe code in your layout phtml file as your position (left/right/content)

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top