When I came across this post, by ChuckTrukk, about a new MODx calendar snippet I couldn’t wait to share it. It is a completely templatable calendar snippet driven by Google Calendar.
I have yet to find a satisfactory, commercial MODx calendar solution. The natural solution within the framework is to drive a calendar from page documents, which is lacking since this is not an intuitive approach for entering and managing calendar dates. In fact, I personally use Google Calendar. There is simply no substitute for entering dates into a calendar graphically from the “month” perspective. I believe that just about any customer can understand and navigate a Google Calendar. I realize that this is a solution that is not tightly integrated into the MODx site admin, but with ease of use and templating control the trade-offs seem reasonable.
I am not posting code downloads here since this appears to be a work in progress. You can currently download the quantumCalendar code on GitHub.



Greg, are you using this on any of your sites that we could see it live?
December 15th, 2009 at 2:08 pm
I haven't had the opportunity put this one in place as of yet. I did a little digging and found this from deep in that trhead: http://www.goodecompany.com.php5-13.websitetest...
December 15th, 2009 at 2:21 pm
Thanks Greg. That was exactly what I was looking for. I do have an immediate need for a calendar and modx and this should fit the bill.
Love your site by the way. I'm a designer, not a coder and I've started using ModX for most of my basic CMS needs. Works great. Your site has been very helpful in my quest to get better at ModX.
December 15th, 2009 at 2:45 pm
Greg, are you using this on any of your sites that we could see it live?
December 15th, 2009 at 8:08 pm
I haven't had the opportunity put this one in place as of yet. I did a little digging and found this from deep in that trhead: http://www.goodecompany.com.php5-13.websitetest...
December 15th, 2009 at 8:21 pm
Thanks Greg. That was exactly what I was looking for. I do have an immediate need for a calendar and modx and this should fit the bill.
Love your site by the way. I'm a designer, not a coder and I've started using ModX for most of my basic CMS needs. Works great. Your site has been very helpful in my quest to get better at ModX.
December 15th, 2009 at 8:45 pm
I guess I'm too new to Modx to completely understand the instructions. I'd like to create the iCal type calendar, but don't understand where all of the files are supposed to go or what to do with them – the instructions aren't specific enough for the inexperienced.
December 31st, 2009 at 3:00 pm
Go here: http://www.quantum-cmg.com/demos/ and go to the last tab (Instructions). There are step by step instructions there.
December 31st, 2009 at 3:48 pm
Hi Gregory, I did go there, but the instructions are:
1.Upload 'calendar' to /assets/snippets/calendar/
2.Create a new snippet called 'Calendar'
3.Snippet Description: '1.0'
4.Paste the following as the snippet code:
$basePath = $modx->config['base_path'] . '/assets/snippets/calendar/';
include $basePath . 'calendar.inc.php'
Where do I put calendar.inc.php? What about all the other files? Does everything go into /assests/snippets/calendar? I understand how to make the snippet, but the what about all of the snippet parameters? I don't see a place for them. I'm sorry to be so dense about this and I'm sure I'll understand more as I gain more experience, but I need more detailed instructions! Thank you for your reply.
December 31st, 2009 at 3:53 pm
Well, I've got it so far where I have the << >> to go to each month, and I have two rows (upper and lower) of weekdays, but nothing in between! I guess I'm getting closer, but any help would be appreciated! Thank you!
December 31st, 2009 at 4:12 pm
Yes, put all the files in /assets/snippets/calendar. Put the two lines of code from #4 in the text area of your snippet, that code is pointing the snippet to the functional PHP code. As far as the parameters that is in the snippet call that you place in the page you want your calendar. Like: [!Calendar? &emails=`usa__en@holiday.calendar.google.com` &offset=`-2 hours` &template=`mini`!]
There are examples for Mini, Default, iCal and Event List calls. Hope that helps!
December 31st, 2009 at 4:15 pm
It might help to go to the forum post: http://modxcms.com/forums/index.php/topic,34824.... The MODx forum is very helpful for things like this. I believe ChuckTrukk still monitors this thread, there are posts as recent as yesterday on there.
December 31st, 2009 at 4:17 pm
A MODx Calendar & Pilot Group | Greg Smart says:
[...] I have related in earlier posts, I have yet to find a satisfactory, commercial MODx calendar solution. Especially one whose [...]
March 19th, 2010 at 11:08 am
Well , the view of the passage is totally correct ,your details is really reasonable and spring-bags.com you guy give us valuable informative post, I totally agree the standpoint of upstairs. I often surfing on this forum when I m free and I find there are so much good information we can learn in this forum!
June 8th, 2010 at 3:30 am
Well , the view of the passage is totally correct ,your details is really reasonable and you guy give us valuable informative post, I totally agree the standpoint of upstairs. I often surfing on this forum when I m free and I find there are so much air jordan 19 good information we can learn in this forum!
July 8th, 2010 at 9:07 am