<?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: Simple CakePHP CMS (Content Management System)</title>
	<atom:link href="http://www.jbcrawford.net/archives/122/feed" rel="self" type="application/rss+xml" />
	<link>http://www.jbcrawford.net/archives/122</link>
	<description>Using wordpress because he is lazy</description>
	<lastBuildDate>Tue, 22 Nov 2011 16:04:16 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Bo-oz</title>
		<link>http://www.jbcrawford.net/archives/122/comment-page-2#comment-1615</link>
		<dc:creator>Bo-oz</dc:creator>
		<pubDate>Wed, 12 Oct 2011 11:32:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.jbcrawford.net/?p=122#comment-1615</guid>
		<description>Hi,

Great tut, very clean and simple code. I was looking for a solution like this, although I would also like to be able to point to other controller/action combinations when creating &#039;content&#039;, so you can actually use the same system for non-CMS content. Any thoughts on this?</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Great tut, very clean and simple code. I was looking for a solution like this, although I would also like to be able to point to other controller/action combinations when creating &#8216;content&#8217;, so you can actually use the same system for non-CMS content. Any thoughts on this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fahd</title>
		<link>http://www.jbcrawford.net/archives/122/comment-page-2#comment-1348</link>
		<dc:creator>Fahd</dc:creator>
		<pubDate>Thu, 16 Jun 2011 03:13:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.jbcrawford.net/?p=122#comment-1348</guid>
		<description>Thanks fot the tut man !</description>
		<content:encoded><![CDATA[<p>Thanks fot the tut man !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tom</title>
		<link>http://www.jbcrawford.net/archives/122/comment-page-2#comment-979</link>
		<dc:creator>tom</dc:creator>
		<pubDate>Wed, 25 May 2011 21:39:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.jbcrawford.net/?p=122#comment-979</guid>
		<description>Hi.. thanks for the tutorial.. but the sample link is broken..</description>
		<content:encoded><![CDATA[<p>Hi.. thanks for the tutorial.. but the sample link is broken..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Douglas</title>
		<link>http://www.jbcrawford.net/archives/122/comment-page-2#comment-976</link>
		<dc:creator>Douglas</dc:creator>
		<pubDate>Thu, 05 May 2011 19:52:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.jbcrawford.net/?p=122#comment-976</guid>
		<description>Changing the title of pages created? Content appears in all</description>
		<content:encoded><![CDATA[<p>Changing the title of pages created? Content appears in all</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fred</title>
		<link>http://www.jbcrawford.net/archives/122/comment-page-1#comment-973</link>
		<dc:creator>Fred</dc:creator>
		<pubDate>Mon, 18 Apr 2011 15:05:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.jbcrawford.net/?p=122#comment-973</guid>
		<description>Very Nice work Joe

Thanks for sharing</description>
		<content:encoded><![CDATA[<p>Very Nice work Joe</p>
<p>Thanks for sharing</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon</title>
		<link>http://www.jbcrawford.net/archives/122/comment-page-1#comment-972</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Fri, 08 Apr 2011 16:24:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.jbcrawford.net/?p=122#comment-972</guid>
		<description>Thanks for this, its nice to see people putting the effort in to provide the community with quality examples of what can be done using freely available tools.</description>
		<content:encoded><![CDATA[<p>Thanks for this, its nice to see people putting the effort in to provide the community with quality examples of what can be done using freely available tools.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: CHristopher Cuizon</title>
		<link>http://www.jbcrawford.net/archives/122/comment-page-1#comment-937</link>
		<dc:creator>CHristopher Cuizon</dc:creator>
		<pubDate>Tue, 18 Jan 2011 04:47:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.jbcrawford.net/?p=122#comment-937</guid>
		<description>starting to like cake php now......than ci ^_^</description>
		<content:encoded><![CDATA[<p>starting to like cake php now&#8230;&#8230;than ci ^_^</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dogmatic69</title>
		<link>http://www.jbcrawford.net/archives/122/comment-page-1#comment-352</link>
		<dc:creator>dogmatic69</dc:creator>
		<pubDate>Sun, 21 Nov 2010 01:03:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.jbcrawford.net/?p=122#comment-352</guid>
		<description>That is exactly what the router is for, you should never name controllers according to what you want the url to be.

Router::connect(&#039;/whatever&#039;, array(&#039;controller&#039; =&gt; &#039;contents&#039;... would allow you to have what you need in the url.

Cake will also never look for a Contents model, it does something like Inflector::singularize() to the controller name to get the model name, and hence will never be plural.

You can also create a pages controller with out having any problems as cake looks inside the app folder for code before going to the core libs folder.</description>
		<content:encoded><![CDATA[<p>That is exactly what the router is for, you should never name controllers according to what you want the url to be.</p>
<p>Router::connect(&#8216;/whatever&#8217;, array(&#8216;controller&#8217; =&gt; &#8216;contents&#8217;&#8230; would allow you to have what you need in the url.</p>
<p>Cake will also never look for a Contents model, it does something like Inflector::singularize() to the controller name to get the model name, and hence will never be plural.</p>
<p>You can also create a pages controller with out having any problems as cake looks inside the app folder for code before going to the core libs folder.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joseph</title>
		<link>http://www.jbcrawford.net/archives/122/comment-page-1#comment-214</link>
		<dc:creator>Joseph</dc:creator>
		<pubDate>Sun, 07 Nov 2010 14:50:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.jbcrawford.net/?p=122#comment-214</guid>
		<description>Thanks Jan good catch. :) I think I might also update the setFlash calls to use templates.</description>
		<content:encoded><![CDATA[<p>Thanks Jan good catch. <img src='http://www.jbcrawford.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  I think I might also update the setFlash calls to use templates.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jan</title>
		<link>http://www.jbcrawford.net/archives/122/comment-page-1#comment-213</link>
		<dc:creator>Jan</dc:creator>
		<pubDate>Sun, 07 Nov 2010 13:17:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.jbcrawford.net/?p=122#comment-213</guid>
		<description>Hi Joseph,

This is a very nice base to start with. It needs some tweaking to work properly with 1.3, but it shouldn&#039;t be too bad.

Apart from the delete thing, another one is to explicitly call the Session component, otherwise you&#039;ll get errors on the setFlash calls, saying Session is not an object. It&#039;s quite a simple fix, append the $components array in the controller with Session, so you&#039;ll get this:

var $components = array(&#039;Session&#039;, &#039;Route&#039;);</description>
		<content:encoded><![CDATA[<p>Hi Joseph,</p>
<p>This is a very nice base to start with. It needs some tweaking to work properly with 1.3, but it shouldn&#8217;t be too bad.</p>
<p>Apart from the delete thing, another one is to explicitly call the Session component, otherwise you&#8217;ll get errors on the setFlash calls, saying Session is not an object. It&#8217;s quite a simple fix, append the $components array in the controller with Session, so you&#8217;ll get this:</p>
<p>var $components = array(&#8216;Session&#8217;, &#8216;Route&#8217;);</p>
]]></content:encoded>
	</item>
</channel>
</rss>

