<?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: Multiple CSS Style Session Flash&#8217;es in CakePHP</title>
	<atom:link href="http://savasplace.com/2009/08/multiple-css-style-session-flashes-in-cakephp/feed/" rel="self" type="application/rss+xml" />
	<link>http://savasplace.com/2009/08/multiple-css-style-session-flashes-in-cakephp/</link>
	<description>Free PHP scripts, CSS templates, Making Money Online and Miscellaneous Ramblings</description>
	<lastBuildDate>Mon, 09 Apr 2012 11:51:42 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Sava</title>
		<link>http://savasplace.com/2009/08/multiple-css-style-session-flashes-in-cakephp/comment-page-1/#comment-2884</link>
		<dc:creator>Sava</dc:creator>
		<pubDate>Tue, 31 Jan 2012 10:40:36 +0000</pubDate>
		<guid isPermaLink="false">http://savasplace.com/?p=3904#comment-2884</guid>
		<description>Yes this is true but you cannot send multiple messages with different classes at once with the built in setFlash function. This approach is useful especially for an admin dashboard when you enter different messages with different css styles. This is why I use this method.</description>
		<content:encoded><![CDATA[<p>Yes this is true but you cannot send multiple messages with different classes at once with the built in setFlash function. This approach is useful especially for an admin dashboard when you enter different messages with different css styles. This is why I use this method.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: EB</title>
		<link>http://savasplace.com/2009/08/multiple-css-style-session-flashes-in-cakephp/comment-page-1/#comment-2775</link>
		<dc:creator>EB</dc:creator>
		<pubDate>Thu, 26 Jan 2012 12:02:02 +0000</pubDate>
		<guid isPermaLink="false">http://savasplace.com/?p=3904#comment-2775</guid>
		<description>I have got a tip for implementing this functionality much more easy:

When you call $this-&gt;Session-&gt;setFlash(..your message.., &#039;div&#039;, array(&#039;class&#039; =&gt; &#039;..yourclass&#039;..)), then cakePHP will render your own classname for the message. 

It tooks me a small amount of time to find this in the cake code, but it works great for me!

I hope this helps people out a little bit.</description>
		<content:encoded><![CDATA[<p>I have got a tip for implementing this functionality much more easy:</p>
<p>When you call $this-&gt;Session-&gt;setFlash(..your message.., &#8216;div&#8217;, array(&#8216;class&#8217; =&gt; &#8216;..yourclass&#8217;..)), then cakePHP will render your own classname for the message. </p>
<p>It tooks me a small amount of time to find this in the cake code, but it works great for me!</p>
<p>I hope this helps people out a little bit.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sava</title>
		<link>http://savasplace.com/2009/08/multiple-css-style-session-flashes-in-cakephp/comment-page-1/#comment-390</link>
		<dc:creator>Sava</dc:creator>
		<pubDate>Fri, 28 Aug 2009 05:09:05 +0000</pubDate>
		<guid isPermaLink="false">http://savasplace.com/?p=3904#comment-390</guid>
		<description>Thank you for your thoughts Robert. I don&#039;t send a bunch of messages to users either. This was just for the example so you could see the different styled flash messages.</description>
		<content:encoded><![CDATA[<p>Thank you for your thoughts Robert. I don&#8217;t send a bunch of messages to users either. This was just for the example so you could see the different styled flash messages.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert P</title>
		<link>http://savasplace.com/2009/08/multiple-css-style-session-flashes-in-cakephp/comment-page-1/#comment-389</link>
		<dc:creator>Robert P</dc:creator>
		<pubDate>Thu, 27 Aug 2009 17:41:55 +0000</pubDate>
		<guid isPermaLink="false">http://savasplace.com/?p=3904#comment-389</guid>
		<description>Or you could just use the already implemented CakePHP way:

Create /app/views/layouts/flash/warning.ctp and then from the controller call
$this-&gt;Session-&gt;setFlash(&#039;This is a warning message.&#039;, &#039;flash/warning&#039;);

The only difference is that the Cake flash system wont let you throw half-a-dozen different messages at the user at once. Then again it was never intended for that...</description>
		<content:encoded><![CDATA[<p>Or you could just use the already implemented CakePHP way:</p>
<p>Create /app/views/layouts/flash/warning.ctp and then from the controller call<br />
$this-&gt;Session-&gt;setFlash(&#8216;This is a warning message.&#8217;, &#8216;flash/warning&#8217;);</p>
<p>The only difference is that the Cake flash system wont let you throw half-a-dozen different messages at the user at once. Then again it was never intended for that&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

