quantumCalendarWhen 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.

  • http://www.bigpixelstudio.com/ Michael SMull

    Greg, are you using this on any of your sites that we could see it live?

  • http://www.gregorysmart.com Gregory Smart

    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…

  • michaelsmull

    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.

  • http://www.bigpixelstudio.com/ Michael SMull

    Greg, are you using this on any of your sites that we could see it live?

  • http://www.gregorysmart.com Gregory Smart

    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…

  • michaelsmull

    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.

  • Joni

    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.

  • http://www.gregorysmart.com Gregory Smart

    Go here: http://www.quantum-cmg.com/demos/ and go to the last tab (Instructions). There are step by step instructions there.

  • Joni

    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.

  • Joni

    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!

  • http://www.gregorysmart.com Gregory Smart

    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!

  • http://www.gregorysmart.com Gregory Smart

    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.

  • Pingback: A MODx Calendar & Pilot Group | Greg Smart

  • http://www.cheap-nikeshox.com/nike-shox-R5-women.html shox t11 women

    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!

  • http://www.air-force-one.com air force 1 shoes

    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!

  • http://twitter.com/creativesagest Creative Sagest

    Hi Greg. For those who are running across your post about this calendar and looking for examples, I have an implementation I did here: http://www.3up3downpitching.com under events.

    Thanks!

  • http://www.gregorysmart.com Gregory Smart

    Thanks for sharing!