[solved] CGCalendar "yearlist" sort event order
Posted: Fri Jan 17, 2014 1:08 pm
Hi. I'm running CMS Made Simple 1.11.9. I'm using PHP 5.5.7, and MySQL 5.5.34. This is all working with Apache 2.6.32 running on Linux.
I'm using CGCalendar version 1.13.3, which depends on CGExtensions. My CGExtensions is version 1.38.1.
I'm calling the module with
When the events are displayed they are ordered with the event furthest in the future first and event closest to current date last.
eg 25 December 2014, 30 June 2014, 25 March 2014, 01 Feb 2014.
I was wondering if someone could advise how I can reverse this order, eg event closest to current date first and furthest from current date last.
I have also tried reverse true & false... neither of which seem to work.
I have searched both google and this forum. The only thing I can find is http://dev.cmsmadesimple.org/bug/view/9011 however this hasn't helped me.
Also, I have freshly installed CGCalendar so no modifications have been made.
Thanks
I'm using CGCalendar version 1.13.3, which depends on CGExtensions. My CGExtensions is version 1.38.1.
I'm calling the module with
Code: Select all
{cms_module module="CGCalendar" display="yearlist"}eg 25 December 2014, 30 June 2014, 25 March 2014, 01 Feb 2014.
I was wondering if someone could advise how I can reverse this order, eg event closest to current date first and furthest from current date last.
I have also tried reverse true & false...
Code: Select all
{cms_module module="CGCalendar" display="yearlist" reverse="true"}
{cms_module module="CGCalendar" display="yearlist" reverse="false"}I have searched both google and this forum. The only thing I can find is http://dev.cmsmadesimple.org/bug/view/9011 however this hasn't helped me.
Also, I have freshly installed CGCalendar so no modifications have been made.
Thanks