<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.3" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Rails-like Flash messages in CakePHP</title>
	<link>http://shabadeehoob.com/2007/03/17/rails-like-flash-messages-in-cakephp/</link>
	<description>Adventures in Web Programming</description>
	<pubDate>Mon,  8 Sep 2008 06:50:52 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.3</generator>

	<item>
		<title>by: Luke</title>
		<link>http://shabadeehoob.com/2007/03/17/rails-like-flash-messages-in-cakephp/#comment-3777</link>
		<pubDate>Mon, 01 Sep 2008 12:15:29 +0000</pubDate>
		<guid>http://shabadeehoob.com/2007/03/17/rails-like-flash-messages-in-cakephp/#comment-3777</guid>
					<description>thanks for this - very helpful</description>
		<content:encoded><![CDATA[<p>thanks for this - very helpful
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Nate Constant</title>
		<link>http://shabadeehoob.com/2007/03/17/rails-like-flash-messages-in-cakephp/#comment-2528</link>
		<pubDate>Thu, 05 Jun 2008 22:25:40 +0000</pubDate>
		<guid>http://shabadeehoob.com/2007/03/17/rails-like-flash-messages-in-cakephp/#comment-2528</guid>
					<description>Aran, that's a great question... I have no idea.  Maybe it became old?? or maybe someone wrote something similar and this was not as relevant.</description>
		<content:encoded><![CDATA[<p>Aran, that&#8217;s a great question&#8230; I have no idea.  Maybe it became old?? or maybe someone wrote something similar and this was not as relevant.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Aran</title>
		<link>http://shabadeehoob.com/2007/03/17/rails-like-flash-messages-in-cakephp/#comment-2527</link>
		<pubDate>Thu, 05 Jun 2008 22:20:26 +0000</pubDate>
		<guid>http://shabadeehoob.com/2007/03/17/rails-like-flash-messages-in-cakephp/#comment-2527</guid>
					<description>I like this a lot.  I am very curious to know why they took this article out of the Bakery?</description>
		<content:encoded><![CDATA[<p>I like this a lot.  I am very curious to know why they took this article out of the Bakery?
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Nate Constant</title>
		<link>http://shabadeehoob.com/2007/03/17/rails-like-flash-messages-in-cakephp/#comment-2469</link>
		<pubDate>Wed, 14 May 2008 14:48:45 +0000</pubDate>
		<guid>http://shabadeehoob.com/2007/03/17/rails-like-flash-messages-in-cakephp/#comment-2469</guid>
					<description>Dave,  let\'s do some debugging.  I would suggest putting in a debug statement into the newly created flash() method.  something like:

pr(\'HERE\'); exit;

This is just to make sure the new method is getting called.</description>
		<content:encoded><![CDATA[<p>Dave,  let\&#8217;s do some debugging.  I would suggest putting in a debug statement into the newly created flash() method.  something like:</p>
<p>pr(\&#8217;HERE\&#8217;); exit;</p>
<p>This is just to make sure the new method is getting called.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Dave</title>
		<link>http://shabadeehoob.com/2007/03/17/rails-like-flash-messages-in-cakephp/#comment-2465</link>
		<pubDate>Tue, 13 May 2008 15:43:04 +0000</pubDate>
		<guid>http://shabadeehoob.com/2007/03/17/rails-like-flash-messages-in-cakephp/#comment-2465</guid>
					<description>In my controller, I've got, &lt;code&gt;$this-&amp;#62;flash('Your post has been updated.', '/posts');&lt;/code&gt;.  In my layout, &lt;code&gt;?php $session-&amp;#62;flash(); ?&lt;/code&gt;.

I'm using the 1.2.0.6311 beta ... in case that might make a difference.</description>
		<content:encoded><![CDATA[<p>In my controller, I&#8217;ve got, <code>$this-&gt;flash('Your post has been updated.', '/posts');</code>.  In my layout, <code>?php $session-&gt;flash(); ?</code>.</p>
<p>I&#8217;m using the 1.2.0.6311 beta &#8230; in case that might make a difference.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Nate Constant</title>
		<link>http://shabadeehoob.com/2007/03/17/rails-like-flash-messages-in-cakephp/#comment-2464</link>
		<pubDate>Tue, 13 May 2008 15:37:22 +0000</pubDate>
		<guid>http://shabadeehoob.com/2007/03/17/rails-like-flash-messages-in-cakephp/#comment-2464</guid>
					<description>Dave, how are you calling the flash method in your controllers?  it should look like this: $this-&gt;flash('this is my message','/path');

Also, in your layout, make sure you have $session-&gt;flash(); (not just flash(); )</description>
		<content:encoded><![CDATA[<p>Dave, how are you calling the flash method in your controllers?  it should look like this: $this->flash(&#8217;this is my message&#8217;,'/path&#8217;);</p>
<p>Also, in your layout, make sure you have $session->flash(); (not just flash(); )
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Dave</title>
		<link>http://shabadeehoob.com/2007/03/17/rails-like-flash-messages-in-cakephp/#comment-2463</link>
		<pubDate>Tue, 13 May 2008 15:29:13 +0000</pubDate>
		<guid>http://shabadeehoob.com/2007/03/17/rails-like-flash-messages-in-cakephp/#comment-2463</guid>
					<description>Maybe I'm missing something but I've got /app/app_controller.php defined as:

&lt;code&gt;
class AppController extends Controller {

	function flash($msg, $to) {
		$this-&amp;#62;Session-&amp;#62;setFlash($msg);
		$this-&amp;#62;redirect($to);
		exit;
	}

}
&lt;/code&gt;

and in my layout, I've got flash(); ?&amp;#62;  but it isn't doing anything different... still showing that goofy page in the middle....  any ideas of what could be going wrong?</description>
		<content:encoded><![CDATA[<p>Maybe I&#8217;m missing something but I&#8217;ve got /app/app_controller.php defined as:</p>
<p><code><br />
class AppController extends Controller {</p>
<p>	function flash($msg, $to) {<br />
		$this-&gt;Session-&gt;setFlash($msg);<br />
		$this-&gt;redirect($to);<br />
		exit;<br />
	}</p>
<p>}<br />
</code></p>
<p>and in my layout, I&#8217;ve got flash(); ?&gt;  but it isn&#8217;t doing anything different&#8230; still showing that goofy page in the middle&#8230;.  any ideas of what could be going wrong?
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Ryan</title>
		<link>http://shabadeehoob.com/2007/03/17/rails-like-flash-messages-in-cakephp/#comment-1696</link>
		<pubDate>Mon, 04 Feb 2008 19:46:53 +0000</pubDate>
		<guid>http://shabadeehoob.com/2007/03/17/rails-like-flash-messages-in-cakephp/#comment-1696</guid>
					<description>Thanks! I was sick of those weird interstitial message pages. Who on earth decided that was a good idea?</description>
		<content:encoded><![CDATA[<p>Thanks! I was sick of those weird interstitial message pages. Who on earth decided that was a good idea?
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
