PDCalendar is fantastic, but I have one problem with it... I would like to have access to more than just the ID of the nodes matching a given date range.
For example, I'd like to know what the parentID's are or the nodeNames. I realize I can retrieve the node in XSLT and then access this info, but it seems inefficient. Since your "$messages" variable is clearly XML, why not retrieve some other properties from the documents so it's easier to display things?
The problem that brought this up for me is that I want to have just a single Event document but with multiple dates as children nodes. Not recurring mind you, but multiple non-recurring dates.
the reason PDCalendar doesn't get more properties is beause I wanted to minimize the overhead. Basically, PDCalendar is designed for events with recurring dates. So, the $messages variable holds all the info about the dates. Since that always sticks to 1 event, I saw no reason to return other properties of that event. Especially since those properties are allready in the cache.
You're giving it a different approach, so you need a different solution :) As said, all properties of the pages are allready in the cache. I don't think it is that inefficient to get other properties through XSLT.
How exactly are you displaying your events? Perhaphs I can think of a way to display all the info you need in a good way?
Need More Node Properties in Event List
Peter,
PDCalendar is fantastic, but I have one problem with it... I would like to have access to more than just the ID of the nodes matching a given date range.
For example, I'd like to know what the parentID's are or the nodeNames. I realize I can retrieve the node in XSLT and then access this info, but it seems inefficient. Since your "$messages" variable is clearly XML, why not retrieve some other properties from the documents so it's easier to display things?
The problem that brought this up for me is that I want to have just a single Event document but with multiple dates as children nodes. Not recurring mind you, but multiple non-recurring dates.
Robert
Hi Robert,
the reason PDCalendar doesn't get more properties is beause I wanted to minimize the overhead. Basically, PDCalendar is designed for events with recurring dates. So, the $messages variable holds all the info about the dates. Since that always sticks to 1 event, I saw no reason to return other properties of that event. Especially since those properties are allready in the cache.
You're giving it a different approach, so you need a different solution :) As said, all properties of the pages are allready in the cache. I don't think it is that inefficient to get other properties through XSLT.
How exactly are you displaying your events? Perhaphs I can think of a way to display all the info you need in a good way?
I hope I did make some sence here ;)
Peter
is working on a reply...