<?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: CakePHP : Change view file from controller</title>
	<atom:link href="http://www.lost-in-code.com/programming/php-code/cakephp-change-view-file-from-controller/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lost-in-code.com/programming/php-code/cakephp-change-view-file-from-controller/</link>
	<description>Web Development Resources</description>
	<lastBuildDate>Mon, 30 Jan 2012 10:42:11 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Raju Kumar</title>
		<link>http://www.lost-in-code.com/programming/php-code/cakephp-change-view-file-from-controller/comment-page-1/#comment-8634</link>
		<dc:creator>Raju Kumar</dc:creator>
		<pubDate>Wed, 31 Aug 2011 05:18:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.lost-in-code.com/?p=66#comment-8634</guid>
		<description>nice information</description>
		<content:encoded><![CDATA[<p>nice information</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shmeksi</title>
		<link>http://www.lost-in-code.com/programming/php-code/cakephp-change-view-file-from-controller/comment-page-1/#comment-7548</link>
		<dc:creator>Shmeksi</dc:creator>
		<pubDate>Wed, 18 May 2011 10:36:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.lost-in-code.com/?p=66#comment-7548</guid>
		<description>Good work !</description>
		<content:encoded><![CDATA[<p>Good work !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Haris</title>
		<link>http://www.lost-in-code.com/programming/php-code/cakephp-change-view-file-from-controller/comment-page-1/#comment-7518</link>
		<dc:creator>Haris</dc:creator>
		<pubDate>Mon, 11 Apr 2011 11:54:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.lost-in-code.com/?p=66#comment-7518</guid>
		<description>Little help please!!! Lets say you have a posts slider that rotates e.g. the last 4 posts in the page banner and you also want to loop over the latest posts in the content area of the page that limits lets say 10 to 20 latest posts. Is there a way that i could create another method and send it to the view to render the slider separately from the index action?    

Thanks in advance...</description>
		<content:encoded><![CDATA[<p>Little help please!!! Lets say you have a posts slider that rotates e.g. the last 4 posts in the page banner and you also want to loop over the latest posts in the content area of the page that limits lets say 10 to 20 latest posts. Is there a way that i could create another method and send it to the view to render the slider separately from the index action?    </p>
<p>Thanks in advance&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vancouver web design</title>
		<link>http://www.lost-in-code.com/programming/php-code/cakephp-change-view-file-from-controller/comment-page-1/#comment-7461</link>
		<dc:creator>vancouver web design</dc:creator>
		<pubDate>Thu, 03 Mar 2011 21:56:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.lost-in-code.com/?p=66#comment-7461</guid>
		<description>I guess it would ignore default view, and view variables would work as normal?</description>
		<content:encoded><![CDATA[<p>I guess it would ignore default view, and view variables would work as normal?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RSK</title>
		<link>http://www.lost-in-code.com/programming/php-code/cakephp-change-view-file-from-controller/comment-page-1/#comment-7115</link>
		<dc:creator>RSK</dc:creator>
		<pubDate>Thu, 28 Oct 2010 10:54:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.lost-in-code.com/?p=66#comment-7115</guid>
		<description>if u want to pass any variable to view 
Then $this-&gt;set(compact(&#039;someVariable&#039;)); 
(Set) statement should be given before calling render().</description>
		<content:encoded><![CDATA[<p>if u want to pass any variable to view<br />
Then $this-&gt;set(compact(&#8216;someVariable&#8217;));<br />
(Set) statement should be given before calling render().</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raven</title>
		<link>http://www.lost-in-code.com/programming/php-code/cakephp-change-view-file-from-controller/comment-page-1/#comment-1534</link>
		<dc:creator>Raven</dc:creator>
		<pubDate>Mon, 19 Jul 2010 14:02:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.lost-in-code.com/?p=66#comment-1534</guid>
		<description>cakephp is awesome</description>
		<content:encoded><![CDATA[<p>cakephp is awesome</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard@Home</title>
		<link>http://www.lost-in-code.com/programming/php-code/cakephp-change-view-file-from-controller/comment-page-1/#comment-856</link>
		<dc:creator>Richard@Home</dc:creator>
		<pubDate>Tue, 16 Mar 2010 13:08:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.lost-in-code.com/?p=66#comment-856</guid>
		<description>In stead of:

$this -&gt; viewPath = ‘accounts’;
$this -&gt; render(‘edit’);

you can:

$this -&gt; render(‘../accounts/edit’);</description>
		<content:encoded><![CDATA[<p>In stead of:</p>
<p>$this -&gt; viewPath = ‘accounts’;<br />
$this -&gt; render(‘edit’);</p>
<p>you can:</p>
<p>$this -&gt; render(‘../accounts/edit’);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://www.lost-in-code.com/programming/php-code/cakephp-change-view-file-from-controller/comment-page-1/#comment-822</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Tue, 23 Feb 2010 01:29:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.lost-in-code.com/?p=66#comment-822</guid>
		<description>It doestn load the layout this way!</description>
		<content:encoded><![CDATA[<p>It doestn load the layout this way!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TEHEK</title>
		<link>http://www.lost-in-code.com/programming/php-code/cakephp-change-view-file-from-controller/comment-page-1/#comment-789</link>
		<dc:creator>TEHEK</dc:creator>
		<pubDate>Sat, 23 Jan 2010 01:56:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.lost-in-code.com/?p=66#comment-789</guid>
		<description>You also can use

$this-&gt;render(&#039;/folder/file_without_ctp_extension&#039;);</description>
		<content:encoded><![CDATA[<p>You also can use</p>
<p>$this-&gt;render(&#8216;/folder/file_without_ctp_extension&#8217;);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: phpbookstore</title>
		<link>http://www.lost-in-code.com/programming/php-code/cakephp-change-view-file-from-controller/comment-page-1/#comment-725</link>
		<dc:creator>phpbookstore</dc:creator>
		<pubDate>Wed, 09 Dec 2009 08:40:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.lost-in-code.com/?p=66#comment-725</guid>
		<description>hey dude this is very useful information exactly what i was looking for, i was stuck when i need to create multiple forms for the same page...noe i can place different forms in separate views and select the views accordingly based on condition

thanks</description>
		<content:encoded><![CDATA[<p>hey dude this is very useful information exactly what i was looking for, i was stuck when i need to create multiple forms for the same page&#8230;noe i can place different forms in separate views and select the views accordingly based on condition</p>
<p>thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>

