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.


View Comments on “MODx quantumCalendar Snippet”

You can track this conversation through its atom feed.

  1. Michael SMull says:

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

  2. Gregory Smart says:

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

  3. michaelsmull says:

    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.

  4. Michael SMull says:

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

  5. Gregory Smart says:

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

  6. michaelsmull says:

    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.

  7. Joni says:

    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.

  8. Gregory Smart says:

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

  9. Joni says:

    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.

  10. Joni says:

    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!

  11. Gregory Smart says:

    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!

  12. Gregory Smart says:

    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.

  13. 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 [...]

  14. shox t11 women says:

    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!

  15. air force 1 shoes says:

    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!

Leave a Reply

You must be logged in to post a comment.

blog comments powered by Disqus