<?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"
	>
<channel>
	<title>Comments for Stellarcore.com</title>
	<atom:link href="http://www.stellarcore.com/?feed=comments-rss2" rel="self" type="application/rss+xml" />
	<link>http://www.stellarcore.com</link>
	<description>Hobby Electronics</description>
	<pubDate>Mon, 06 Sep 2010 10:33:20 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>Comment on CakePHP Calendar Helper by Akif</title>
		<link>http://www.stellarcore.com/?p=90#comment-2061</link>
		<dc:creator>Akif</dc:creator>
		<pubDate>Fri, 31 Jul 2009 19:12:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.stellarcore.com/?p=90#comment-2061</guid>
		<description>Nice helper, it works great.

I had problems getting it working properly at first. Seems that you need to pass the month as a word instead of a number. So 'april' will work, '4' won't.

Keep up the good work!</description>
		<content:encoded><![CDATA[<p>Nice helper, it works great.</p>
<p>I had problems getting it working properly at first. Seems that you need to pass the month as a word instead of a number. So &#8216;april&#8217; will work, &#8216;4&#8242; won&#8217;t.</p>
<p>Keep up the good work!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on CakePHP Calendar Helper by cypher</title>
		<link>http://www.stellarcore.com/?p=90#comment-2000</link>
		<dc:creator>cypher</dc:creator>
		<pubDate>Thu, 02 Jul 2009 17:43:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.stellarcore.com/?p=90#comment-2000</guid>
		<description>Hi Albert,

I'm glad that you were able to figure it out.  I'm on vacation currently, hence my delay in response.

Thanks for your interest and I hope the helper is useful.

Mark</description>
		<content:encoded><![CDATA[<p>Hi Albert,</p>
<p>I&#8217;m glad that you were able to figure it out.  I&#8217;m on vacation currently, hence my delay in response.</p>
<p>Thanks for your interest and I hope the helper is useful.</p>
<p>Mark</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on CakePHP Calendar Helper by albert</title>
		<link>http://www.stellarcore.com/?p=90#comment-1994</link>
		<dc:creator>albert</dc:creator>
		<pubDate>Tue, 30 Jun 2009 06:47:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.stellarcore.com/?p=90#comment-1994</guid>
		<description>Hello,

Got the links to work. I need to pass the day variable to the week function in the calander helper.

Thank you of this nice helper.

Albert</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>Got the links to work. I need to pass the day variable to the week function in the calander helper.</p>
<p>Thank you of this nice helper.</p>
<p>Albert</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on CakePHP Calendar Helper by albert</title>
		<link>http://www.stellarcore.com/?p=90#comment-1985</link>
		<dc:creator>albert</dc:creator>
		<pubDate>Fri, 26 Jun 2009 10:48:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.stellarcore.com/?p=90#comment-1985</guid>
		<description>Hello,

Hi, thank you for this helper. I tried it today and got the week calendar to display but the prev and next function does not work. The right url for the new week and previous week are ok but it still shows the same week in stead of going backward of forward one week. Could some share the working app directory?

Any help provided is appreciated.

Albert</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>Hi, thank you for this helper. I tried it today and got the week calendar to display but the prev and next function does not work. The right url for the new week and previous week are ok but it still shows the same week in stead of going backward of forward one week. Could some share the working app directory?</p>
<p>Any help provided is appreciated.</p>
<p>Albert</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on CakePHP Calendar Helper by mjohnny</title>
		<link>http://www.stellarcore.com/?p=90#comment-1867</link>
		<dc:creator>mjohnny</dc:creator>
		<pubDate>Tue, 28 Apr 2009 10:01:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.stellarcore.com/?p=90#comment-1867</guid>
		<description>my apologies.

I just copied the controller found in the original helpers link. I browsed through it and found a typo on the February month. it's now working perfectly. 

mJohnny</description>
		<content:encoded><![CDATA[<p>my apologies.</p>
<p>I just copied the controller found in the original helpers link. I browsed through it and found a typo on the February month. it&#8217;s now working perfectly. </p>
<p>mJohnny</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on CakePHP Calendar Helper by mjohnny</title>
		<link>http://www.stellarcore.com/?p=90#comment-1866</link>
		<dc:creator>mjohnny</dc:creator>
		<pubDate>Tue, 28 Apr 2009 09:45:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.stellarcore.com/?p=90#comment-1866</guid>
		<description>Hi, thanks a lot. I tried it this morning and it did exactly what I had in mind. 

One problem though, on the Month Calendar, when I click on the prev link, it gives me the correct URL but the calendar will still display the current month. 

For example, today's April. When I click on prev, it will display the calendar for March, when I click prev again, it will go back to April. I also tried moving my pc clock to June and still when I get to March and press the prev link, it will display June. No problems with browsing succeeding months.  

mJohnny</description>
		<content:encoded><![CDATA[<p>Hi, thanks a lot. I tried it this morning and it did exactly what I had in mind. </p>
<p>One problem though, on the Month Calendar, when I click on the prev link, it gives me the correct URL but the calendar will still display the current month. </p>
<p>For example, today&#8217;s April. When I click on prev, it will display the calendar for March, when I click prev again, it will go back to April. I also tried moving my pc clock to June and still when I get to March and press the prev link, it will display June. No problems with browsing succeeding months.  </p>
<p>mJohnny</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on CakePHP Calendar Helper by cypher</title>
		<link>http://www.stellarcore.com/?p=90#comment-1864</link>
		<dc:creator>cypher</dc:creator>
		<pubDate>Mon, 27 Apr 2009 14:51:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.stellarcore.com/?p=90#comment-1864</guid>
		<description>aaarrrggh:  I thought about multiple events when I was writing this, but what I decided was that it is simple enough to do multiple events by just listing them all in the same 'content' field that is sent to the helper.  

You just have to be careful to maintain the separation between controller and view correctly.  The way I've done this is in my projects is to change the data array from the controller slightly for your events so that you send an array of events for each day.

For example:   $data[$day][$hour] = array('event1','event2','event3'...);  

And then in your view, you can loop through the events and build the content string with the array of events (your events also don't have to be strings any more, you could make them models and build your event view from them).

$calendar[$day][$hour]['content'] ='';
foreach ($data[$day][$hour] as $event)
    $calendar[$day][$hour]['content'].='&#60;div class="event"&#62;'.$event['Event']['name'].'&#60;/div&#62;';

This also gives you a bit more flexibility on how it looks and behaves, because you can put in links, javascript, ajax, whatever...

Mark</description>
		<content:encoded><![CDATA[<p>aaarrrggh:  I thought about multiple events when I was writing this, but what I decided was that it is simple enough to do multiple events by just listing them all in the same &#8216;content&#8217; field that is sent to the helper.  </p>
<p>You just have to be careful to maintain the separation between controller and view correctly.  The way I&#8217;ve done this is in my projects is to change the data array from the controller slightly for your events so that you send an array of events for each day.</p>
<p>For example:   $data[$day][$hour] = array(&#8217;event1&#8242;,&#8217;event2&#8242;,&#8217;event3&#8242;&#8230;);  </p>
<p>And then in your view, you can loop through the events and build the content string with the array of events (your events also don&#8217;t have to be strings any more, you could make them models and build your event view from them).</p>
<p>$calendar[$day][$hour]['content'] =&#8221;;<br />
foreach ($data[$day][$hour] as $event)<br />
    $calendar[$day][$hour]['content'].=&#8217;&lt;div class=&#8221;event&#8221;&gt;&#8217;.$event['Event']['name'].&#8217;&lt;/div&gt;&#8217;;</p>
<p>This also gives you a bit more flexibility on how it looks and behaves, because you can put in links, javascript, ajax, whatever&#8230;</p>
<p>Mark</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on CakePHP Calendar Helper by aaarrrggh</title>
		<link>http://www.stellarcore.com/?p=90#comment-1862</link>
		<dc:creator>aaarrrggh</dc:creator>
		<pubDate>Mon, 27 Apr 2009 10:38:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.stellarcore.com/?p=90#comment-1862</guid>
		<description>Hi Cypher.

I've got it working now. I've actually got this working so that both the original monthly calendar and the daily break down (using your helper) can work on the same view page. It seems quite nice.

One issue I do have though is that it would be nice to be able to display more than one event per hour on the daily view. As I understand it this is not currently possible. I've been working on something else for the last few days, but I intend to go back through this code and modify it to enable multiple events to take place each hour, possibly breaking down hours with more than one event into 10 or 20 minute blocks, or something like that.

Is there a way of creating more than one event per hour currently, or will this need a bit of re-writing?

Thanks for this helper by the way :)</description>
		<content:encoded><![CDATA[<p>Hi Cypher.</p>
<p>I&#8217;ve got it working now. I&#8217;ve actually got this working so that both the original monthly calendar and the daily break down (using your helper) can work on the same view page. It seems quite nice.</p>
<p>One issue I do have though is that it would be nice to be able to display more than one event per hour on the daily view. As I understand it this is not currently possible. I&#8217;ve been working on something else for the last few days, but I intend to go back through this code and modify it to enable multiple events to take place each hour, possibly breaking down hours with more than one event into 10 or 20 minute blocks, or something like that.</p>
<p>Is there a way of creating more than one event per hour currently, or will this need a bit of re-writing?</p>
<p>Thanks for this helper by the way <img src='http://www.stellarcore.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on CakePHP Calendar Helper by cypher</title>
		<link>http://www.stellarcore.com/?p=90#comment-1848</link>
		<dc:creator>cypher</dc:creator>
		<pubDate>Tue, 21 Apr 2009 15:01:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.stellarcore.com/?p=90#comment-1848</guid>
		<description>Sebastian:  Yes, that is exactly the purpose of my code.  It essentially takes the original and just updates it to add the week formatted calendar.

So to use it as I've described, you would download the original (linked above) and then replace just the helper class with mine.</description>
		<content:encoded><![CDATA[<p>Sebastian:  Yes, that is exactly the purpose of my code.  It essentially takes the original and just updates it to add the week formatted calendar.</p>
<p>So to use it as I&#8217;ve described, you would download the original (linked above) and then replace just the helper class with mine.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on CakePHP Calendar Helper by cypher</title>
		<link>http://www.stellarcore.com/?p=90#comment-1847</link>
		<dc:creator>cypher</dc:creator>
		<pubDate>Tue, 21 Apr 2009 14:55:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.stellarcore.com/?p=90#comment-1847</guid>
		<description>aaarrrggh:   I do have a very simple component that I've written, but all that it does is sanitize a requested date before passing it to the helper.   To get the information into the necessary array format, just loop through your event types (or whatever you want to put on the calendar), and then insert it into the array according to the date/time of the event.

I suppose if you wanted, you could write a component that has an "insert" event type that does this for you, but I figured that it was simple enough that I could just leave it in the controller.</description>
		<content:encoded><![CDATA[<p>aaarrrggh:   I do have a very simple component that I&#8217;ve written, but all that it does is sanitize a requested date before passing it to the helper.   To get the information into the necessary array format, just loop through your event types (or whatever you want to put on the calendar), and then insert it into the array according to the date/time of the event.</p>
<p>I suppose if you wanted, you could write a component that has an &#8220;insert&#8221; event type that does this for you, but I figured that it was simple enough that I could just leave it in the controller.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
