<?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: Advanced Datepicker helper for CakePHP</title>
	<atom:link href="http://nik.chankov.net/2007/09/13/advanced-datepicker-helper-for-cakephp/feed/" rel="self" type="application/rss+xml" />
	<link>http://nik.chankov.net/2007/09/13/advanced-datepicker-helper-for-cakephp/</link>
	<description>Technical weblog for articles and titorials related to web development.</description>
	<lastBuildDate>Mon, 15 Mar 2010 22:14:07 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: nore</title>
		<link>http://nik.chankov.net/2007/09/13/advanced-datepicker-helper-for-cakephp/comment-page-2/#comment-1928</link>
		<dc:creator>nore</dc:creator>
		<pubDate>Wed, 30 Sep 2009 12:23:06 +0000</pubDate>
		<guid isPermaLink="false">http://nik.chankov.net/2007/09/13/advanced-datepicker-helper/#comment-1928</guid>
		<description>By the way, I&#039;m using JSCal2-1.7</description>
		<content:encoded><![CDATA[<p>By the way, I&#8217;m using JSCal2-1.7</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nore</title>
		<link>http://nik.chankov.net/2007/09/13/advanced-datepicker-helper-for-cakephp/comment-page-2/#comment-1881</link>
		<dc:creator>nore</dc:creator>
		<pubDate>Tue, 29 Sep 2009 12:24:32 +0000</pubDate>
		<guid isPermaLink="false">http://nik.chankov.net/2007/09/13/advanced-datepicker-helper/#comment-1881</guid>
		<description>I&#039;m getting a JS error about _dynarch_popupCalendar, so loading the calendar is failing.
What is it anyway? and what can I do?</description>
		<content:encoded><![CDATA[<p>I&#8217;m getting a JS error about _dynarch_popupCalendar, so loading the calendar is failing.<br />
What is it anyway? and what can I do?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aamir</title>
		<link>http://nik.chankov.net/2007/09/13/advanced-datepicker-helper-for-cakephp/comment-page-2/#comment-750</link>
		<dc:creator>aamir</dc:creator>
		<pubDate>Mon, 11 May 2009 11:44:36 +0000</pubDate>
		<guid isPermaLink="false">http://nik.chankov.net/2007/09/13/advanced-datepicker-helper/#comment-750</guid>
		<description>thanks this is great</description>
		<content:encoded><![CDATA[<p>thanks this is great</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jarrett</title>
		<link>http://nik.chankov.net/2007/09/13/advanced-datepicker-helper-for-cakephp/comment-page-2/#comment-726</link>
		<dc:creator>jarrett</dc:creator>
		<pubDate>Tue, 14 Apr 2009 06:02:41 +0000</pubDate>
		<guid isPermaLink="false">http://nik.chankov.net/2007/09/13/advanced-datepicker-helper/#comment-726</guid>
		<description>&lt;a href=&quot;#comment-494&quot; rel=&quot;nofollow&quot;&gt;@Anand&lt;/a&gt; 
I doubt this is possible as a setting. Will get back to you if I find it.</description>
		<content:encoded><![CDATA[<p><a href="#comment-494" rel="nofollow">@Anand</a><br />
I doubt this is possible as a setting. Will get back to you if I find it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jald</title>
		<link>http://nik.chankov.net/2007/09/13/advanced-datepicker-helper-for-cakephp/comment-page-2/#comment-725</link>
		<dc:creator>jald</dc:creator>
		<pubDate>Mon, 13 Apr 2009 19:42:52 +0000</pubDate>
		<guid isPermaLink="false">http://nik.chankov.net/2007/09/13/advanced-datepicker-helper/#comment-725</guid>
		<description>Thanks a lot Nik, great article. Everything working fine in CakePHP 1.2.</description>
		<content:encoded><![CDATA[<p>Thanks a lot Nik, great article. Everything working fine in CakePHP 1.2.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nik Chankov</title>
		<link>http://nik.chankov.net/2007/09/13/advanced-datepicker-helper-for-cakephp/comment-page-2/#comment-527</link>
		<dc:creator>Nik Chankov</dc:creator>
		<pubDate>Wed, 07 Jan 2009 09:50:24 +0000</pubDate>
		<guid isPermaLink="false">http://nik.chankov.net/2007/09/13/advanced-datepicker-helper/#comment-527</guid>
		<description>Chris, see the comment of Johnny Hughes above, it shows the right approach, I will change in the code of the post too.</description>
		<content:encoded><![CDATA[<p>Chris, see the comment of Johnny Hughes above, it shows the right approach, I will change in the code of the post too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://nik.chankov.net/2007/09/13/advanced-datepicker-helper-for-cakephp/comment-page-2/#comment-526</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Wed, 07 Jan 2009 02:25:26 +0000</pubDate>
		<guid isPermaLink="false">http://nik.chankov.net/2007/09/13/advanced-datepicker-helper/#comment-526</guid>
		<description>Thanks for the article. I seem to be having a similar problem to someone else however I am using cakephp 1.2 (not 1.1).  Comes up with error &quot;Warning (512): Method DatePickerHelper::setFormTag does not exist [CORE/cake/libs/view/helper.php, line 148]&quot;</description>
		<content:encoded><![CDATA[<p>Thanks for the article. I seem to be having a similar problem to someone else however I am using cakephp 1.2 (not 1.1).  Comes up with error &#8220;Warning (512): Method DatePickerHelper::setFormTag does not exist [CORE/cake/libs/view/helper.php, line 148]&#8220;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nik Chankov</title>
		<link>http://nik.chankov.net/2007/09/13/advanced-datepicker-helper-for-cakephp/comment-page-2/#comment-495</link>
		<dc:creator>Nik Chankov</dc:creator>
		<pubDate>Tue, 23 Dec 2008 07:47:19 +0000</pubDate>
		<guid isPermaLink="false">http://nik.chankov.net/2007/09/13/advanced-datepicker-helper/#comment-495</guid>
		<description>Hi Anand,

I haven&#039;t used this functionality, but I would suggest you to take a look on JSCalendar site which is mentioned in the post.</description>
		<content:encoded><![CDATA[<p>Hi Anand,</p>
<p>I haven&#8217;t used this functionality, but I would suggest you to take a look on JSCalendar site which is mentioned in the post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anand</title>
		<link>http://nik.chankov.net/2007/09/13/advanced-datepicker-helper-for-cakephp/comment-page-2/#comment-494</link>
		<dc:creator>Anand</dc:creator>
		<pubDate>Tue, 23 Dec 2008 05:05:52 +0000</pubDate>
		<guid isPermaLink="false">http://nik.chankov.net/2007/09/13/advanced-datepicker-helper/#comment-494</guid>
		<description>Hi, I found the helper very useful.Thanks for such a nice bunch of code.In my project I need to restrict user to choose date between a &quot;higher date&quot; and  a &quot;lower&quot; date.How can I achieve that using this helper</description>
		<content:encoded><![CDATA[<p>Hi, I found the helper very useful.Thanks for such a nice bunch of code.In my project I need to restrict user to choose date between a &#8220;higher date&#8221; and  a &#8220;lower&#8221; date.How can I achieve that using this helper</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jarrett</title>
		<link>http://nik.chankov.net/2007/09/13/advanced-datepicker-helper-for-cakephp/comment-page-2/#comment-454</link>
		<dc:creator>jarrett</dc:creator>
		<pubDate>Tue, 09 Dec 2008 10:25:59 +0000</pubDate>
		<guid isPermaLink="false">http://nik.chankov.net/2007/09/13/advanced-datepicker-helper/#comment-454</guid>
		<description>&lt;blockquote cite=&quot;#commentbody-453&quot;&gt;
&lt;strong&gt;&lt;a href=&quot;#comment-453&quot; rel=&quot;nofollow&quot;&gt;jarrett&lt;/a&gt; :&lt;/strong&gt;
For anyone who needs to get the date and time.
Add the following to changes to date_picker.php
[helper]
line 13
var $format = &#039;%Y-%m-%d %H:%M&#039;;
line 31
function picker($fieldName, $options = array(), $showsTime = null) {
line 38
$options[&#039;after&#039;] = $this-&gt;Html-&gt;link($this-&gt;Html-&gt;image(’{Your/Image/Location}’), ‘#’, array(’onClick’=&gt;”return showCalendar(’”.$htmlAttributes[&#039;id&#039;].”‘, ‘”.$this-&gt;format.”‘, ‘”.$showsTime.”‘); return false;”), null, false);
[/helper]
Then in your view that needs time as well
[view]
echo $datePicker-&gt;picker(’start_date’, array(’format’=&gt;’%Y-%m-%d %H:%M’), ‘yes’);
[/view]
&lt;/blockquote&gt;</description>
		<content:encoded><![CDATA[<blockquote cite="#commentbody-453"><p>
<strong><a href="#comment-453" rel="nofollow">jarrett</a> :</strong><br />
For anyone who needs to get the date and time.<br />
Add the following to changes to date_picker.php<br />
[helper]<br />
line 13<br />
var $format = &#8216;%Y-%m-%d %H:%M&#8217;;<br />
line 31<br />
function picker($fieldName, $options = array(), $showsTime = null) {<br />
line 38<br />
$options['after'] = $this-&gt;Html-&gt;link($this-&gt;Html-&gt;image(’{Your/Image/Location}’), ‘#’, array(’onClick’=&gt;”return showCalendar(’”.$htmlAttributes['id'].”‘, ‘”.$this-&gt;format.”‘, ‘”.$showsTime.”‘); return false;”), null, false);<br />
[/helper]<br />
Then in your view that needs time as well<br />
[view]<br />
echo $datePicker-&gt;picker(’start_date’, array(’format’=&gt;’%Y-%m-%d %H:%M’), ‘yes’);<br />
[/view]
</p></blockquote>
]]></content:encoded>
	</item>
</channel>
</rss>
