<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Pratthost Developer Zone</title>
	
	<link>http://devzone.pratthost.com</link>
	<description>A resource for web developers</description>
	<pubDate>Tue, 10 Feb 2009 15:19:43 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/pratthostdevzone" type="application/rss+xml" /><item>
		<title>Basecamp: Todo Templates Script</title>
		<link>http://feedproxy.google.com/~r/pratthostdevzone/~3/m9SHrXajYbQ/</link>
		<comments>http://devzone.pratthost.com/2009/02/08/basecamp-todo-templates-script/#comments</comments>
		<pubDate>Sun, 08 Feb 2009 21:26:58 +0000</pubDate>
		<dc:creator>Josh Pratt</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://devzone.pratthost.com/?p=337</guid>
		<description><![CDATA[
 If you want an easy way to add and manage todo lists templates for your projects (if they tend to have the same type of checklists - such as website pre-launch checklists), then this script is for you.  It&#8217;s a simple method of maintaining todo list templates, and adding them to any of [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://devzone.pratthost.com/wp-content/uploads/2008/10/icon_basecamp.jpg" alt="" title="Basecamp Icon" width="68" height="68" class="alignleft size-medium wp-image-181" /></p>
<p> If you want an easy way to add and manage todo lists templates for your projects (if they tend to have the same type of checklists - such as website pre-launch checklists), then this script is for you.  It&#8217;s a simple method of maintaining todo list templates, and adding them to any of the projects in your Basecamp account, with ease.</p>
<p>What you do is simply create a new project specifically for keeping your todo lists under your company in Basecamp.  You then supply the script with that project id, and your Basecamp login information, and you are set to go.  Simply add some todo lists and items, then navigate to the script on your server, and it is dynamically populated for you.</p>
<p>You can check out the details by clicking the link above in the page navigation or click the following to read more details and download the <a href="http://devzone.pratthost.com/basecamp-todo-templates/">Basecamp Todo List Template</a> script.</p>
<p>If you have any questions, or if you have any feature requests, please post a comment.  I hope you will find it a useful tool!</p>
<img src="http://feeds.feedburner.com/~r/pratthostdevzone/~4/m9SHrXajYbQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://devzone.pratthost.com/2009/02/08/basecamp-todo-templates-script/feed/</wfw:commentRss>
		<feedburner:origLink>http://devzone.pratthost.com/2009/02/08/basecamp-todo-templates-script/</feedburner:origLink></item>
		<item>
		<title>Magento: Display Only If There Are Products In The Category</title>
		<link>http://feedproxy.google.com/~r/pratthostdevzone/~3/ho4sSuExlCI/</link>
		<comments>http://devzone.pratthost.com/2008/12/17/magento-display-only-if-there-are-products-in-the-category/#comments</comments>
		<pubDate>Wed, 17 Dec 2008 20:52:03 +0000</pubDate>
		<dc:creator>Josh Pratt</dc:creator>
		
		<category><![CDATA[Magento]]></category>

		<guid isPermaLink="false">http://devzone.pratthost.com/?p=327</guid>
		<description><![CDATA[
This is a more difficult post to title - but I think that should do it.  Here was my need today:  We&#8217;ve got some navigational links in the header, and there are two categories &#8220;Sale Items&#8221; and &#8220;Internet Only&#8221; that should show up as links ONLY if there are products in those categories [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://devzone.pratthost.com/wp-content/uploads/2008/09/magento_icon.jpg" alt="Magento Icon" title="Magento Icon" width="67" height="67" class="alignleft size-full wp-image-60" /></p>
<p>This is a more difficult post to title - but I think that should do it.  Here was my need today:  We&#8217;ve got some navigational links in the header, and there are two categories &#8220;Sale Items&#8221; and &#8220;Internet Only&#8221; that should show up as links ONLY if there are products in those categories - otherwise, they shouldn&#8217;t be there (no need to have a link to a category with no products in it).</p>
<h4>The Solution</h4>
<p>There&#8217;s a quick&#8217;n'easy code line that you can pass in a category id to, and it will return how many products are in that category:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">Mage<span style="color: #339933;">::</span><span style="color: #004000;">getModel</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'catalog/category'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">load</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">198</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getProductCount</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span></pre></div></div>

<p>So - I got the category IDs from the admin and I created the following code to check the count - and display the link only if there are products in that category:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
    <span style="color: #000088;">$sale_count</span> <span style="color: #339933;">=</span> Mage<span style="color: #339933;">::</span><span style="color: #004000;">getModel</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'catalog/category'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">load</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">198</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getProductCount</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$sale_count</span> <span style="color: #339933;">&gt;</span> <span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
        &lt;li class=&quot;sale&quot;&gt;&lt;a href=&quot;/sale/&quot;&gt;Sale Items&lt;/a&gt;&lt;/li&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span>
    <span style="color: #b1b100;">endif</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$internet_count</span> <span style="color: #339933;">=</span> Mage<span style="color: #339933;">::</span><span style="color: #004000;">getModel</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'catalog/category'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">load</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">200</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getProductCount</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$internet_count</span> <span style="color: #339933;">&gt;</span> <span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
        &lt;li class=&quot;internet&quot;&gt;&lt;a href=&quot;/internet-only/&quot;&gt;Internet Only&lt;/a&gt;&lt;/li&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span>
    <span style="color: #b1b100;">endif</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>Hopefully you can find that useful if you need it!</p>
<img src="http://feeds.feedburner.com/~r/pratthostdevzone/~4/ho4sSuExlCI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://devzone.pratthost.com/2008/12/17/magento-display-only-if-there-are-products-in-the-category/feed/</wfw:commentRss>
		<feedburner:origLink>http://devzone.pratthost.com/2008/12/17/magento-display-only-if-there-are-products-in-the-category/</feedburner:origLink></item>
		<item>
		<title>WordPress: Just Upgraded to 2.7 - Wow!</title>
		<link>http://feedproxy.google.com/~r/pratthostdevzone/~3/lzPiA0ysOOQ/</link>
		<comments>http://devzone.pratthost.com/2008/12/12/wordpress-just-upgraded-to-27/#comments</comments>
		<pubDate>Fri, 12 Dec 2008 20:44:34 +0000</pubDate>
		<dc:creator>Josh Pratt</dc:creator>
		
		<category><![CDATA[Web Apps]]></category>

		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://devzone.pratthost.com/?p=321</guid>
		<description><![CDATA[
When I saw that WordPress 2.7 released yesterday (Dec. 11th), I didn&#8217;t really think much of it.  After all - I don&#8217;t have any complaints about what WordPress is doing for me now.  However, I decided to take the couple minutes to check out the video that they posted about it and I [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://devzone.pratthost.com/wp-content/uploads/2008/10/icon_wordpress.jpg" alt="Wordpress Icon" title="Wordpress Icon" width="70" height="70" class="alignleft size-full wp-image-97" /></p>
<p>When I saw that <a href="http://wordpress.org/development/2008/12/coltrane/">WordPress 2.7 released</a> yesterday (Dec. 11th), I didn&#8217;t really think much of it.  After all - I don&#8217;t have any complaints about what WordPress is doing for me now.  However, I decided to take the couple minutes to check out the video that they posted about it and I quickly realized how stupid I would be if I didn&#8217;t upgrade!</p>
<p>I&#8217;m still exploring all the new features and I&#8217;m still in awe at the new user interface, but it is truly amazing.  Check out the video for yourself!  No need for me to list all the new features - the video does a fine job:</p>
<p><center><embed src="http://v.wordpress.com/hFr8Nyar" type="application/x-shockwave-flash" width="640" height="360" allowscriptaccess="always" allowfullscreen="true"></embed></center></p>
<img src="http://feeds.feedburner.com/~r/pratthostdevzone/~4/lzPiA0ysOOQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://devzone.pratthost.com/2008/12/12/wordpress-just-upgraded-to-27/feed/</wfw:commentRss>
		<feedburner:origLink>http://devzone.pratthost.com/2008/12/12/wordpress-just-upgraded-to-27/</feedburner:origLink></item>
		<item>
		<title>Magento: When Launching - Turn Cache Back On!</title>
		<link>http://feedproxy.google.com/~r/pratthostdevzone/~3/ywCQBfYztjc/</link>
		<comments>http://devzone.pratthost.com/2008/12/10/magento-when-launching-turn-cacheing-back-on/#comments</comments>
		<pubDate>Wed, 10 Dec 2008 17:37:09 +0000</pubDate>
		<dc:creator>Josh Pratt</dc:creator>
		
		<category><![CDATA[Magento]]></category>

		<guid isPermaLink="false">http://devzone.pratthost.com/?p=319</guid>
		<description><![CDATA[
We actually forgot to do this with one of our sites - but when developing, we obviously had cache fully disabled.  When you go to launch, there are so many other things you are thinking about that it is easy to forget to enable all the cache again.
So, as a reminder to all of [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://devzone.pratthost.com/wp-content/uploads/2008/09/magento_icon.jpg" alt="" title="Magento Icon" width="67" height="67" class="alignleft size-medium wp-image-60" /></p>
<p>We actually forgot to do this with one of our sites - but when developing, we obviously had cache fully disabled.  When you go to launch, there are so many other things you are thinking about that it is easy to forget to enable all the cache again.</p>
<p>So, as a reminder to all of you that have launched Magento sites, turn back on the cache if you haven&#8217;t yet!  It will definitely speed up the performance of the site.</p>
<img src="http://feeds.feedburner.com/~r/pratthostdevzone/~4/ywCQBfYztjc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://devzone.pratthost.com/2008/12/10/magento-when-launching-turn-cacheing-back-on/feed/</wfw:commentRss>
		<feedburner:origLink>http://devzone.pratthost.com/2008/12/10/magento-when-launching-turn-cacheing-back-on/</feedburner:origLink></item>
		<item>
		<title>Basecamp: New Info From 37 Signals</title>
		<link>http://feedproxy.google.com/~r/pratthostdevzone/~3/1thWGDC_Hks/</link>
		<comments>http://devzone.pratthost.com/2008/12/08/basecamp-new-info-from-37-signals/#comments</comments>
		<pubDate>Mon, 08 Dec 2008 21:28:09 +0000</pubDate>
		<dc:creator>Josh Pratt</dc:creator>
		
		<category><![CDATA[Basecamp]]></category>

		<category><![CDATA[Web Apps]]></category>

		<guid isPermaLink="false">http://devzone.pratthost.com/?p=311</guid>
		<description><![CDATA[
I was able to get in contact with a developer from 37 Signals over the weekend.  I ran into some troubles finding a solid way to process the responses when you post, get, or put data to/from the Basecamp API.  Turns out, the documentation is out-dated, and there are some known inconsistencies.
So - [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://devzone.pratthost.com/wp-content/uploads/2008/10/icon_basecamp.jpg" alt="" title="Basecamp Icon" width="68" height="68" class="alignleft size-medium wp-image-181" /></p>
<p>I was able to get in contact with a developer from <a href="http://www.37signals.com/">37 Signals</a> over the weekend.  I ran into some troubles finding a solid way to process the responses when you post, get, or put data to/from the Basecamp API.  Turns out, the documentation is out-dated, and there are some known inconsistencies.</p>
<p>So - now knowing some crucial information &#8220;from the horse&#8217;s mouth&#8221;, I know now how to properly process the responses.  This will be implemented in version 1.2.  I&#8217;ll keep you posted!</p>
<img src="http://feeds.feedburner.com/~r/pratthostdevzone/~4/1thWGDC_Hks" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://devzone.pratthost.com/2008/12/08/basecamp-new-info-from-37-signals/feed/</wfw:commentRss>
		<feedburner:origLink>http://devzone.pratthost.com/2008/12/08/basecamp-new-info-from-37-signals/</feedburner:origLink></item>
		<item>
		<title>Basecamp API: PHP Class - Version 1.1 Released</title>
		<link>http://feedproxy.google.com/~r/pratthostdevzone/~3/bJT8z2Cf-eE/</link>
		<comments>http://devzone.pratthost.com/2008/12/04/basecamp-api-php-class-version-11-released/#comments</comments>
		<pubDate>Fri, 05 Dec 2008 04:45:00 +0000</pubDate>
		<dc:creator>Josh Pratt</dc:creator>
		
		<category><![CDATA[Basecamp]]></category>

		<category><![CDATA[PHP]]></category>

		<category><![CDATA[Web Apps]]></category>

		<guid isPermaLink="false">http://devzone.pratthost.com/?p=299</guid>
		<description><![CDATA[
Version 1.1 is now released. Please check out the Basecamp PHP Class page for new documentation and download information.
There were a lot of changes, new methods (including file attachments), and bug fixes in 1.1.  There&#8217;s still a lot of work to do, but I like to get it out into the user&#8217;s hands for [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://devzone.pratthost.com/wp-content/uploads/2008/10/icon_basecamp.jpg" alt="" title="Basecamp Icon" width="68" height="68" class="alignleft size-medium wp-image-181" /></p>
<p>Version 1.1 is now released. Please check out the <a href="http://devzone.pratthost.com/basecamp-php-class/">Basecamp PHP Class page</a> for new documentation and download information.</p>
<p>There were a lot of changes, new methods (including file attachments), and bug fixes in 1.1.  There&#8217;s still a lot of work to do, but I like to get it out into the user&#8217;s hands for feedback and bug-tracking.  If you are noticing something that isn&#8217;t working, or is glitchy, first check the method documentation within the class itself to make sure you are using it correction, then if it still isn&#8217;t working right - please let me know! (Post a comment here).</p>
<p>I may have easily incorrectly documented something, or forgot to make changes.  I ran out of time this evening and had to rush through it.  So, please keep that in mind!</p>
<p>I am very open to making quick changes/fixes and releases.  One of the best ways to contact me is through AIM (&#8221;creativearcjosh&#8221;).  Feel free to hop on and ask questions or make suggestions if I&#8217;m online.</p>
<p>I want to make this PHP class good, and solid.  So - I love the feedback and suggestions.  Keep them coming!</p>
<img src="http://feeds.feedburner.com/~r/pratthostdevzone/~4/bJT8z2Cf-eE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://devzone.pratthost.com/2008/12/04/basecamp-api-php-class-version-11-released/feed/</wfw:commentRss>
		<feedburner:origLink>http://devzone.pratthost.com/2008/12/04/basecamp-api-php-class-version-11-released/</feedburner:origLink></item>
		<item>
		<title>YouTube: Creating and Using Playlists</title>
		<link>http://feedproxy.google.com/~r/pratthostdevzone/~3/OdRNupZPzHI/</link>
		<comments>http://devzone.pratthost.com/2008/12/04/you-tube-creating-and-using-playlists/#comments</comments>
		<pubDate>Thu, 04 Dec 2008 15:03:58 +0000</pubDate>
		<dc:creator>Josh Pratt</dc:creator>
		
		<category><![CDATA[Free Services]]></category>

		<guid isPermaLink="false">http://devzone.pratthost.com/?p=283</guid>
		<description><![CDATA[
I discovered something great the other day, and I figured I would pass it along for any of you that don&#8217;t know about it.  YouTube is loaded with music.  You can usually find the song you are looking for.  So, instead of buying music to listen to at home or work, you [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://devzone.pratthost.com/wp-content/uploads/2008/12/you_tube_logo.jpg" alt="" title="You Tube Logo" width="67" height="47" class="alignleft size-medium wp-image-284" /></p>
<p>I discovered something great the other day, and I figured I would pass it along for any of you that don&#8217;t know about it.  <a href="http://www.youtube.com">YouTube</a> is loaded with music.  You can usually find the song you are looking for.  So, instead of buying music to listen to at home or work, you can create playlists in YouTube if you have created an account.</p>
<p>When you have created a playlist, you can then to go your playlists, select one, and click &#8220;Play All&#8221;, and it will cycle through the entire playlist without you having to touch anything.  So, open up a new tab in your browser, create a playlist, add a bunch of songs to it, click &#8220;Play All&#8221;, and you&#8217;ll have some nice listening without touching a thing!</p>
<img src="http://feeds.feedburner.com/~r/pratthostdevzone/~4/OdRNupZPzHI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://devzone.pratthost.com/2008/12/04/you-tube-creating-and-using-playlists/feed/</wfw:commentRss>
		<feedburner:origLink>http://devzone.pratthost.com/2008/12/04/you-tube-creating-and-using-playlists/</feedburner:origLink></item>
		<item>
		<title>Magento: Find Which Class Is Responsible For The Template</title>
		<link>http://feedproxy.google.com/~r/pratthostdevzone/~3/oz_aw3nIRLw/</link>
		<comments>http://devzone.pratthost.com/2008/12/01/magento-find-which-class-is-responsible-for-the-template/#comments</comments>
		<pubDate>Mon, 01 Dec 2008 17:28:46 +0000</pubDate>
		<dc:creator>Josh Pratt</dc:creator>
		
		<category><![CDATA[Magento]]></category>

		<guid isPermaLink="false">http://devzone.pratthost.com/?p=281</guid>
		<description><![CDATA[
Just found out a really quick and easy way to figure out which Magento PHP Class is responsible for putting together everything that is needed for any given template.  It&#8217;s as easy as dropping in one simple line of code.  Just place the following into any .phtml template files:

&#60;?php echo 'This Template\'s Class: [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://devzone.pratthost.com/wp-content/uploads/2008/09/magento_icon.jpg" alt="" title="Magento Icon" width="67" height="67" class="alignleft size-medium wp-image-60" /></p>
<p>Just found out a really quick and easy way to figure out which Magento PHP Class is responsible for putting together everything that is needed for any given template.  It&#8217;s as easy as dropping in one simple line of code.  Just place the following into any .phtml template files:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #990000;">echo</span> <span style="color: #0000ff;">'This Template\'</span>s <span style="color: #000000; font-weight: bold;">Class</span><span style="color: #339933;">:</span> <span style="color: #0000ff;">'.get_class($this); ?&gt;</span></pre></div></div>

<img src="http://feeds.feedburner.com/~r/pratthostdevzone/~4/oz_aw3nIRLw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://devzone.pratthost.com/2008/12/01/magento-find-which-class-is-responsible-for-the-template/feed/</wfw:commentRss>
		<feedburner:origLink>http://devzone.pratthost.com/2008/12/01/magento-find-which-class-is-responsible-for-the-template/</feedburner:origLink></item>
		<item>
		<title>Magento: Category Importer 1.0 (Beta) Launched</title>
		<link>http://feedproxy.google.com/~r/pratthostdevzone/~3/GcENHjhnaBA/</link>
		<comments>http://devzone.pratthost.com/2008/11/25/magento-category-importer-10-beta-launched/#comments</comments>
		<pubDate>Tue, 25 Nov 2008 20:52:04 +0000</pubDate>
		<dc:creator>Josh Pratt</dc:creator>
		
		<category><![CDATA[Magento]]></category>

		<guid isPermaLink="false">http://devzone.pratthost.com/?p=276</guid>
		<description><![CDATA[
After finally figuring out the Magento API, I figured I&#8217;d start first with creating a simple category importer.  So, if you have a Magento site out on the web and you want to try it out, please have at it!  It requires that you create a web services user on your Magento installation, [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://devzone.pratthost.com/wp-content/uploads/2008/09/magento_icon.jpg" alt="" title="Magento Icon" width="67" height="67" class="alignleft size-medium wp-image-60" /></p>
<p>After finally figuring out the Magento API, I figured I&#8217;d start first with creating a simple category importer.  So, if you have a Magento site out on the web and you want to try it out, please have at it!  It requires that you create a web services user on your Magento installation, and you have to host your own CSV.</p>
<p>Just follow the CSV format that I laid out, and you&#8217;ll be ready to import.  Remember though, this hasn&#8217;t been tested very much.  I&#8217;ve done tests here and it seems to be working great.  It does have it&#8217;s limitations.  You have to provide the CSV with the name of the parent category that you want the imported category to fall under.  If you have multiple categories with the same name, the importer will not work properly yet.  It does, however, refresh the category tree ever time a category is imported, allowing you to give parent categories that you just imported in the CSV.</p>
<p>So, please try it out, let me know of any bugs you find, or any ideas for improvement.  I put a Paypal donation link on the import page - if you wish to show your appreciation, or give towards helping me improve it.</p>
<p>Enough talk - <a href="http://pratthost.com/magento-category-importer/">Magento Category Importer</a>.</p>
<img src="http://feeds.feedburner.com/~r/pratthostdevzone/~4/GcENHjhnaBA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://devzone.pratthost.com/2008/11/25/magento-category-importer-10-beta-launched/feed/</wfw:commentRss>
		<feedburner:origLink>http://devzone.pratthost.com/2008/11/25/magento-category-importer-10-beta-launched/</feedburner:origLink></item>
		<item>
		<title>PHP: Enable SOAP with PHP5 on Media Temple’s DV 3.5</title>
		<link>http://feedproxy.google.com/~r/pratthostdevzone/~3/jfL70f1Sf_w/</link>
		<comments>http://devzone.pratthost.com/2008/11/24/php-enable-soap-with-php5-on-media-temples-dv-35/#comments</comments>
		<pubDate>Tue, 25 Nov 2008 00:22:28 +0000</pubDate>
		<dc:creator>Josh Pratt</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://devzone.pratthost.com/?p=273</guid>
		<description><![CDATA[
I started trying to learn Magento&#8217;s API today, which requires the use of SOAP.  I know that SOAP is a part of PHP5, however, I guess it doesn&#8217;t often come enabled on a lot of servers.  I have a DV with Media Temple, and after running phpinfo(), I saw that SOAP definitely wasn&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://devzone.pratthost.com/wp-content/uploads/2008/09/php_icon.jpg" alt="" title="PHP Icon" width="82" height="82" class="alignleft size-medium wp-image-65" /></p>
<p>I started trying to learn Magento&#8217;s API today, which requires the use of SOAP.  I know that SOAP is a part of PHP5, however, I guess it doesn&#8217;t often come enabled on a lot of servers.  I have a DV with Media Temple, and after running phpinfo(), I saw that SOAP definitely wasn&#8217;t configured.</p>
<p>The following instructions will guide you through adding the SOAP to your previous installation of PHP.  In my case, I had PHP 5.2.6 installed, so - note that when you are downloading the PHP source files - you should probably try and stick with the version you currently have.</p>
<h4>Install Media Temple&#8217;s Developer Tools</h4>
<p>You will need the developer tools installed to compile PHP.  So, login to your Media Temple account center, select your primary domain, find the &#8220;Root Access &#038; Developer Tools&#8221;.  Install the developer tools if you haven&#8217;t already.  It may take up to 5-10 minutes, so be patient.</p>
<p>Make sure you have enabled root access as well, as you will need this to be able to compile the PHP</p>
<h4>Download &#038; Compile PHP</h4>
<p>Open your terminal, and ssh into your server using root.</p>
<ol>
<li>Navigate to a relatively unimportant directory.  I chose /home/<br /><code>cd /home/</code></li>
<li>Download PHP<br /><code>wget http://www.php.net/get/php-5.2.6.tar.gz/from/us.php.net/mirror</code></li>
<li>Unpack the PHP file<br /><code>tar -zxf php-5.2.6.tar.gz</code></li>
<li>Configure the new PHP to enable SOAP (will take a few minutes) (before enable is two dashes)<br /><code>cd php-5.2.6 <br /> ./configure &#8211;enable-soap=shared</code></li>
<li>Rebuild PHP (this will also take a while)<br /><code>make</code></li>
<li>Copy just the SOAP module into your existing installation of PHP<br /><code>cp modules/soap.so /usr/lib/php/modules/</code></li>
<li>Add the new SOAP configuration to your existing configuration<br /><code>echo "extension=soap.so" > /etc/php.d/soap.ini</code></li>
<li>Restart Apache<br /><code>/etc/init.d/httpd restart</code></li>
<li>Optional: You can now delete /home/php-5.2.6/ if you&#8217;d like, as you won&#8217;t need it any longer.<br /><code>rm -rf /home/php-5.2.6/</code></li>
<li>Check phpinfo() to confirm that SOAP is now enabled.</li>
<p>&nbsp;</p>
<p>This should not effect Media Temple&#8217;s update option program, in the case where you would like to up update your server later on.</p>
<p>Special thanks to <a href="http://dotjay.co.uk/">dotjay</a> for initially pointing this all out.
</ol>
<img src="http://feeds.feedburner.com/~r/pratthostdevzone/~4/jfL70f1Sf_w" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://devzone.pratthost.com/2008/11/24/php-enable-soap-with-php5-on-media-temples-dv-35/feed/</wfw:commentRss>
		<feedburner:origLink>http://devzone.pratthost.com/2008/11/24/php-enable-soap-with-php5-on-media-temples-dv-35/</feedburner:origLink></item>
	</channel>
</rss>
