Copied to clipboard

Flag this post as spam?

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

  • David Maxwell 10 posts 61 karma points
    Apr 21, 2010 @ 19:42
    David Maxwell

    No events show

    Original post:

    Posted this over in the forums, but then realized this might be a better place to post it.


    The basics:  umbraco v 4.0.3 (Assembly version: 1.0.3625.27276), 3.5, PDCalendar 1.6


    OK, I'm feeling REALLY stupid at the moment.  I am trying to implement the PD Calendar - I had thought I had gotten it to work before, but for some reason I can't get it to work.

    Here's what I've done so far:

    • Created a document type (Events Calendar) to hold the calendar
    • Created the document type (Event) to base the events off of.  I've edited the PDUlliCalendar.xslt to use this document type
    • I've added/published three different events, one recurring and two single date events.
    • When I go to view my Events Calendar, I can see the calendar but the events are not tied into the calendar.

    Here is the XML for an event:

    <node id="1367" version="79e5f79d-e2b9-4f1f-8bb5-46f213aa7de3" parentID="1363" level="3" writerID="0" creatorID="0" nodeType="1353" template="1354" sortOrder="3" createDate="2010-04-20T11:03:33" updateDate="2010-04-20T11:05:48" nodeName="Testing" urlName="testing" writerName="Administrator" creatorName="Administrator" nodeTypeAlias="Event" path="-1,1148,1363,1367"><data alias="EventTitle">test</data><data alias="Event Data"><pdcalendarevent><pdcstart>2010-04-20</pdcstart><pdcstartt>634073184000000000</pdcstartt><pdcend>2010-04-21</pdcend><pdcendt>634074048000000000</pdcendt><pdcrec>0</pdcrec></pdcalendarevent></data><data alias="TypeofEvent"><![CDATA[Private Event]]></data><data alias="EventDescription"><![CDATA[


    Here is line I changed in the the PDUlliCalendar.xslt file

    <xsl:variable name="events" select="pdcalendar:GenerateDates($startdate,$enddate,'Event')" />

    Any ideas on what I'm missing?  I'm sure it's something blatantly obvious, but it's not sinking in at the moment.

  • Peter Dijksterhuis 1442 posts 1722 karma points
    Apr 21, 2010 @ 22:32
    Peter Dijksterhuis


    I don't see anything worng. Excpet maybe the alias 'Event Data'.

    It is good practise NOT to use spaces in aliases. Use camelcasing instead or use a dash or underscore.

    Could you try to change that alias and see how it goes?


Please Sign in or register to post replies

Write your reply to: