<?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: Calendar Class Bug Fix, version 2.6 available!</title>
	<atom:link href="http://style-vs-substance.com/calendar-class-php/calendar-class-bug-fix-version-26-available/feed/" rel="self" type="application/rss+xml" />
	<link>http://style-vs-substance.com/calendar-class-php/calendar-class-bug-fix-version-26-available/</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Wed, 23 Jun 2010 17:37:21 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jim Mayes</title>
		<link>http://style-vs-substance.com/calendar-class-php/calendar-class-bug-fix-version-26-available/comment-page-1/#comment-98</link>
		<dc:creator>Jim Mayes</dc:creator>
		<pubDate>Sun, 15 Jun 2008 01:05:10 +0000</pubDate>
		<guid isPermaLink="false">http://style-vs-substance.com/calendar-class-bug-fix-version-26-available/2008/05/#comment-98</guid>
		<description>you might be able to do what you need with the formatted_link_to property, but again there really isn&#039;t a way to make the class link different dates to completely different pages as it is now. So as long as your base page is the same and you just need to pass the variables, it might work out for you.

formatted_link_to let&#039;s you pass in a formatting string to be used for the links, so you could do something like this:

&lt;pre class=&quot;brush:php&quot;&gt;
$calendar-&gt;formatted_link_to = &#039;/news.php?date=%Y-%m-%d&#039;;
&lt;/pre&gt;

or even something like:

&lt;pre class=&quot;brush:php&quot;&gt;
$calendar-&gt;formatted_link_to = &#039;/news.php?year=%Y&amp;month=%m&amp;day=%d&#039;;
&lt;/pre&gt;

The string you provide here basically gets feed to strftime so you can use any of the formatting specifiers that &lt;a href=&quot;http://us2.php.net/manual/en/function.strftime.php&quot; rel=&quot;nofollow&quot;&gt;strftime uses&lt;/a&gt;. The lines where this happens are 190 and 200 in the class. They look like this:

&lt;pre class=&quot;brush:php&quot;&gt;
$output .= &quot;&lt;a href=\&quot;&quot; . strftime($this- rel=&quot;nofollow&quot;&gt;formatted_link_to, strtotime($day_date)) . &quot;\&quot;&gt;&quot;;
&lt;/pre&gt;

