Hey Guys,
With your playing around with mxCalendar on Revo have any of you run into a problem with changing months on the main calendar? I've tried on 2 hosts now and getting the same error and not sure what the problem is.
Error:
Warning: array_multisort() [function.array-multisort]: Argument #1 is expected to be an array or a sort flag in /home/public_html/modx/core/cache/includes/elements/modsnippet/14.include.cache.php on line 250
I got all the rest of the calendar functions figured out and working well except being able to change months properly. I don't know enough about the PHP to decipher this.
Any help is greatly appreciated!
MODx helps me stay in the white
This is the line from the named file giving me grief:
array_multisort($date, SORT_ASC, $event, SORT_ASC, $arrEventDates);
MODx helps me stay in the white
Deleted line of code...fixed at least for now
MODx helps me stay in the white
whitesphynx - I can't say I've had any issues like that. Sorry! On the original thread topic, I can say that after further use, mxCalendar is definitely a robust product and my calendar of choice for MODX. There are also some features on the near horizon that will make it even more attractive to users.
-
☆ A M B ☆
- 205 Posts
Currently using mxCalendar. I'm wonder how one would be able to export the mxCalendar for the user to pull to their own iCal or gCal.
I saw that Church Events Calendar for MODX has this iCal/RSS functionality from the demo too.
Sal Baldovinos
SEO & DIGITAL MARKETING
ARIEL DIGITAL | Maximize Your Potential
www.arieldigitalmarketing.com
mayhem - this would probably be easy enough to implement using your own xml file and the list-view functionality in mxCalendar, as you can use a TPL to arrange the data in list-view. Just my two cents.
-
☆ A M B ☆
- 205 Posts
I'm not the one working on the project, but I'll see what I can figure out. Not familiar enough with creating xml files to then export for iCal
Sal Baldovinos
SEO & DIGITAL MARKETING
ARIEL DIGITAL | Maximize Your Potential
www.arieldigitalmarketing.com
This is definitely something you'll want a developer to do for you if you're not familiar with the process involved.
A brief explanation as to what I had in mind though: You create the XML file as a resource in MODX, and then populate said resource using mxCalendar. Each calendar event would be a list item in your XML file. Does this make any sense to you?
-
☆ A M B ☆
- 205 Posts
Yea, makes sense. What about making it iCal/gCal friendly - anything special there? ig:
http://www.joshua19media.com/modx-development/church-events.html here they have both iCal icon & RSS
Sal Baldovinos
SEO & DIGITAL MARKETING
ARIEL DIGITAL | Maximize Your Potential
www.arieldigitalmarketing.com