<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">
<channel>
	<title>Comments for cakebaker</title>
	
	<link>http://cakebaker.42dh.com</link>
	<description>baking cakes with CakePHP</description>
	<lastBuildDate>Thu, 11 Mar 2010 15:41:30 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/CommentsForCakebaker" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="commentsforcakebaker" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Comment on File upload with CakePHP by cakebaker</title>
		<link>http://cakebaker.42dh.com/2006/04/15/file-upload-with-cakephp/comment-page-3/#comment-151582</link>
		<dc:creator>cakebaker</dc:creator>
		<pubDate>Thu, 11 Mar 2010 15:41:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.cakebaker.42dh.com/?p=165#comment-151582</guid>
		<description>@udhaya: It is very similar to what is shown in the article. When creating the form you have to remove the "file" type and you have to replace the file input field with a "normal" text field. In the controller you then have to work with &lt;a href="http://ch.php.net/manual/en/function.fread.php" rel="nofollow"&gt;fread&lt;/a&gt; and &lt;a href="http://ch.php.net/manual/en/function.fopen.php" rel="nofollow"&gt;fopen&lt;/a&gt;.

Hope this helps!</description>
		<content:encoded><![CDATA[<p>@udhaya: It is very similar to what is shown in the article. When creating the form you have to remove the &#8220;file&#8221; type and you have to replace the file input field with a &#8220;normal&#8221; text field. In the controller you then have to work with <a href="http://ch.php.net/manual/en/function.fread.php" rel="nofollow">fread</a> and <a href="http://ch.php.net/manual/en/function.fopen.php" rel="nofollow">fopen</a>.</p>
<p>Hope this helps!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on File upload with CakePHP by udhaya</title>
		<link>http://cakebaker.42dh.com/2006/04/15/file-upload-with-cakephp/comment-page-3/#comment-151521</link>
		<dc:creator>udhaya</dc:creator>
		<pubDate>Thu, 11 Mar 2010 10:26:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.cakebaker.42dh.com/?p=165#comment-151521</guid>
		<description>how to upload image in cake php from URL??</description>
		<content:encoded><![CDATA[<p>how to upload image in cake php from URL??</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on File upload with CakePHP by File upload in CakePHP « Max Korytko’s Blog</title>
		<link>http://cakebaker.42dh.com/2006/04/15/file-upload-with-cakephp/comment-page-3/#comment-151375</link>
		<dc:creator>File upload in CakePHP « Max Korytko’s Blog</dc:creator>
		<pubDate>Wed, 10 Mar 2010 21:27:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.cakebaker.42dh.com/?p=165#comment-151375</guid>
		<description>[...] Filed under: CakePHP Framework — maxkorytko @ 9:26 pm   Refer to this blog post: CakePHP file upload    Leave a [...]</description>
		<content:encoded><![CDATA[<p>[...] Filed under: CakePHP Framework &#8212; maxkorytko @ 9:26 pm   Refer to this blog post: CakePHP file upload    Leave a [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Conditions in CakePHP RC6 by Sarah</title>
		<link>http://cakebaker.42dh.com/2006/03/02/conditions-in-cakephp-rc6/comment-page-1/#comment-151055</link>
		<dc:creator>Sarah</dc:creator>
		<pubDate>Tue, 09 Mar 2010 17:52:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.cakebaker.42dh.com/?p=129#comment-151055</guid>
		<description>Thanks for the reply. It was part of an attempt to build queries based on pseudo "views" rather than having custom sql. On its own it might seem odd but when you put the building blocks together and are looking for available resources (those with complete/finished orders) it did make sense.

:)</description>
		<content:encoded><![CDATA[<p>Thanks for the reply. It was part of an attempt to build queries based on pseudo &#8220;views&#8221; rather than having custom sql. On its own it might seem odd but when you put the building blocks together and are looking for available resources (those with complete/finished orders) it did make sense.</p>
<p>:)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Conditions in CakePHP RC6 by cakebaker</title>
		<link>http://cakebaker.42dh.com/2006/03/02/conditions-in-cakephp-rc6/comment-page-1/#comment-151036</link>
		<dc:creator>cakebaker</dc:creator>
		<pubDate>Tue, 09 Mar 2010 15:40:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.cakebaker.42dh.com/?p=129#comment-151036</guid>
		<description>@Sarah: Thanks for your comment.

Right now I don't see a way around this, though I have to admit I don't understand your approach completely. Having a relationship YourModel hasMany CompleteOrder seems a bit odd to me ;-)</description>
		<content:encoded><![CDATA[<p>@Sarah: Thanks for your comment.</p>
<p>Right now I don&#8217;t see a way around this, though I have to admit I don&#8217;t understand your approach completely. Having a relationship YourModel hasMany CompleteOrder seems a bit odd to me ;-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Autocompletion – the easy way by cakebaker</title>
		<link>http://cakebaker.42dh.com/2006/06/06/autocompletion-the-easy-way/comment-page-2/#comment-150881</link>
		<dc:creator>cakebaker</dc:creator>
		<pubDate>Mon, 08 Mar 2010 15:26:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.cakebaker.42dh.com/?p=202#comment-150881</guid>
		<description>@Andy: Thanks for your comment, I modified the article accordingly.</description>
		<content:encoded><![CDATA[<p>@Andy: Thanks for your comment, I modified the article accordingly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Conditions in CakePHP RC6 by Sarah</title>
		<link>http://cakebaker.42dh.com/2006/03/02/conditions-in-cakephp-rc6/comment-page-1/#comment-150749</link>
		<dc:creator>Sarah</dc:creator>
		<pubDate>Sun, 07 Mar 2010 23:08:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.cakebaker.42dh.com/?p=129#comment-150749</guid>
		<description>I know this is old  but it's the best Google could find me.

Basically I want my new model to be a "view" of an existing model.

I therefore to add to the join conditions so I have created a hasmany condition in the parent model
&lt;code&gt;
'Completeorder' =&gt; array(
    'className'     =&gt; 'Completeorder',
    'conditions'    =&gt; "Completeorder.status in ('Pending Pickup','Complete')",
    'order'         =&gt; 'Completeorder.pickupdate DESC'
)
&lt;/code&gt;
However when I view the query it's put the conditions in the where statement. This means that my left join isn't returning null for those parents with no complete orders - its omitting them altogether.

I'm happy to have a custom query but I'd also like to use Cake where possible. Anyway around this?</description>
		<content:encoded><![CDATA[<p>I know this is old  but it&#8217;s the best Google could find me.</p>
<p>Basically I want my new model to be a &#8220;view&#8221; of an existing model.</p>
<p>I therefore to add to the join conditions so I have created a hasmany condition in the parent model<br />
<pre><code>'Completeorder' =&gt; array(
    'className'     =&gt; 'Completeorder',
    'conditions'    =&gt; "Completeorder.status in ('Pending Pickup','Complete')",
    'order'         =&gt; 'Completeorder.pickupdate DESC'
)</code></pre><br />
However when I view the query it&#8217;s put the conditions in the where statement. This means that my left join isn&#8217;t returning null for those parents with no complete orders &#8211; its omitting them altogether.</p>
<p>I&#8217;m happy to have a custom query but I&#8217;d also like to use Cake where possible. Anyway around this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Autocompletion – the easy way by Andy Potanin</title>
		<link>http://cakebaker.42dh.com/2006/06/06/autocompletion-the-easy-way/comment-page-2/#comment-150050</link>
		<dc:creator>Andy Potanin</dc:creator>
		<pubDate>Fri, 05 Mar 2010 00:27:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.cakebaker.42dh.com/?p=202#comment-150050</guid>
		<description>For any new users having issues with, reference this: http://book.cakephp.org/view/208/AJAX

If you have a brand new setup, you need to download JS libraries and put them into the app/webroot/js folder.

Put the following into your controller:

&lt;code&gt;
	var $components = array('Autocomplete');
	var $helpers = array('Html', 'Javascript', 'Ajax');
&lt;/code&gt;

and the following into your view file (I put it into my default.ctp file) into the header":

&lt;code&gt;
&lt;?php
echo $javascript-&gt;link('prototype');
echo $javascript-&gt;link('scriptaculous');
?&gt;
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>For any new users having issues with, reference this: <a href="http://book.cakephp.org/view/208/AJAX" rel="nofollow">http://book.cakephp.org/view/208/AJAX</a></p>
<p>If you have a brand new setup, you need to download JS libraries and put them into the app/webroot/js folder.</p>
<p>Put the following into your controller:</p>
<pre><code>var $components = array('Autocomplete');
	var $helpers = array('Html', 'Javascript', 'Ajax');</code></pre>
<p>and the following into your view file (I put it into my default.ctp file) into the header&#8221;:</p>
<pre><code>&lt;?php
echo $javascript-&gt;link('prototype');
echo $javascript-&gt;link('scriptaculous');
?&gt;</code></pre>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Syntaxhighlighting for .ctp files in Eclipse by Bart</title>
		<link>http://cakebaker.42dh.com/2006/12/26/syntaxhighlighting-for-ctp-files-in-eclipse/comment-page-1/#comment-149545</link>
		<dc:creator>Bart</dc:creator>
		<pubDate>Tue, 02 Mar 2010 18:41:11 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/2006/12/26/syntaxhighlighting-for-ctp-files-in-eclipse/#comment-149545</guid>
		<description>Thanks :)</description>
		<content:encoded><![CDATA[<p>Thanks :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Autocompletion – the easy way by sai</title>
		<link>http://cakebaker.42dh.com/2006/06/06/autocompletion-the-easy-way/comment-page-2/#comment-149488</link>
		<dc:creator>sai</dc:creator>
		<pubDate>Tue, 02 Mar 2010 14:47:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.cakebaker.42dh.com/?p=202#comment-149488</guid>
		<description>Could you please guide me</description>
		<content:encoded><![CDATA[<p>Could you please guide me</p>
]]></content:encoded>
	</item>
</channel>
</rss>
