Magento add a facebook like box to left sidebar

Good post

Magento Tips and Fundamental Solutions

This is not a big thing in magento whoever knows the file structure of magento, what we have to do here is just add a static CMS block called magento facebook like box then enter the code you got from the facebook for like button here and save it, now block is saved, now now just switch your page layout to 3-columns-left and then open app/design/frontend/default/your-magento-theme-name/template/page/3-columns-left.phtml, and just add the below line which will reference the static block code.

<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('fblike')->toHtml()?>

View original post


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s