<?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>Solutions Log &#187; Random</title>
	<atom:link href="http://solutions.treypiepmeier.com/category/random/feed/" rel="self" type="application/rss+xml" />
	<link>http://solutions.treypiepmeier.com</link>
	<description>So I don&#039;t have to figure things out more than once.</description>
	<lastBuildDate>Sun, 22 Aug 2010 19:26:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Starting a Magento Theme</title>
		<link>http://solutions.treypiepmeier.com/2008/05/19/starting-a-magento-theme/</link>
		<comments>http://solutions.treypiepmeier.com/2008/05/19/starting-a-magento-theme/#comments</comments>
		<pubDate>Mon, 19 May 2008 21:22:04 +0000</pubDate>
		<dc:creator>Trey</dc:creator>
				<category><![CDATA[Random]]></category>

		<guid isPermaLink="false">http://solutions.treypiepmeier.com/?p=87</guid>
		<description><![CDATA[Duplicate these folders: app/design/frontend/default/default skin/frontend/default/default (Don&#8217;t get me started about how awkward the folder structure is.) Rename the duplicated folders to whatever you want (make them both the same). FYI, the theme files under the app/ folder are for generated templates (things the system has to build when the site is viewed) and the theme [...]]]></description>
			<content:encoded><![CDATA[<p><!-- I'm a bit riled about the way this system is setup.  I don't understand who ecommerce systems are designed for, but it sure as hell isn't a designer or someone with a normal since of intuition with computers or web development.  Magento promised to be a better open source shopping cart package, which it seem to be, but it's still far from a pleasure to use.

The theme system is based on XML; which is a terse, unfriendly beast on it's best day.  Locking it in the room with a designer who needs to build something is just cruel.  I think it's time we stop letting programmers build things that are meant to be used by designers.  They need supervision by normal people.

Enough ranting, on with the how-to.
-->
Duplicate these folders:</p>

<pre><code>app/design/frontend/default/default
skin/frontend/default/default
</code></pre>

<p>(Don&#8217;t get me started about how awkward the folder structure is.)</p>

<p>Rename the duplicated folders to whatever you want (make them both the same).</p>

<p>FYI, the theme files under the <code>app/</code> folder are for generated templates (things the system has to build when the site is viewed) and the theme files under the <code>skin/</code> folder are for publicly viewable files (images, CSS, JavaScript).</p>

<p>Now go to your the admin area of your site and then <code>System &gt; Configuration</code>.  Then click <code>Design</code> in the sidebar and under <code>Themes</code> type the name of your theme folders (the ones you duplicated).  Just once.  One name.</p>

<p>Now the fun really begins.  Time to dig into a bluemillion <code>.phtml</code> and <code>.xml</code> files.  I&#8217;m still not too far along here, but I have determined that to change the media that you load in most pages, you need to edit:</p>

<pre><code>app/design/frontend/default/your_theme_name/layout/page.xml
</code></pre>

<p>There you&#8217;ll se a bunch of crap like this:</p>

<pre><code>&lt;action method="addCss"&gt;&lt;stylesheet&gt;css/reset.css&lt;/stylesheet&gt;&lt;/action&gt;
</code></pre>

<p>Have fun.</p>
]]></content:encoded>
			<wfw:commentRss>http://solutions.treypiepmeier.com/2008/05/19/starting-a-magento-theme/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Changing the name of an app&#8217;s cookie in Rails</title>
		<link>http://solutions.treypiepmeier.com/2006/11/28/changing-the-name-of-an-apps-cookie-in-rails/</link>
		<comments>http://solutions.treypiepmeier.com/2006/11/28/changing-the-name-of-an-apps-cookie-in-rails/#comments</comments>
		<pubDate>Tue, 28 Nov 2006 21:34:37 +0000</pubDate>
		<dc:creator>Trey</dc:creator>
				<category><![CDATA[Rails]]></category>
		<category><![CDATA[Random]]></category>

		<guid isPermaLink="false">http://solutions.treypiepmeier.com/2006/11/28/changing-the-name-of-an-apps-cookie-in-rails/</guid>
		<description><![CDATA[While running Tracks and another app on my localhost, I realized that every time I did something on one, it would log me out of the other. Overwriting each other&#8217;s cookies! Add this line to your config/environment.rb: ActionController::Base.session_options[:session_key] = 'yourappnamehere_session_id' Then restart the app. All better now. Source]]></description>
			<content:encoded><![CDATA[<p>While running <a href="http://www.rousette.org.uk/projects/">Tracks</a> and another app on my localhost, I realized that every time I did something on one, it would log me out of the other.  Overwriting each other&#8217;s cookies!</p>

<p>Add this line to your <code>config/environment.rb</code>:</p>

<pre><code>ActionController::Base.session_options[:session_key] = 'yourappnamehere_session_id'
</code></pre>

<p>Then restart the app.  All better now.</p>

<p><a href="http://wiki.rubyonrails.org/rails/pages/HowtoChangeSessionOptions">Source</a></p>
]]></content:encoded>
			<wfw:commentRss>http://solutions.treypiepmeier.com/2006/11/28/changing-the-name-of-an-apps-cookie-in-rails/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
