Hi - got a strnge issue - I have created a macro to display the
upcoming events (over the next 7 days from today) - for some reason any
events which are recurring events have event date as Today even though
the event is meant to be on another day.
E.g. I have a recurring event on the 1st of every month, if my macro
is to show the events from today (March 6th) for the next 7 days - the
recurring event from March 1st is showing as March 6th, if I show
events from March 5th - the recurring event is showing as March 5th -
wierd.
in the xslt: <xsl:variable name="messages" select="pdcalendar:GenerateDates($startdate,$enddate,'event')" />
No matter what $startdate I pass in to pdcalendar:GenerateDates - any recurring events get assigned the same value as $startdate rather than the date the recurring event is meant to occur.
So I get back the following for Playground Clearup - the recurring date is 2010-03-01:
You should upgrade to version 1.6 then. This was a bug that was fixed in version 1.5.
To upgrade, download the package, unzip it. Then copy the PDCalendar.dll to your bin-folder of the site. (Do not install the package since you allready have it installed)
PDcalendar recurring events
Hi - got a strnge issue - I have created a macro to display the upcoming events (over the next 7 days from today) - for some reason any events which are recurring events have event date as Today even though the event is meant to be on another day.
E.g. I have a recurring event on the 1st of every month, if my macro is to show the events from today (March 6th) for the next 7 days - the recurring event from March 1st is showing as March 6th, if I show events from March 5th - the recurring event is showing as March 5th - wierd.
mm Not sure if I have explained this well:
in the xslt: <xsl:variable name="messages" select="pdcalendar:GenerateDates($startdate,$enddate,'event')" />
No matter what $startdate I pass in to pdcalendar:GenerateDates - any recurring events get assigned the same value as $startdate rather than the date the recurring event is meant to occur.
So I get back the following for Playground Clearup - the recurring date is 2010-03-01:
<root>
<node date="2010-03-06">
<event id="1151">Playground Clearup</event>
</node>
........
Hi,
which version of PDCalendar are you using?
And, you have set up a node which has a startdate that is set on a first day of any month and then set recurrence to every month?
Peter
Version 1.3.0.0
And yes - I have an event that is set to be on the 1st of every month.
You should upgrade to version 1.6 then. This was a bug that was fixed in version 1.5.
To upgrade, download the package, unzip it. Then copy the PDCalendar.dll to your bin-folder of the site. (Do not install the package since you allready have it installed)
HTH,
Peter
Thanks, that all works now - I did not realise there was a new version.
is working on a reply...