<?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: Making Clickable Images on CakePHP</title>
	<atom:link href="http://cakephp.prometsupport.com/2008/making-clickable-images-on-cakephp/feed/" rel="self" type="application/rss+xml" />
	<link>http://cakephp.prometsupport.com/2008/making-clickable-images-on-cakephp/</link>
	<description></description>
	<lastBuildDate>Sun, 27 Jun 2010 00:00:29 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<item>
		<title>By: Creating image links in CakePHP &#171; Myles Kadusale&#8217;s Blog</title>
		<link>http://cakephp.prometsupport.com/2008/making-clickable-images-on-cakephp/comment-page-1/#comment-2118</link>
		<dc:creator>Creating image links in CakePHP &#171; Myles Kadusale&#8217;s Blog</dc:creator>
		<pubDate>Thu, 30 Apr 2009 18:20:40 +0000</pubDate>
		<guid isPermaLink="false">http://cakephp.prometsupport.com/2008/making-clickable-images-on-cakephp/#comment-2118</guid>
		<description>[...] this tutorial from Here Check this page also Possibly related posts: (automatically generated)always use html-&gt;linkReal-Life Great [...]</description>
		<content:encoded><![CDATA[<p>[...] this tutorial from Here Check this page also Possibly related posts: (automatically generated)always use html-&gt;linkReal-Life Great [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mihai</title>
		<link>http://cakephp.prometsupport.com/2008/making-clickable-images-on-cakephp/comment-page-1/#comment-558</link>
		<dc:creator>Mihai</dc:creator>
		<pubDate>Fri, 23 Jan 2009 08:10:50 +0000</pubDate>
		<guid isPermaLink="false">http://cakephp.prometsupport.com/2008/making-clickable-images-on-cakephp/#comment-558</guid>
		<description>Or you can try this:

image(&quot;images/cancel.png&quot;, array(
    &quot;alt&quot; =&gt; &quot;Cancel&quot;,
    &#039;url&#039; =&gt; array(&#039;controller&#039; =&gt; &#039;registers&#039;, &#039;action&#039; =&gt; &#039;index&#039;)
)); ?&gt;</description>
		<content:encoded><![CDATA[<p>Or you can try this:</p>
<p>image(&#8220;images/cancel.png&#8221;, array(<br />
    &#8220;alt&#8221; =&gt; &#8220;Cancel&#8221;,<br />
    &#8216;url&#8217; =&gt; array(&#8216;controller&#8217; =&gt; &#8216;registers&#8217;, &#8216;action&#8217; =&gt; &#8216;index&#8217;)<br />
)); ?&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kalle</title>
		<link>http://cakephp.prometsupport.com/2008/making-clickable-images-on-cakephp/comment-page-1/#comment-301</link>
		<dc:creator>Kalle</dc:creator>
		<pubDate>Thu, 09 Oct 2008 10:00:55 +0000</pubDate>
		<guid isPermaLink="false">http://cakephp.prometsupport.com/2008/making-clickable-images-on-cakephp/#comment-301</guid>
		<description>even more cleaner code

you can add url in the options array for $html-&gt;image.

$html-&gt;image(’images/cancel.png’,array(’class’ =&gt; ’save_button’, ´url´ =&gt; array(’controller’=&gt;’registers’,&#039;action’=&gt;’index´))</description>
		<content:encoded><![CDATA[<p>even more cleaner code</p>
<p>you can add url in the options array for $html-&gt;image.</p>
<p>$html-&gt;image(’images/cancel.png’,array(’class’ =&gt; ’save_button’, ´url´ =&gt; array(’controller’=&gt;’registers’,&#8217;action’=&gt;’index´))</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luke</title>
		<link>http://cakephp.prometsupport.com/2008/making-clickable-images-on-cakephp/comment-page-1/#comment-269</link>
		<dc:creator>Luke</dc:creator>
		<pubDate>Thu, 11 Sep 2008 10:03:46 +0000</pubDate>
		<guid isPermaLink="false">http://cakephp.prometsupport.com/2008/making-clickable-images-on-cakephp/#comment-269</guid>
		<description>Hi I would say you would be better for the URLs in more cake way, i.e. 

echo $html-&gt;link($html-&gt;image(’images/cancel.png’,array(’class’ =&gt; ’save_button’)), array(&#039;controller&#039;=&gt;&#039;registers&#039;,&#039;action&#039;=&gt;&#039;index&#039;, array(), false, false, false);

although it would work your way too. 

Just cleaner code in my opinion and for images it uses the default image folder syntax.</description>
		<content:encoded><![CDATA[<p>Hi I would say you would be better for the URLs in more cake way, i.e. </p>
<p>echo $html-&gt;link($html-&gt;image(’images/cancel.png’,array(’class’ =&gt; ’save_button’)), array(&#8216;controller&#8217;=&gt;&#8217;registers&#8217;,'action&#8217;=&gt;&#8217;index&#8217;, array(), false, false, false);</p>
<p>although it would work your way too. </p>
<p>Just cleaner code in my opinion and for images it uses the default image folder syntax.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

