As most of the Magento users would be aware of, there is no default option for twitter feed in Magento. If you wish to have twitter feed in your site, you will need to create it manually. We have discussed in this Blog the simple steps of adding a twitter feed in magento.
Step 1:
Go to the following site and include your Twitter Username: http://twitter.com/about/resources/widgets/widget_profile. Once done, click finish and grab the code. The script code will generate a copy of it.
Step 2:
The next step will be creating a static block for your twitter feed.
In magento admin panel:
Go-> CMS->Static block->add new block
Name : twitter
Id : twitter
Status : enabled
Step 3:
If you wish to show the twitter feed in homepage, you will need to copy and paste the code given below in CMS->Page->Homepage->content
Code:
Code:
In a similar fashion, you will need to call a static block in sidebar as well.
For left sidebar: app/design/frontend/default/yourtheme/layout/catalog.xml
- <reference name=”left”>
-
- <block type="cms/block"> <actionmethod="setBlockId"><block_id>twitter</block_id></action></block>
-
- </reference>
Output:
Stay tuned to our Cogzidel templates Blog for more sparkling news and updates!!
