Quantcast
Channel: Cogzidel Templates Blog » Magento Admin
Viewing all articles
Browse latest Browse all 10

Adding a Twitter feed in Magento

$
0
0

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:

  1. {{block type="cms/block" block_id="twitter"}}

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

  1. <reference name=”left”>
  2.  
  3. <block type="cms/block"> <actionmethod="setBlockId"><block_id>twitter</block_id></action></block>
  4.  
  5. </reference>

Output:

magentotwitter

Stay tuned to our Cogzidel templates Blog for more sparkling news and updates!!

Share/Bookmark

Viewing all articles
Browse latest Browse all 10

Latest Images

Trending Articles





Latest Images