We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 14203
    • 1 Posts
    This is a brilliant solution - and ideally suited to what I’m trying to achieve without using JSON and the MODx Document structure to manage events.

    I’m working on a new version for a client and need to filter by day as well as year/month...
    http://lakesalive.org/google-events-test/&year=2010&month=01

    Any way I can filter using a query for day as well as year/month... ie &day=14 or something...

    Apologies if this is a daft question - or indeed has been addressed previously but I couldn’t see it huh
      • 5206
      • 10 Posts
      hello,

      I’m very excited about using this plugin!

      I’m having trouble getting it to post. The only error I get in my logs is the one that it was advised just to ignore in a previous post, as it doesn’t seem to cause problems with posting.

      What happens is the css populates to the resulting html (so it’s working), but between the <ul> </ul> where feed is supposed to read I get nadda.

      I’m trying to get a calendar created in a google apps account to feed. It is marked public, can show all info, and ssl is not required to read the calendar. the only diff between a normal gmail calendar feed and an apps feed is that the apps feed has the corresponding domain name attached to the address, such as:


      has anyone else gotten an apps calendar to work, or foresee any problems with this plugin reading such an address? If you got one to work but needed to make some adjustments, please share! smiley

      thanks!
      chris
        • 7740
        • 3 Posts
        This is looking very promising. Really practical and nice looking, so I tested it in my own site outside of modx.

        First It seems to work perfectly but in second look all events are totally messed up – at least by me.

        Example: event in February 2. shows up in January 6., new year in december 4. and so on, but If I click it in default cal it shows me (by google) the right information. I used [+startDate+] as placeholder and also noticed that in january it shows me events from year 1970!!
        Had no luck so fare to get this thing work. Do you have ANY solutions?

        Also if you don’t mind the second request… are there any options for those who live in Europe changing the week beginning from Sunday to Monday?

        _____________________________________

        Find out that this thing depends heavily of PHP version!
        with 5.1.6 it does not show the right event information!
        with 5.2.12 events are in right place but ical does not show anything at all and
        5.3.2 does not work with this version of simplepie.

        I alsoe think that it needs some easy way to customize time and date settings (AM/PM; 12H day, week beginning and so on..)I noticed now that even if I get all events in right place, my time and year results are still wrong. I think only reason for this are my Gcalendar settings.

          • 29201
          • 239 Posts
          My clients and I are loving this snippet. So thanks again Chuck for giving us this.

          So my English version works great but now I need to get Spanish going.

          I’ve modified my Language Files based on this:

          http://wiki.modxcms.com/index.php/Category:Language_Files#Managing_the_translation_process_collaboratively

          and I see Spanish for the current month. However for the clickable months (previous and next) I’m still seeing english.

          check it here: http://grab.by/2iAo

          Can anyone shed some light on this? It appears that simplepie.inc has been coded to handle this.....

          Thanks,

          Eliot
            • 27672
            • 168 Posts
            in the documentation (http://www.quantum-cmg.com/demos/) it says for "useCache":
            Default: true. You only want to turn this off if you are debugging or demoing this to a client.
            why is this? is it for speed? is there a threat of google blacklisting you for too many queries? i’m just curious of the reason, as it seems for the most accurate calendar you’d want the caching off.
              • 18961 ☆ A M B ☆
              • 237 Posts
              I have this snippet up and running on: http://www.eastonlodge152.com - I’m using both the list view on the home page and the calendar view when you click through. I just noticed that in March when daylight savings time changes my times are now off by an hour. Is there any where to change this? To turn "On" daylight savings or make some kind of adjustment in google calendar? Anyone else experiencing this? I’m using a -5 offset that works fine now.

              Great script, by the way.....
                Michael Smull
                http://www.bigpixelstudio.com
                twitter: @mdsdesign
                • 32445
                • 6 Posts
                how do I start the month with a different day. Now Sunday is the first day of the week but I would like to start the month with Monday... Can you let me know how to do it?
                  • 20413
                  • 2,877 Posts
                  @willit0
                  class.Calendar_Events.php
                  Line 112 change to
                  for( $c=1; $c<$this->startOffset; $c++ )


                  Then change days in template! smiley
                    @hawproductions | http://mrhaw.com/

                    Infograph: MODX Advanced Install in 7 steps:
                    http://forums.modx.com/thread/96954/infograph-modx-advanced-install-in-7-steps

                    Recap: Portland, OR (PDX) MODX CMS Meetup, Oct 6, 2015. US Bancorp Tower
                    http://mrhaw.com/modx_portland_oregon_pdx_modx_cms_meetup_oct_2015_us_bancorp_tower
                    • 32445
                    • 6 Posts
                    @mrhaw

                    Thank you very much! It works! I really appreciate your help.
                      • 32445
                      • 6 Posts
                      Now I need help with list view. I’m trying to display as a list but all I get is a blank ul with event-list class

                      <ul class="event-list"> </ul>

                      Nothing inside!

                      Note: As a calendar display everything. I’m trying to display both of them in the same page with the following call

                      [[Calendar? &emails=`[email protected]` &offset=`-2 hours` &template=`pomeda`]]

                      [[Calendar? &emails=`[email protected]` &offset=`-2 hours` &template=`list` &display=`list`]]