so as you can see, you have a lot of possibilities as far as what you put into it. The only thing is, all of the linked days are gonna use that same format! Hope that helps.</description>
		<content:encoded><![CDATA[<p>you might be able to do what you need with the formatted_link_to property, but again there really isn&#8217;t a way to make the class link different dates to completely different pages as it is now. So as long as your base page is the same and you just need to pass the variables, it might work out for you.</p>
<p>formatted_link_to let&#8217;s you pass in a formatting string to be used for the links, so you could do something like this:</p>
<pre class="brush:php">
$calendar->formatted_link_to = '/news.php?date=%Y-%m-%d';
</pre>
<p>or even something like:</p>
<pre class="brush:php">
$calendar->formatted_link_to = '/news.php?year=%Y&#038;month=%m&#038;day=%d';
</pre>
<p>The string you provide here basically gets feed to strftime so you can use any of the formatting specifiers that <a href="http://us2.php.net/manual/en/function.strftime.php" rel="nofollow">strftime uses</a>. The lines where this happens are 190 and 200 in the class. They look like this:</p>
<pre class="brush:php">
$output .= "<a href=\"" . strftime($this- rel="nofollow">formatted_link_to, strtotime($day_date)) . "\">";
</a></pre>
<p>so as you can see, you have a lot of possibilities as far as what you put into it. The only thing is, all of the linked days are gonna use that same format! Hope that helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fresher</title>
		<link>http://style-vs-substance.com/calendar-class-php/calendar-class-bug-fix-version-26-available/comment-page-1/#comment-97</link>
		<dc:creator>fresher</dc:creator>
		<pubDate>Sat, 14 Jun 2008 14:48:44 +0000</pubDate>
		<guid isPermaLink="false">http://style-vs-substance.com/calendar-class-bug-fix-version-26-available/2008/05/#comment-97</guid>
		<description>yes you are right jim what i mean... now the dates are link to &quot;?date=2008-06-18&quot; (example). maybe somebody know how to link these dates to pages in php fusion...because here the links work similar..example if you want to read more in news section you click a link with tag news.php?readmore=14 ... maybe in this calendar can do something similar?</description>
		<content:encoded><![CDATA[<p>yes you are right jim what i mean&#8230; now the dates are link to &#8220;?date=2008-06-18&#8243; (example). maybe somebody know how to link these dates to pages in php fusion&#8230;because here the links work similar..example if you want to read more in news section you click a link with tag news.php?readmore=14 &#8230; maybe in this calendar can do something similar?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim Mayes</title>
		<link>http://style-vs-substance.com/calendar-class-php/calendar-class-bug-fix-version-26-available/comment-page-1/#comment-96</link>
		<dc:creator>Jim Mayes</dc:creator>
		<pubDate>Fri, 13 Jun 2008 16:02:14 +0000</pubDate>
		<guid isPermaLink="false">http://style-vs-substance.com/calendar-class-bug-fix-version-26-available/2008/05/#comment-96</guid>
		<description>Well, if you mean link june 13, 2008 to this_page.html and link June 14, 2008 to that_page.html... you can&#039;t at this time. Might add that in the future, maybe not, not sure.

The way the class is designed to work, the days link to a second script. Like day.php for example. Then in that script you read the date passed from $_GET and use that date to do what you need to do with PHP, ie pull a corresponding day&#039;s record from a DB or something.</description>
		<content:encoded><![CDATA[<p>Well, if you mean link june 13, 2008 to this_page.html and link June 14, 2008 to that_page.html&#8230; you can&#8217;t at this time. Might add that in the future, maybe not, not sure.</p>
<p>The way the class is designed to work, the days link to a second script. Like day.php for example. Then in that script you read the date passed from $_GET and use that date to do what you need to do with PHP, ie pull a corresponding day&#8217;s record from a DB or something.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fresher</title>
		<link>http://style-vs-substance.com/calendar-class-php/calendar-class-bug-fix-version-26-available/comment-page-1/#comment-95</link>
		<dc:creator>fresher</dc:creator>
		<pubDate>Fri, 13 Jun 2008 15:51:21 +0000</pubDate>
		<guid isPermaLink="false">http://style-vs-substance.com/calendar-class-bug-fix-version-26-available/2008/05/#comment-95</guid>
		<description>Hi. nice calendar and very useful in my web. BUT..
how can i make that different days will be linked to different pages...? thanks!</description>
		<content:encoded><![CDATA[<p>Hi. nice calendar and very useful in my web. BUT..<br />
how can i make that different days will be linked to different pages&#8230;? thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pharri</title>
		<link>http://style-vs-substance.com/calendar-class-php/calendar-class-bug-fix-version-26-available/comment-page-1/#comment-87</link>
		<dc:creator>pharri</dc:creator>
		<pubDate>Thu, 05 Jun 2008 09:35:10 +0000</pubDate>
		<guid isPermaLink="false">http://style-vs-substance.com/calendar-class-bug-fix-version-26-available/2008/05/#comment-87</guid>
		<description>Hi, Jim ! it&#039;s me again. My problem is resolved by using setlocale(LC_ALL, &#039;french&#039;) instead of &#039;fr_FR&#039;. Thank you for your job.</description>
		<content:encoded><![CDATA[<p>Hi, Jim ! it&#8217;s me again. My problem is resolved by using setlocale(LC_ALL, &#8216;french&#8217;) instead of &#8216;fr_FR&#8217;. Thank you for your job.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pharri</title>
		<link>http://style-vs-substance.com/calendar-class-php/calendar-class-bug-fix-version-26-available/comment-page-1/#comment-86</link>
		<dc:creator>pharri</dc:creator>
		<pubDate>Thu, 05 Jun 2008 09:23:14 +0000</pubDate>
		<guid isPermaLink="false">http://style-vs-substance.com/calendar-class-bug-fix-version-26-available/2008/05/#comment-86</guid>
		<description>Hi Jim ! Thanks for your calendar class. But i can&#039;t get french localized output. Setlocale(LC_ALL, &#039;fr_FR&#039;) doesn&#039;t work. I am using wamp 1.6.4 on my PC (xp pro). How to get fr localization ?</description>
		<content:encoded><![CDATA[<p>Hi Jim ! Thanks for your calendar class. But i can&#8217;t get french localized output. Setlocale(LC_ALL, &#8216;fr_FR&#8217;) doesn&#8217;t work. I am using wamp 1.6.4 on my PC (xp pro). How to get fr localization ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: battisti</title>
		<link>http://style-vs-substance.com/calendar-class-php/calendar-class-bug-fix-version-26-available/comment-page-1/#comment-82</link>
		<dc:creator>battisti</dc:creator>
		<pubDate>Wed, 04 Jun 2008 01:35:42 +0000</pubDate>
		<guid isPermaLink="false">http://style-vs-substance.com/calendar-class-bug-fix-version-26-available/2008/05/#comment-82</guid>
		<description>Hi i foud your class and it&#039;s like very god, nice job!

I have one sugestion: you use the function gmstrftime to get the name of days month if the configuration of the host was wrong the calendar will display wrong to, for example my host is in USA but my user not.</description>
		<content:encoded><![CDATA[<p>Hi i foud your class and it&#8217;s like very god, nice job!</p>
<p>I have one sugestion: you use the function gmstrftime to get the name of days month if the configuration of the host was wrong the calendar will display wrong to, for example my host is in USA but my user not.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
