Just wondering how this can be done. I want to show a list of events that brings up all events with pagination sorted by date irrespective of they being past or upcoming.
As far as I see, the module only gives you the option to show either upcoming events or past events (or show a day, month or year) when you call it, but that isn't really feasible for me right now nor is the option to have upcoming events in one page and past events in another, they need to be all on the same list.
As it is right now, if I use past events, it won't show upcoming and if I use upcoming events it won't show the past events because the module automatically hides past events in that mode.
Any help is appreciated.
I'm using CMSMS 1.11.5 and CGCalendar 1.10.4.
Thanks in advance.
CGCalendar: Show both past and upcoming events on same list?
Re: CGCalendar: Show both past and upcoming events on same l
Use 2 calls for it, past events above new events..?
Re: CGCalendar: Show both past and upcoming events on same l
I could do that but then I would have issues with the pagination as I would have to place limits to both calls, it would lead to each call having their own pagination on the same page.Dr.CSS wrote:Use 2 calls for it, past events above new events..?
It would also be a problem in other areas of the site where I am calling, for example, a single event (the most recent one). Using two calls would create issues.
Thanks for your input Dr.CSS.
Re: CGCalendar: Show both past and upcoming events on same l
Pagination could be implemented with some javascript. However, all events would need to be loaded into the browser.
Looking at the code of CGCalendar, I *think* it would be a small effort to implement a 'listall' parameter. So maybe you could contact the developer (Robert Campbell, calguy1000) for a (paid) modification or file a feature request.
Not being a developer I might be wrong about the 'small effort' as I know I often overlook the important details
Looking at the code of CGCalendar, I *think* it would be a small effort to implement a 'listall' parameter. So maybe you could contact the developer (Robert Campbell, calguy1000) for a (paid) modification or file a feature request.
Not being a developer I might be wrong about the 'small effort' as I know I often overlook the important details



