<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: The OpenCart Router Class</title>
	<atom:link href="http://sammela.com/2009/11/13/the-opencart-router-class/feed/" rel="self" type="application/rss+xml" />
	<link>http://sammela.com/2009/11/13/the-opencart-router-class/</link>
	<description>Stunning web design articles</description>
	<lastBuildDate>Fri, 11 Dec 2009 04:30:17 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jeeremie</title>
		<link>http://sammela.com/2009/11/13/the-opencart-router-class/comment-page-1/#comment-175</link>
		<dc:creator>Jeeremie</dc:creator>
		<pubDate>Fri, 11 Dec 2009 04:30:17 +0000</pubDate>
		<guid isPermaLink="false">http://sammela.com/?p=443#comment-175</guid>
		<description>Hi Sam. Thanks for this article. Really useful. You should add this to the OpenCart Wiki for reference. It is really empty there.

Just a question. I want to create a new layout to display a list of retailers. I have created a new php file in /controller/common/retailers.php and the layout that goes with it in /view/theme/default/template/common/retailers.tpl

As I understand, my class should be as followed:

&lt;code&gt;
.
class ControllerCommonRetailers extends Controller { ... }
.
&lt;/code&gt;

However, I get &quot;Page not found&quot; in my browser. Do I have to create the router as well and, if so, where? in index.php? I am not clear on that.</description>
		<content:encoded><![CDATA[<p>Hi Sam. Thanks for this article. Really useful. You should add this to the OpenCart Wiki for reference. It is really empty there.</p>
<p>Just a question. I want to create a new layout to display a list of retailers. I have created a new php file in /controller/common/retailers.php and the layout that goes with it in /view/theme/default/template/common/retailers.tpl</p>
<p>As I understand, my class should be as followed:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">.<br />
class ControllerCommonRetailers extends Controller { ... }<br />
.</div></div>
<p>However, I get &#8220;Page not found&#8221; in my browser. Do I have to create the router as well and, if so, where? in index.php? I am not clear on that.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
