We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10241
    • 57 Posts
    well, they want someone to be able to submit a request to add an event via email. i’m we use groupwise, and i’m trying to sync the two calendars and maybe that will solve my problem. but i am loving this whole google calendar idea.
      • 34017
      • 898 Posts
      Well I think the easiest way would be to use eForm and create a onMailSent snippet that sends the info to Google via their API. I dont think this is in GoogleEvents at the moment, but it would be a cool little snippet.

      Here’s a tutorial for a simple form to google calendar: http://www.ibm.com/developerworks/library/x-googleclndr/
        Chuck the Trukk
        ProWebscape.com :: Nashville-WebDesign.com
        - - - - - - - -
        What are TV's? Here's some info below.
        http://modxcms.com/forums/index.php/topic,21081.msg159009.html#msg1590091
        http://modxcms.com/forums/index.php/topic,14957.msg97008.html#msg97008
        • 10241
        • 57 Posts
        we use groupwise and i can send a request to that using a form, if they accept a rule i made will send it to google calendar. thanks for that link. i bookmarked it and plan on using it soon. thanks for all the advice and help.

          • 15510
          • 70 Posts
          I’ve been trying to get Google Events working on my site and having a bit of trouble.  When I hit the URL, I get:
          [tt]
          « MODx Parse Error »
          MODx encountered the following error while attempting to parse the requested resource:
          « PHP Parse Error »

          PHP error debug
            Error: Unknown(/nfs/c01/h02/mnt/xxxxx/domains/<mydomain>.org/html/assets/snippets/GoogleEvents/php/simplepie.inc): failed to open stream: No such file or directory
            Error type/ Nr.: Warning - 2
            File: /nfs/c01/h02/mnt/xxxxx/domains/<mydomain>.org/html/manager/includes/document.parser.class.inc.php(769) : eval()’d code
            Line: 67

          Parser timing
            MySQL: 0.0794 s (16 Requests)
            PHP: 4.4405 s
            Total: 4.5199 s[/tt]

          Any ideas what is wrong?  I am running 0.9.6.1.  The snippet call is: [tt][!GoogleEvents? &outputType=`list`&email=`[email protected]`!][/tt]
            • 34017
            • 898 Posts
            Can you go directly to this file

            - http://<mydomain>.org/html/assets/snippets/GoogleEvents/php/simplepie.inc

            It’s saying the file isnt there to be included.
              Chuck the Trukk
              ProWebscape.com :: Nashville-WebDesign.com
              - - - - - - - -
              What are TV's? Here's some info below.
              http://modxcms.com/forums/index.php/topic,21081.msg159009.html#msg1590091
              http://modxcms.com/forums/index.php/topic,14957.msg97008.html#msg97008
              • 15510
              • 70 Posts
              I get this:

              ERROR: Too many forward attempts!

              The request could not be completed due to too many unsuccessful forward attempts.

              I also tried hitting [tt]http://<mydomain>.org/assets/snippets/GoogleEvents/php/simplepie.inc[/tt] without the [tt]html[/tt].
                • 15510
                • 70 Posts
                OK, I did something stupid. I set the snippet up in Google_Events rather than GoogleEvents. Sorry. I have no idea why.