<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>[SMD] - 8L0G5PH3R3 &#187; CakePHP</title>
	<atom:link href="http://www.sumardi.net/category/web-development/cakephp/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sumardi.net</link>
	<description>/home/smd/public_html/blog</description>
	<lastBuildDate>Mon, 06 Feb 2012 13:30:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Baking Mambo</title>
		<link>http://www.sumardi.net/2007/07/22/baking-mambo/</link>
		<comments>http://www.sumardi.net/2007/07/22/baking-mambo/#comments</comments>
		<pubDate>Sun, 22 Jul 2007 12:32:34 +0000</pubDate>
		<dc:creator>SMD</dc:creator>
				<category><![CDATA[CakePHP]]></category>
		<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://www.sumardi.net/2007/07/22/baking-mambo/</guid>
		<description><![CDATA[Yesterday, The Mambo Foundation announced that they will use CakePHP for the next version of Mambo and at the same day I presented about CakePHP at PHP Meetup 3.0. You can download my slide here and the announcement is here.]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.sumardi.net%2F2007%2F07%2F22%2Fbaking-mambo%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.sumardi.net%2F2007%2F07%2F22%2Fbaking-mambo%2F&amp;source=sumardi&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Yesterday, The Mambo Foundation <a href="http://www.source.mambo-foundation.org/content/view/126/1/">announced</a> that they will use CakePHP for the next version of Mambo and at the same day I presented about CakePHP at <a href="http://www.php.net.my/news/details.php?id=483">PHP Meetup 3.0</a>.</p>
<p>You can download my slide <a href="http://meetup.php.net.my">here</a> and the announcement is <a href="http://www.source.mambo-foundation.org/content/view/126/1/">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sumardi.net/2007/07/22/baking-mambo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTMLHelper : Link With Image</title>
		<link>http://www.sumardi.net/2007/07/11/htmlhelper-link-with-image/</link>
		<comments>http://www.sumardi.net/2007/07/11/htmlhelper-link-with-image/#comments</comments>
		<pubDate>Tue, 10 Jul 2007 18:15:06 +0000</pubDate>
		<dc:creator>SMD</dc:creator>
				<category><![CDATA[CakePHP]]></category>

		<guid isPermaLink="false">http://www.sumardi.net/2007/07/11/htmlhelper-link-with-image/</guid>
		<description><![CDATA[In Cakephp 1.1, if you want to display an image with a link, you&#8217;ll need to do something like this: You need to tell CakePHP not to escape the content with last false statement. In CakePHP 1.2 you could do :]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.sumardi.net%2F2007%2F07%2F11%2Fhtmlhelper-link-with-image%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.sumardi.net%2F2007%2F07%2F11%2Fhtmlhelper-link-with-image%2F&amp;source=sumardi&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>In Cakephp 1.1, if you want to display an image with a link, you&#8217;ll need to do something like this:</p>
<p>echo $html->link(<br />
                    $html->image(&#8216;myimage.jpg&#8217;),<br />
                    &#8216;/controller/action&#8217;,<br />
                    array(),<br />
                    null,<br />
                    false<br />
                   )</p>
<p>You need to tell CakePHP not to escape the content with last <em>false</em> statement. In CakePHP 1.2 you could do :</p>
<p>echo $html->link(<br />
                    $html->image(&#8216;myimage.jpg&#8217;),<br />
                    &#8216;/controller/action&#8217;,<br />
                    array(&#8216;escape&#8217; => false)<br />
                   )</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sumardi.net/2007/07/11/htmlhelper-link-with-image/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

