Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • saintwright 69 posts 77 karma points
    Mar 05, 2010 @ 23:58
    saintwright
    0

    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.

     

  • saintwright 69 posts 77 karma points
    Mar 06, 2010 @ 00:28
    saintwright
    0

    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>

    ........

  • Peter Dijksterhuis 1442 posts 1722 karma points
    Mar 06, 2010 @ 16:53
    Peter Dijksterhuis
    0

    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

  • saintwright 69 posts 77 karma points
    Mar 07, 2010 @ 02:18
    saintwright
    0

    Version 1.3.0.0

     

    And yes - I have an event that is set to be on the 1st of every month.

  • Peter Dijksterhuis 1442 posts 1722 karma points
    Mar 07, 2010 @ 11:10
    Peter Dijksterhuis
    0

    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

  • saintwright 69 posts 77 karma points
    Mar 08, 2010 @ 00:20
    saintwright
    0

    Thanks, that all works now - I did not realise there was a new version. 

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies