<?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>Smith-Web.net</title>
	<atom:link href="http://www.smith-web.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.smith-web.net</link>
	<description></description>
	<lastBuildDate>Thu, 28 May 2009 22:53:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<atom:link rel="next" href="http://www.smith-web.net/feed/?page=2" />

		<item>
		<title>Magento Multi-Site Skin Module</title>
		<link>http://www.smith-web.net/2009/05/magento-multi-site-skin-module/</link>
		<comments>http://www.smith-web.net/2009/05/magento-multi-site-skin-module/#comments</comments>
		<pubDate>Thu, 28 May 2009 22:46:38 +0000</pubDate>
		<dc:creator>J Smith</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[magento]]></category>
		<category><![CDATA[module]]></category>

		<guid isPermaLink="false">http://www.smith-web.net/?p=98</guid>
		<description><![CDATA[As mentioned in my previous post, here is a step by step guide on how we used site specific css stylesheets to override parts of a global CSS stylesheet on the new multi-site magento setup we are using at Kully Supply.

First a little background on our setup. We created a new design package, lets call [...]]]></description>
			<content:encoded><![CDATA[<p>As mentioned in my previous post, here is a step by step guide on how we used site specific css stylesheets to override parts of a global CSS stylesheet on the new multi-site magento setup we are using at Kully Supply.<br />
<span id="more-98"></span><br />
First a little background on our setup. We created a new design package, lets call it Kully for the purposes of the tutorial. So under the app/design folder, we added a new folder Kully. Under that we added a default folder to hold all of the default templates for the sites. For each site we created another folder under the Kully folder to put templates and layouts that needed to be different from the default template. For example, under the Kully folder we would have &#8216;default&#8217;, &#8217;site1&#8242;, &#8217;site2&#8242;, etc folders.</p>
<p>To set up the site skins we used the following settings under the design section of each sites configuration. Package->Current Package Name: Kully, Themes->Translations: default, Themes->Templates: site1, Themes->Skin (Images / CSS): default, Themes->Layout: site1, Themes->default: default.</p>
<p>This makes it so that Magento will first look in the &#8217;site1&#8242; folder for any layouts or templates. Any that it can&#8217;t find there it looks next in default. By setting the skin folder to default, we only have 1 core css file to keep up-to-date.</p>
<p>To add another css file to each site, we could have copied the default page.xml file from the default layout into each sites layout folders, but if we had to change one of those, we&#8217;d likely have to change them all, and as we&#8217;re going to be running many stores of this one install, that would get tedious changing all of those files. So we created a module for the purpose of being able to load another smaller layout file just for each site.</p>
<p>In order to do this you have to do the following.</p>
<p>Under the /app/code/local folder, create a new package folder. In our case, we used Kully. Under that create a folder for your new module, we&#8217;ll call it SiteSkin. Creat a folder &#8216;etc&#8217; under that. So in our case we would have a directory structure like this.</p>
<pre><code>app/
  code/
    local/
      Kully/
        SiteSkin/
          etc/</code></pre>
<p>In the &#8216;etc&#8217; folder, create a file called config.xml with the following xml in it.</p>
<pre><code >&lt;?xml version="1.0"?&gt;
&lt;config&gt;
    &lt;modules&gt;
        &lt;Kully_SiteSkin&gt;
            &lt;version&gt;0.1.0&lt;/version&gt;
        &lt;/Kully_SiteSkin&gt;
    &lt;/modules&gt;
    &lt;frontend&gt;
        &lt;layout&gt;
            &lt;updates&gt;
                &lt;siteSkin&gt;
                    &lt;file&gt;siteskin.xml&lt;/file&gt;
                &lt;/siteSkin&gt;
            &lt;/updates&gt;
        &lt;/layout&gt;
    &lt;/frontend&gt;
&lt;/config&gt;</code></pre>
<p>Under app/etc/modules create a file called Kully_All.xml and place this code in it to activate the module.</p>
<pre>
<code>&lt;?xml version="1.0"?&gt;
&lt;config&gt;
    &lt;modules&gt;
        &lt;Kully_SiteSkin&gt;
            &lt;active&gt;true&lt;/active&gt;
            &lt;codePool&gt;local&lt;/codePool&gt;
        &lt;/Kully_SiteSkin&gt;
    &lt;/modules&gt;
&lt;/config&gt;</code>
</pre>
<p>Now that you have done this, you might be asking, what good does this do for me?</p>
<p>Back in your app/design/frontend/kully/site1/layout folder, you can now create a siteskin.xml file to add new css files, override blocks, etc for that site. See below for an example.</p>
<pre>
<code>&lt;?xml version="1.0"?&gt;
&lt;layout version="0.1.0"&gt;
    &lt;default&gt;
        &lt;reference name="head"&gt;
            &lt;action method="addItem"&gt;&lt;type&gt;skin_css&lt;/type&gt;&lt;name&gt;css/site1.css&lt;/name&gt;&lt;params/&gt;&lt;/action&gt;
            &lt;action method="addItem"&gt;&lt;type&gt;skin_js&lt;/type&gt;&lt;name&gt;js/site1.js&lt;/name&gt;&lt;params/&gt;&lt;/action&gt;
        &lt;/reference&gt;
    &lt;/default&gt;
&lt;/layout&gt;</code>
</pre>
<p>The css/site1.css and js/site1.js just goes in your default skin folder. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.smith-web.net/2009/05/magento-multi-site-skin-module/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Kully Supply</title>
		<link>http://www.smith-web.net/2009/05/kully-supply/</link>
		<comments>http://www.smith-web.net/2009/05/kully-supply/#comments</comments>
		<pubDate>Wed, 27 May 2009 11:31:38 +0000</pubDate>
		<dc:creator>J Smith</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[e-commerce]]></category>
		<category><![CDATA[magento]]></category>
		<category><![CDATA[XHTML]]></category>

		<guid isPermaLink="false">http://www.smith-web.net/?p=78</guid>
		<description><![CDATA[My employer Kully Supply, Inc has several online stores devoted primarily commercial plumbing parts. As we kept adding more, we were left with a large number of online stores to manage using various e-commerce solutions. After trying to maintain 11 different stores and having to make the same template changes on all of the stores, [...]]]></description>
			<content:encoded><![CDATA[<p>My employer <a href="http://www.kullysupply.com" target="_blank">Kully Supply, Inc</a> has several online stores devoted primarily <a href="http://www.commercialplumbingparts.com" target="_self">commercial plumbing parts</a>. As we kept adding more, we were left with a large number of online stores to manage using various e-commerce solutions. After trying to maintain 11 different stores and having to make the same template changes on all of the stores, as well as developing new sites we came to the conclusion that the best thing to do would be to migrate all of our e-commerce sites into one Magento install and use it to run all of our sites.</p>
<p><span id="more-78"></span></p>
<p>We wanted to create a single theme that we could use accross all of our websites, while also being able to control the skin of each site and also the option to override templates for a given site. My co-worker, <a href="http://www.greghalbert.com" target="_blank">Greg Halbert</a>, did the design work for the site and the illustration of our new company mascot, Kaptain Kully and did a lot of the site specific CSS. I had the task of importing all of our data from the old stores into the new site, as well as creating the skeleton template and skin as well as several custom modules, including a skin module that allows us to use a default css file for all of the sites that controlls the structure, while being able to specify a css override file for each site easily. I will be posting info on that module later.</p>
<p>We currently have 3 sites transferred over, <a href="http://www.flushmaterepairparts.com" target="_blank">Flushmate Repair Parts</a>, <a href="http://www.zurnproducts.com" target="_blank">Zurn Products</a> and <a href="http://www.sharkbiteplumbing.com" target="_blank">SharkBite Plumbing</a>, with several more to be relaunched in the next few weeks.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.smith-web.net/2009/05/kully-supply/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GregHalbert.com</title>
		<link>http://www.smith-web.net/2009/01/greghalbertcom/</link>
		<comments>http://www.smith-web.net/2009/01/greghalbertcom/#comments</comments>
		<pubDate>Fri, 23 Jan 2009 03:56:40 +0000</pubDate>
		<dc:creator>J Smith</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Slicing]]></category>
		<category><![CDATA[Theme]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[XHTML]]></category>

		<guid isPermaLink="false">http://smith-web.net/?p=54</guid>
		<description><![CDATA[Talented Caricature Artist Greg Halbert recently had me assist him in setting up wordpress to allow him to more easily update his portfolio. Make sure to check out his Obama Caricature. I set up wordpress, created a theme based on some PSD&#8217;s that Greg gave me, and set up 301 redirects for all of his [...]]]></description>
			<content:encoded><![CDATA[<p>Talented <a href="http://www.greghalbert.com" target="_blank">Caricature Artist</a> Greg Halbert recently had me assist him in setting up wordpress to allow him to more easily update his portfolio. Make sure to check out his <a href="http://www.greghalbert.com/item/72/barack-obama/" target="_blank">Obama Caricature</a>. I set up wordpress, created a theme based on some PSD&#8217;s that Greg gave me, and set up 301 redirects for all of his old pages to point to the new locations to make sure that he kept the benefit all of his previous inbound links.<br />
<span id="more-54"></span><br />
<a href="http://www.greghalbert.com" target="_blank">Visit Site &raquo;</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.smith-web.net/2009/01/greghalbertcom/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Modern Cafe</title>
		<link>http://www.smith-web.net/2009/01/modern-cafe/</link>
		<comments>http://www.smith-web.net/2009/01/modern-cafe/#comments</comments>
		<pubDate>Fri, 16 Jan 2009 12:29:26 +0000</pubDate>
		<dc:creator>J Smith</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Slicing]]></category>
		<category><![CDATA[XHTML]]></category>

		<guid isPermaLink="false">http://smith-web.net/?p=32</guid>
		<description><![CDATA[This was a slicing and xhtml / css coding project I did recently for Justin over at Big Business Worldwide who did the wonderful design work. Make sure to check out the video clip of the episode of Diners, Drive-ins and Dives that the restaurant was featured on.

View Site »
]]></description>
			<content:encoded><![CDATA[<p>This was a slicing and xhtml / css coding project I did recently for Justin over at <a href="http://www.bigbusinessworldwide.com" target="_blank">Big Business Worldwide</a> who did the wonderful design work. Make sure to check out the video clip of the episode of Diners, Drive-ins and Dives that the restaurant was featured on.<br />
<span id="more-32"></span><br />
<a title="Modern Cafe Minneapolis" href="http://www.moderncafeminneapolis.com" target="_blank">View Site »</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.smith-web.net/2009/01/modern-cafe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Big Business Worldwide</title>
		<link>http://www.smith-web.net/2009/01/big-business-worldwide/</link>
		<comments>http://www.smith-web.net/2009/01/big-business-worldwide/#comments</comments>
		<pubDate>Fri, 02 Jan 2009 12:49:55 +0000</pubDate>
		<dc:creator>J Smith</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Theme]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[XHTML]]></category>

		<guid isPermaLink="false">http://smith-web.net/?p=43</guid>
		<description><![CDATA[Justin over at Big Business Worldwide recently had me create a new blogfolio site for him. I created a Wordpress theme based on his design ideas.
]]></description>
			<content:encoded><![CDATA[<p>Justin over at <a href="http://www.bigbusinessworldwide.com" target="_blank">Big Business Worldwide</a> recently had me create a new blogfolio site for him. I created a Wordpress theme based on his design ideas.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.smith-web.net/2009/01/big-business-worldwide/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Twin Cities Real Estate &#8211; SouthMetroHouses.com</title>
		<link>http://www.smith-web.net/2008/02/twin-cities-real-estate-southmetrohouses/</link>
		<comments>http://www.smith-web.net/2008/02/twin-cities-real-estate-southmetrohouses/#comments</comments>
		<pubDate>Mon, 18 Feb 2008 22:08:16 +0000</pubDate>
		<dc:creator>J Smith</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[CakePHP]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Textpattern]]></category>
		<category><![CDATA[XHTML]]></category>

		<guid isPermaLink="false">http://smith-web.net/?p=1</guid>
		<description><![CDATA[This site was created for the Scislow Group, of RE/MAX Results in Apple Valley, MN to replace their old outdated template site.

It is mainly built using Textpattern with quite a few custom and 3rd party plugins.
The site also features a Featured Listing system for displaying the companies listings. The system was created with CakePHP and [...]]]></description>
			<content:encoded><![CDATA[<p>This site was created for the Scislow Group, of RE/MAX Results in Apple Valley, MN to replace their old outdated template site.<br />
<span id="more-1"></span><br />
It is mainly built using Textpattern with quite a few custom and 3rd party plugins.</p>
<p>The site also features a Featured Listing system for displaying the companies listings. The system was created with CakePHP and features Google Maps, Lightbox photo galleries, and xml data feeds out to many real estate search portals such as Trulia, Zillow, etc.</p>
<p>All of the forms on the site are integrated with Top Producer, a real estate client management program.</p>
<p><a href="http://www.southmetrohouses.com" target="_blank">Visit Site »</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.smith-web.net/2008/02/twin-cities-real-estate-southmetrohouses/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
