I am running CMSMS 2.2.7 in my local computer with Wamp server, PHP version 7.0.29
The News module works fine and shows my news no problem. I would like them to be shown by alphabetical order but when I add "sortby" I get an error message saying that the parameter is not recognised.
this is how I have it in a page:Warning: Parameter sortby is not known by module CGCalendar dropped in C:\wamp\www\sandsninew\lib\classes\class.CMSModule.php on line 645
Code: Select all
{CGCalendar category="Groups" sortby="news_title"}
Am I missing something obvious or doing something wrong?(optional) sortby="news_date" - Field to sort by. Options are: "news_date", "summary", "news_data", "news_category", "news_title", "news_extra", "end_time", "start_time", "random". Defaults to "news_date". If "random" is specified, the sortasc parameter is ignored.
I tried searching for this problem but only get results from old versions.
Thanks.