<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Creative Reason &#187; Web/Tech</title>
	<atom:link href="http://www.creativereason.com/category/webtech/feed" rel="self" type="application/rss+xml" />
	<link>http://www.creativereason.com</link>
	<description>Brian Schwartz&#039;s Blog</description>
	<lastBuildDate>Mon, 05 Dec 2011 23:34:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Forklifts, Forklifts and Custom Post Types</title>
		<link>http://www.creativereason.com/forklifts-forklifts-and-custom-post-types.html</link>
		<comments>http://www.creativereason.com/forklifts-forklifts-and-custom-post-types.html#comments</comments>
		<pubDate>Tue, 24 Aug 2010 22:53:36 +0000</pubDate>
		<dc:creator>Brian Schwartz</dc:creator>
				<category><![CDATA[Friends]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[Web/Tech]]></category>
		<category><![CDATA[Custom Post Type]]></category>

		<guid isPermaLink="false">http://www.creativereason.com/?p=461</guid>
		<description><![CDATA[I recently helped my friend Kevin Redel update his website to WordPress (complete with custom post types) to show his inventory. The project included creating a custom post type for his forklifts, custom taxonomies for the classes and filtering and then some custom themes for displaying the forklifts. Not a ton of documentation out there [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-medium wp-image-462" title="forklift-am" src="http://www.creativereason.com/wp-content/uploads/2010/08/forklift-am-300x221.jpg" alt="forklift-am" width="300" height="221" />I recently helped my friend Kevin Redel update his website to WordPress (complete with custom post types) to show his inventory. The project included creating a custom post type for his forklifts, custom taxonomies for the classes and filtering and then some custom themes for displaying the forklifts. Not a ton of documentation out there for custom post type&#8217;s yet. But it&#8217;s a pretty great feature and I look forward to using it more.</p>
<p>If you are looking for a used Forklift in or around St. Louis Missouri you should checkout <a href="http://www.forkliftam.com">Forklift America.</a> Kevin is constantly updating his inventory and refurbishing the best forklifts he can find.</p>
<p><a href="http://www.creativereason.com/wp-content/uploads/2010/08/custom-post-type.jpg"><img class="aligncenter size-medium wp-image-463" title="custom-post-type" src="http://www.creativereason.com/wp-content/uploads/2010/08/custom-post-type-300x162.jpg" alt="custom-post-type" width="300" height="162" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.creativereason.com/forklifts-forklifts-and-custom-post-types.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SXSW Interactive Tweets &#8211; What should I do?</title>
		<link>http://www.creativereason.com/sxsw-interactive-tweets-what-should-i-do.html</link>
		<comments>http://www.creativereason.com/sxsw-interactive-tweets-what-should-i-do.html#comments</comments>
		<pubDate>Sat, 06 Feb 2010 16:15:45 +0000</pubDate>
		<dc:creator>Brian Schwartz</dc:creator>
				<category><![CDATA[Web/Tech]]></category>
		<category><![CDATA[SXSW]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.creativereason.com/?p=436</guid>
		<description><![CDATA[Do you have an opinion on whether I should create a separate twitter account for my live-tweeting from panels / keynotes at SXSW?]]></description>
			<content:encoded><![CDATA[<p>Do you have an opinion on whether I should create a separate twitter account for my live-tweeting from panels / keynotes at SXSW? </p>
<p><script src="http://twtpoll.com/js/badge.js" type="text/javascript"></script><br />
<script src="http://twtpoll.com/badge/?twt=akxkem&#038;s=250&#038;b=1&#038;bt=1" type="text/javascript"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.creativereason.com/sxsw-interactive-tweets-what-should-i-do.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I Like Google Wave&#8230; But&#8230;</title>
		<link>http://www.creativereason.com/i-like-google-wave-but.html</link>
		<comments>http://www.creativereason.com/i-like-google-wave-but.html#comments</comments>
		<pubDate>Thu, 03 Dec 2009 01:40:45 +0000</pubDate>
		<dc:creator>Brian Schwartz</dc:creator>
				<category><![CDATA[Web/Tech]]></category>
		<category><![CDATA[Google Wave]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.creativereason.com/?p=375</guid>
		<description><![CDATA[There is never anyone else on it when I am. I&#8217;m a member of 6 or 7 big public waves, each with hundreds of users. Other than when I first got my invite (and when a few of my friends got theirs) have I seen another person actively using the same wave as me. If [...]]]></description>
			<content:encoded><![CDATA[<p>There is never anyone else on it when I am.</p>
<p>I&#8217;m a member of 6 or 7 big public waves, each with hundreds of users. Other than when I first got my invite (and when a few of my friends got theirs) have I seen another person actively using the same wave as me.</p>
<p>If you zoom in on the picture below you should see green dots next to people online (unless I&#8217;m missing something) and there are none. Most of the public waves I go to haven&#8217;t been updating in a couple days (if that recently).</p>
<p><a href="http://www.creativereason.com/wp-content/uploads/2009/12/screen-grab.png" target="_blank"><img class="alignnone" title="No one is ever on Wave" src="http://www.creativereason.com/wp-content/uploads/2009/12/screen-grab.png" alt="" width="500" /></a></p>
<p>In order for Wave to be truly effective, it needs to be an interactive experience. Once my team at <a href="http://www.WeAreSpoke.com">Spoke</a> get their invites, we can give it a run for collaboration, but until then, it&#8217;s a ghost town, and it bores me.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.creativereason.com/i-like-google-wave-but.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Category Thumbnail View for Magento</title>
		<link>http://www.creativereason.com/category-thumbnail-view-for-magento.html</link>
		<comments>http://www.creativereason.com/category-thumbnail-view-for-magento.html#comments</comments>
		<pubDate>Sun, 22 Nov 2009 04:36:57 +0000</pubDate>
		<dc:creator>Brian Schwartz</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Magento]]></category>
		<category><![CDATA[Web/Tech]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.creativereason.com/?p=362</guid>
		<description><![CDATA[Background I needed to create a category thumbnails page for a client&#8217;s magento installation and after scouring google results and looking through templates, I couldn&#8217;t find any examples that did exactly what I wanted, so I created my own, based mostly on this post from Jake Rutter.  I figured I should share this in case [...]]]></description>
			<content:encoded><![CDATA[<h3>Background</h3>
<p>I needed to create a category thumbnails page for a client&#8217;s magento installation and after scouring google results and looking through templates, I couldn&#8217;t find any examples that did exactly what I wanted, so I created my own, based mostly on <a href="http://onerutter.com/web/magento-custom-category-images-listing-block-tutorial.html#idc-ctools">this post</a> from Jake Rutter.  I figured I should share this in case someone had a similar need to mine.</p>
<p>I ran into a few problems one of which I solved, one of which I didn&#8217;t:</p>
<ol>
<li>Trying to get the description for a category, when you iterate over getStoreCategories() it doesn&#8217;t actually load the categories, so calling category-&gt;getDescription() didn&#8217;t work at all. I had to actually load each category to do this.</li>
<li>Getting a reference to my default image (in case the category doesn&#8217;t have one), I left this hardcoded to mine since for some reason I wasn&#8217;t able to get the skin URL reference.</li>
</ol>
<p>To make this code work, I created a new PHTML page under my template (specifically app/design/frontend/default/myskin/template/page) added a new layout to my skin (app/code/core/Mage/cms/etc/config.xml or if you prefer your own local.xml)<br />
and made a static page use this template.  That was it.</p>
<p>The output shows a thumbnail and the category / name description for each category.</p>
<p>Note: I left out most of the formatting from my actual theme / skin here so this may look funky until you apply your own:</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>
&nbsp;
<span style="color: #000088;">$_helper</span>    <span style="color: #339933;">=</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">helper</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'catalog/output'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$_description</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> getCategoryImage<span style="color: #009900;">&#40;</span><span style="color: #000088;">$category</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #000088;">$categoryCollection</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;">setStoreId</span><span style="color: #009900;">&#40;</span>Mage<span style="color: #339933;">::</span><span style="color: #004000;">app</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getStore</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getId</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getCollection</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">addAttributeToSelect</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'image'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">addIdFilter</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$category</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getId</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$categoryCollection</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$category</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #b1b100;">return</span> <span style="color: #000088;">$category</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getImageUrl</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span> 
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> getCategoryDescription<span style="color: #009900;">&#40;</span><span style="color: #000088;">$_category</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #000088;">$_loadedcat</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: #000088;">$_category</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getId</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">return</span> <span style="color: #000088;">$_loadedcat</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getDescription</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span>
&nbsp;
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; xml:lang=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getLang</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; lang=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getLang</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot;&gt;
&lt;head&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getChildHtml</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'head'</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;/head&gt;
&lt;body <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getBodyClass</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>?<span style="color: #0000ff;">'class=&quot;'</span><span style="color: #339933;">.</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getBodyClass</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&quot;'</span><span style="color: #339933;">:</span><span style="color: #0000ff;">''</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getChildHtml</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'breadcrumbs'</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;div id=&quot;main&quot;&gt;
  &lt;div class=&quot;wrapper&quot;&gt;
        &lt;h3&gt;All Categories&lt;/h3&gt;
        <span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #000088;">$nav_class</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> Mage_Catalog_Block_Navigation<span style="color: #339933;">;</span>
<span style="color: #000088;">$current_cat</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getCurrentCategory</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$nav_class</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getStoreCategories</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$_category</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
	<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$_category</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getIsActive</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> 
	<span style="color: #009900;">&#123;</span>
		<span style="color: #000088;">$li_class</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$a_class</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$_imageUrl</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$link</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">;</span>			
		<span style="color: #000088;">$_noimageLink</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">;</span>
		<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">method_exists</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_category</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'getChildrenCategories'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #000088;">$childrens</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$_category</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getChildrenCategories</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #b1b100;">else</span> <span style="color: #000088;">$childrens</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$_category</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getChildren</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
		<span style="color: #000088;">$_catName</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$_category</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getName</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$_imageUrl</span> <span style="color: #339933;">=</span> getCategoryImage<span style="color: #009900;">&#40;</span><span style="color: #000088;">$_category</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$_link</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$nav_class</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getCategoryUrl</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_category</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
		<span style="color: #666666; font-style: italic;">//$_noimageLink = getSkinUrl(); - fix later</span>
		<span style="color: #000088;">$_noimageLink</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'/skin/frontend/default/kleertech/images/default-category-image.jpg'</span><span style="color: #339933;">;</span>
&nbsp;
		<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">trim</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_imageUrl</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">''</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>	
			<span style="color: #b1b100;">echo</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'&lt;div class=&quot;category-box&quot;&gt;&lt;div class=&quot;category-image-box&quot;&gt;'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #b1b100;">echo</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'&lt;a href=&quot;'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #b1b100;">echo</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_link</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #b1b100;">echo</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'?phpMyAdmin=312c4d00020ct1c730d42&quot;&gt;&lt;img src=&quot;'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #b1b100;">echo</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_noimageLink</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #b1b100;">echo</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'&quot; alt=&quot;No image available&quot; /&gt;&lt;/a&gt;'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #b1b100;">echo</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'&lt;/div&gt;&lt;div class=&quot;category-name&quot;&gt;&lt;p&gt;&lt;a href=&quot;'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #b1b100;">echo</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_link</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #b1b100;">echo</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'?phpMyAdmin=312c4d00020ct1c730d42&quot;&gt;'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #b1b100;">echo</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_catName</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #b1b100;">echo</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'&lt;/a&gt;&lt;/p&gt;'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #b1b100;">echo</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'&lt;p&gt;'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #b1b100;">echo</span><span style="color: #009900;">&#40;</span>getCategoryDescription<span style="color: #009900;">&#40;</span><span style="color: #000088;">$_category</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #b1b100;">echo</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'&lt;/p&gt;'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #b1b100;">echo</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'&lt;/div&gt;&lt;/div&gt;'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #009900;">&#125;</span> 
		<span style="color: #b1b100;">else</span>  <span style="color: #009900;">&#123;</span>
			<span style="color: #b1b100;">echo</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'&lt;div class=&quot;category-box&quot;&gt;&lt;div class=&quot;category-image-box&quot;&gt;'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #b1b100;">echo</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'&lt;a href=&quot;'</span><span style="color: #339933;">.</span><span style="color: #000088;">$_link</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'?phpMyAdmin=312c4d00020ct1c730d42&quot;&gt;&lt;img src=&quot;'</span><span style="color: #339933;">.</span><span style="color: #000088;">$_imageUrl</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&quot; alt=&quot;'</span><span style="color: #339933;">.</span><span style="color: #000088;">$_catName</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&quot; /&gt;&lt;/a&gt;'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #b1b100;">echo</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'&lt;/div&gt;&lt;div class=&quot;category-name&quot;&gt;&lt;p&gt;&lt;a href=&quot;'</span><span style="color: #339933;">.</span><span style="color: #000088;">$_link</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'?phpMyAdmin=312c4d00020ct1c730d42&quot;&gt;'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #b1b100;">echo</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_catName</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&lt;/a&gt;&lt;/p&gt;'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #b1b100;">echo</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'&lt;p&gt;'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #b1b100;">echo</span><span style="color: #009900;">&#40;</span>getCategoryDescription<span style="color: #009900;">&#40;</span><span style="color: #000088;">$_category</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #b1b100;">echo</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'&lt;/p&gt;'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #b1b100;">echo</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'&lt;/div&gt;&lt;/div&gt;'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;/div&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getChildHtml</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'footer'</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span> <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getChildHtml</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'header'</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span> <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getChildHtml</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'before_body_end'</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span> <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getAbsoluteFooter</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #000088;">$layer</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">setCurrentCategory</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_maincategorylisting</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>  <span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;/body&gt;
&lt;/html&gt;</pre></div></div>

<p>Let me know if this works for you (or if it doesn&#8217;t) and if you have any questions about the code. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.creativereason.com/category-thumbnail-view-for-magento.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Reason #1,244 Why I Hate Microsoft Word</title>
		<link>http://www.creativereason.com/reasons-i-hate-microsoft-word.html</link>
		<comments>http://www.creativereason.com/reasons-i-hate-microsoft-word.html#comments</comments>
		<pubDate>Tue, 13 Oct 2009 21:54:13 +0000</pubDate>
		<dc:creator>Brian Schwartz</dc:creator>
				<category><![CDATA[Musings]]></category>
		<category><![CDATA[Web/Tech]]></category>
		<category><![CDATA[Fail]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.creativereason.com/?p=337</guid>
		<description><![CDATA[So if you&#8217;re a designer and you&#8217;ve ever had to create a Microsoft Word or Powerpoint template for a client, you&#8217;ve felt this pain. One huge UI improvement that would make my life easier is the ability to swap out one image for another but keep everything else the same. Size, layout, placement, etc. If [...]]]></description>
			<content:encoded><![CDATA[<p>So if you&#8217;re a designer and you&#8217;ve ever had to create a Microsoft Word or Powerpoint template for a client, you&#8217;ve felt this pain.</p>
<p>One huge UI improvement that would make my life easier is the ability to swap out one image for another but keep everything else the same. Size, layout, placement, etc.</p>
<p>If I need to export a new image in Illustrator or Photoshop because the client decides they want the color to be different (or if it doesn&#8217;t look right printed, or whatever), I end up having to reset all of these settings, by hand. Every time.</p>
<p>Instead of just choosing a new version of the image in Word, I&#8217;m forced to do a screen scrape and paste them in Photoshop just to be able to try a new version of the image. This is stupid and should be fixed.</p>
<p>Here is the screen grab of my settings in Photoshop with my feelings on the matter:</p>
<div class="wp-caption alignnone" style="width: 545px"><img title="Word Fails" src="http://www.creativereason.com/wp-content/uploads/2009/09/word-fail.jpg" alt="Word Failur" width="535" height="582" /><p class="wp-caption-text">Word Failure</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.creativereason.com/reasons-i-hate-microsoft-word.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hello. Out There.</title>
		<link>http://www.creativereason.com/hello-out-there.html</link>
		<comments>http://www.creativereason.com/hello-out-there.html#comments</comments>
		<pubDate>Sun, 13 Sep 2009 05:42:07 +0000</pubDate>
		<dc:creator>Brian Schwartz</dc:creator>
				<category><![CDATA[Web/Tech]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://blog.creativereason.com/?p=298</guid>
		<description><![CDATA[So I&#8217;m switching things up. This site is now blog.creativereason.com, new site is live at www.creativereason.com and I&#8217;m in the midst of a redesign. Soon the blog will look like the new site and I&#8217;ll add some new features to the new site (recent posts, tweets, etc.).  It&#8217;s possible I&#8217;ll make the whole thing wordpress, [...]]]></description>
			<content:encoded><![CDATA[<p>So I&#8217;m switching things up. This site is now blog.creativereason.com, new site is live at <a href="http://www.creativereason.com">www.creativereason.com</a> and I&#8217;m in the midst of a redesign.</p>
<p>Soon the blog will look like the new site and I&#8217;ll add some new features to the new site (recent posts, tweets, etc.).  It&#8217;s possible I&#8217;ll make the whole thing wordpress, right now it&#8217;s handcoded xhtml.</p>
<p>I&#8217;d love to hear what you think. Consider this a soft launch.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.creativereason.com/hello-out-there.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MSN Video &#8211; Doesn&#8217;t Support Safari</title>
		<link>http://www.creativereason.com/msn-video-doesnt-support-safari.html</link>
		<comments>http://www.creativereason.com/msn-video-doesnt-support-safari.html#comments</comments>
		<pubDate>Mon, 24 Aug 2009 02:02:36 +0000</pubDate>
		<dc:creator>Brian Schwartz</dc:creator>
				<category><![CDATA[Web/Tech]]></category>

		<guid isPermaLink="false">http://www.creativereason.com/?p=295</guid>
		<description><![CDATA[Fail]]></description>
			<content:encoded><![CDATA[<p>Fail<br />
<img class="alignnone size-full wp-image-296" title="Picture 4" src="http://www.creativereason.com/wp-content/uploads/2009/08/Picture-4.png" alt="Picture 4" width="400" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.creativereason.com/msn-video-doesnt-support-safari.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Are mouseovers a thing of the past?</title>
		<link>http://www.creativereason.com/are-mouseovers-a-thing-of-the-past.html</link>
		<comments>http://www.creativereason.com/are-mouseovers-a-thing-of-the-past.html#comments</comments>
		<pubDate>Thu, 13 Aug 2009 21:57:15 +0000</pubDate>
		<dc:creator>Brian Schwartz</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web/Tech]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.creativereason.com/?p=284</guid>
		<description><![CDATA[Lately, I&#8217;ve been using jQuery and similar libraries whenever possible, instead of flash. Besides the fact that these libraries usually kick butt and make sites more usable and interactive, by not using flash these sites still work on phones. I like this little garage door effect, and I&#8217;ve seen it on some sites and was [...]]]></description>
			<content:encoded><![CDATA[<p>Lately, I&#8217;ve been using jQuery and similar libraries whenever possible, instead of flash. Besides the fact that these libraries usually kick butt and make sites more usable and interactive, by not using flash these sites still work on phones.</p>
<p>I like this little <a href="http://fuelyourcoding.com/garagedoor-effect-using-javascript/" target="_blank">garage door effect</a>, and I&#8217;ve seen it on some sites and was thinking about using it for a new version of a site I&#8217;m working on (hint, it rhymes with smoke), but when reviewing it on the iphone, it occurred to me that it didn&#8217;t work<sup>*</sup>.</p>
<p>Since the iPhone is a growing percentage of web audiences, and the long-rumored <a href="http://mashable.com/2009/08/03/apple-tablet-tested/" target="_blank">Apple table is supposedly about to be released</a>, which will surely use a multi-touch interface, should developers stop using mouseover effects on normal sites (ie non web-apps)?</p>
<p>What do you think small dedicated reading audience of this blog<sup>**</sup>?<br />
Note: There is a poll embedded within this post, please visit the site to participate in this post's poll.</p>
<p>*Or at least not with a click, which defeats the cool UI experience<br />
**Readership numbers are a pure guess, I&#8217;m too busy to go check google analytics at the moment. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.creativereason.com/are-mouseovers-a-thing-of-the-past.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

