<?xml version="1.0"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Page comments</title>
		<link>http://www.ssbits.com/home/</link>
		<atom:link href="http://www.ssbits.com/home/" rel="self" type="application/rss+xml" />
		<description></description>

		
		<item>
			<title></title>
			<link>http://www.ssbits.com/tutorials/2011/controllers-instead-of-pages/#PageComment_2128</link>
			<description>i want to pass data array from index method to view files how?</description>
			<pubDate></pubDate>
			<dc:creator>RSSName</dc:creator>
			<guid>http://www.ssbits.com/tutorials/2011/controllers-instead-of-pages/#PageComment_2128</guid>
		</item>
		
		<item>
			<title></title>
			<link>http://www.ssbits.com/tutorials/2011/controllers-instead-of-pages/#PageComment_1864</link>
			<description>Hey - I'm having a problems with getting to render the correct view.
If I just do as the above in the action (return array();) - then nothing is shown at all.
The only way I can get an output is by either
1. return $this; (but this will not render the right template XX_myaction.ss)
2. return $this-&gt;customise($data)-&gt;renderWith(array('XX_myaction', 'Page'));

I'm runining version 3.0.

I would love if I shouldn't call all the customise and renderWith and specify the exact template all the time.</description>
			<pubDate></pubDate>
			<dc:creator>RSSName</dc:creator>
			<guid>http://www.ssbits.com/tutorials/2011/controllers-instead-of-pages/#PageComment_1864</guid>
		</item>
		
		<item>
			<title></title>
			<link>http://www.ssbits.com/tutorials/2011/controllers-instead-of-pages/#PageComment_887</link>
			<description>Actually, I've now realised that there was another error causing the form submit to fail.

To be honest I didn't actually realise that the form first of all posts data back to it's own method and THEN passes data onto the method set with FormAction.

The combination of these two things had me all confuzled. Sorted now!</description>
			<pubDate></pubDate>
			<dc:creator>RSSName</dc:creator>
			<guid>http://www.ssbits.com/tutorials/2011/controllers-instead-of-pages/#PageComment_887</guid>
		</item>
		
		<item>
			<title></title>
			<link>http://www.ssbits.com/tutorials/2011/controllers-instead-of-pages/#PageComment_877</link>
			<description>Hi all,

I'm having a bit of trouble with the whole pages vs controllers technique. 

What I'm trying to achieve is a front end CRUD system, giving certain users the ability to add/edit/delete records without using the CMS module.

The problem is that whenever I construct a $Form in one of my 'pages', the URL that the form is posted to (so the URL that is automatically added to the action attribute of the form) is always set to '/ControllerName/MethodName/', rather than the URL alias that I set with Director::addRules in my config.

Subsequently the form always fails and I'm not sure how to fix the problem. Has anyone come across this issue before? Will $url_handlers in my controller help in any way?</description>
			<pubDate></pubDate>
			<dc:creator>RSSName</dc:creator>
			<guid>http://www.ssbits.com/tutorials/2011/controllers-instead-of-pages/#PageComment_877</guid>
		</item>
		
		<item>
			<title></title>
			<link>http://www.ssbits.com/tutorials/2011/controllers-instead-of-pages/#PageComment_546</link>
			<description>@Ty

I'm at the same point as MisterAC.
Don't know how to add the Controller to the Menu. Even after looking at the ContentController docs and code.

Would be awesome if you could do a tutorial on that or at least explain it in a comment.

Thanks,
Manuel</description>
			<pubDate></pubDate>
			<dc:creator>RSSName</dc:creator>
			<guid>http://www.ssbits.com/tutorials/2011/controllers-instead-of-pages/#PageComment_546</guid>
		</item>
		
		<item>
			<title></title>
			<link>http://www.ssbits.com/tutorials/2011/controllers-instead-of-pages/#PageComment_469</link>
			<description>Nice post, Ty!  I'll try this technique next time...would have been handy for a recent recruitment project I was working on.

Also @Martijn van Nieuwenhoven - many thanks for sharing your code snippet on SSPaste.com - I can see it being very useful for me in the future.</description>
			<pubDate></pubDate>
			<dc:creator>RSSName</dc:creator>
			<guid>http://www.ssbits.com/tutorials/2011/controllers-instead-of-pages/#PageComment_469</guid>
		</item>
		
		<item>
			<title></title>
			<link>http://www.ssbits.com/tutorials/2011/controllers-instead-of-pages/#PageComment_372</link>
			<description>MisterAC,

Take a look at the class ContentController (I did a Google search for &quot;docs for class ContentController&quot;).  That should help you move forward.  I'll look into doing another post on getting controllers into the Site Tree</description>
			<pubDate></pubDate>
			<dc:creator>RSSName</dc:creator>
			<guid>http://www.ssbits.com/tutorials/2011/controllers-instead-of-pages/#PageComment_372</guid>
		</item>
		
		<item>
			<title></title>
			<link>http://www.ssbits.com/tutorials/2011/controllers-instead-of-pages/#PageComment_371</link>
			<description>Thx, very helping for my next project.</description>
			<pubDate></pubDate>
			<dc:creator>RSSName</dc:creator>
			<guid>http://www.ssbits.com/tutorials/2011/controllers-instead-of-pages/#PageComment_371</guid>
		</item>
		
		<item>
			<title></title>
			<link>http://www.ssbits.com/tutorials/2011/controllers-instead-of-pages/#PageComment_368</link>
			<description>I, like others, like the idea of cleaning up the tree by keeping code in controllers alone. However, I've been trying to figure out how to add these controllers to the main site navigation (generated with Menu(1), Menu(2) and so on in the templates).

Have I just missed something obvious? Perhaps somebody more experienced could point me in the right direction.</description>
			<pubDate></pubDate>
			<dc:creator>RSSName</dc:creator>
			<guid>http://www.ssbits.com/tutorials/2011/controllers-instead-of-pages/#PageComment_368</guid>
		</item>
		
		<item>
			<title></title>
			<link>http://www.ssbits.com/tutorials/2011/controllers-instead-of-pages/#PageComment_360</link>
			<description>My favorite usecase for this, is to create a Search results page, so searchresults will has its own page instead of displaying them on the current page the search is perfomed:

http://www.sspaste.com/paste/show/4c84cb3f4d2e1

In this way you can also create nice SEO pages on keywords by redirecting to site.com/jobsorproductsorwhatever/{$keyword}</description>
			<pubDate></pubDate>
			<dc:creator>RSSName</dc:creator>
			<guid>http://www.ssbits.com/tutorials/2011/controllers-instead-of-pages/#PageComment_360</guid>
		</item>
		

	</channel>
</rss>