Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
I have tried to change the XSLT so it can show the events like this:
March 2009 12.03.09 | The events name is here | The description is here 15.03.09 | The events name is here | The description is here
Maj 2009 03.05.09 | The events name is here | The description is here
…and so on. I can't find out to sort the Calendar so it is placed in month. The closest I got was written the month for every event.
Is there anyone who can help me with the right XSLT?
Kind regards,
Niels Albjerg Kristiansen
Hi Niels,
Have you tried using the following extension in your XSLT?
Exslt.ExsltDatesAndTimes:monthinyear('String d')
If you replace the string with your date node and then use this as the sort parameter.
Cheers,
Chris
Sorry for the delay Chris
Could you help me a little more with the XSLT, I'm not a supercool XSLT programmer i must admit :)
Niels
Niels,
You could create a loop that runs through the months. Then for each month, get the events (use pdcalendar:GenerateDates) and display them.
Does this help?
Peter
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Change the Calendar to "Month Year" sorting
Hi,
I have tried to change the XSLT so it can show the events like this:
March 2009
12.03.09 | The events name is here | The description is here
15.03.09 | The events name is here | The description is here
Maj 2009
03.05.09 | The events name is here | The description is here
…and so on. I can't find out to sort the Calendar so it is placed in month. The closest I got was written the month for every event.
Is there anyone who can help me with the right XSLT?
Kind regards,
Niels Albjerg Kristiansen
Hi Niels,
Have you tried using the following extension in your XSLT?
If you replace the string with your date node and then use this as the sort parameter.
Cheers,
Chris
Sorry for the delay Chris
Could you help me a little more with the XSLT, I'm not a supercool XSLT programmer i must admit :)
Kind regards,
Niels
Niels,
You could create a loop that runs through the months. Then for each month, get the events (use pdcalendar:GenerateDates) and display them.
Does this help?
Peter
is working on a reply...