<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - JustMadMike</title>
<link>http://snipplr.com/users/JustMadMike/language/php</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Wed, 19 Jun 2013 12:01:13 GMT</pubDate>
<item>
<title>(PHP) Magento - Display Layout Handles</title>
<link>http://snipplr.com/view/57582/magento--display-layout-handles/</link>
<description><![CDATA[ <p>Prints layout Handles.</p> ]]></description>
<pubDate>Wed, 03 Aug 2011 23:02:54 GMT</pubDate>
<guid>http://snipplr.com/view/57582/magento--display-layout-handles/</guid>
</item>
<item>
<title>(PHP) Add New Country to Magento</title>
<link>http://snipplr.com/view/56229/add-new-country-to-magento/</link>
<description><![CDATA[ <p>1. Open lib/zend/locale/data/en.xml

2. Locate territories tag in this file

3. copy one of territory tags for the syntax and paste it within the territories tag

4. hard part here is to add country code in this file as might not be able to find a unique one, so it's upto you.

5. Save this file

6. Open table name directory_country

7. It has predefined syntax follow then same and create a new row and enter the same country code as entered in the en.xml file in 3 columns.

8. Refresh the site's cache.

9. Admin > Configuration > General this new country should be selected in list of allowed countries.

New country should be visible now.</p> ]]></description>
<pubDate>Thu, 07 Jul 2011 19:40:16 GMT</pubDate>
<guid>http://snipplr.com/view/56229/add-new-country-to-magento/</guid>
</item>
</channel>
</rss>