I replicated the xslt on my machine and it works fine on my
end.
In order to investigate a bit more, is it possible to give me
temporarily access to the backend of the site so I can look at the xslt, the
document-type and the actual nodes?
Got to say a big thank you to Peter for helping me out on this.
Seems like it was that I was using "Calendar" as my document type alias where I should have kept it as "event" - a sympton of my brain being too slow for XSLT :)
List upcoming events outside calendar
Hi Peter,
I wanted to list upcoming events (for the coming week or month) outside the calendar on other pages.
I created a macro from the XSLT you provided in this post http://our.umbraco.org/projects/pdcalendar/pdcalendar/3198-Start-and-End-Time
However it doesn't seem to be working. Here's the code I lifted from that post (in it's entirety I'm afraid but better give you a full picture).
I have replaced "events" with my alias "Calendar" within GenerateDates().
All I get when including this on a page is a huge list (roughly 3 months worths) of dates and no event nodes links.
Any idea where I'm going wrong?
Many thanks,
Barney
Sorry just to clarify, I get a month's list of dates only if I remove the xsl:if condition but still no event node details.
Hi Barney,
can you output <xsl:value-of select="date:date()"/> for me and tell me what the output is?
Also, 'Calendar' is the alias of the documenttype that contains the pdcalendar datatype right? Is the casing correct?
Peter
Hi Peter, cheers for looking at this for me.
<xsl:value-of select="date:date()"/> outputs "2010-05-20" (without the "").
And yes the casing is correct for the document type alias.
Many thanks,
Barney
Any word? Hate to hassle but have a client waiting and we did buy the pro version. Any help would be gratefully appreciated.
Barney,
I replicated the xslt on my machine and it works fine on my end.
In order to investigate a bit more, is it possible to give me temporarily access to the backend of the site so I can look at the xslt, the document-type and the actual nodes?
Regards,
Peter
Got to say a big thank you to Peter for helping me out on this.
Seems like it was that I was using "Calendar" as my document type alias where I should have kept it as "event" - a sympton of my brain being too slow for XSLT :)
Thank you Peter. Very much oblidged.
is working on a reply...
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.