We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 26425
    • 15 Posts
    never mind - permissions was the issue - changed the perms for the GoogleEvents folder to 755 - everythings OK now. thanks for the advice...

    scott

      • 32873
      • 9 Posts
      Quote from: Fatknuckle at Oct 31, 2008, 12:47 PM

      [....]
      Id like to output something like:

      <h1> Event Day </h1>
      event 1
      event 2
      event 3
      
      <h1>Event Day 2</h1>
      event 1
      event 2

      [...]

      update:
      the outer template would be something like this:

      <h3>[+startDateCombined+]</h3>
      [+eventEntries+]


      and the inner template would look something like this:

      <div class="event-entry">
      <h3><span class="event-title">[+title+] <span class="toggler">[+]</span></span></h3>
      <div class="event-info">
      <p ><span class="event-notes bold">Notes:</span>[+content+]</p>
      <p><span class="event-time bold">Time:</span> [+startTime+]</p>
      <p><span class="event-location bold"> Location:</span> [+where+]</p>
      </div>


      Did anyone finally manage to solve this or worked on this?
        • 32889
        • 4 Posts
        Hello all,

        I just got my calendar up and running, styled and all that and it works well.

        HOWEVER, would it be possible to have the system display not only future events, but also past ones? If you view my public feed, those past events are still there, and I’d like to be able to show those as well. This calendar will be for a church that has lots of events, and I’d imagine people would want to see when things happened.

        Any thoughts? Thanks for a nice piece of code.
          • 8798
          • 3 Posts
          How (or where) do I fix this error, which appears everytime someone views a page that calls on the GoogleCalendar snippet?

          Event Id: 1 Source: GoogleEvents - Snippet

          Date: 20-May-2009 10:44 AM User:


          It is not safe to rely on the system’s timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected ’America/New_York’ for ’EDT/-4.0/DST’ instead

            • 16680
            • 73 Posts
            This is a great little snippet.

            However, going through this thread I was not able to find out where the default template is located?

            I have created my own:
            <table class="eventcontent">
            	<tr>
            		<td>
            			<ul>
            				<li class="calCaption">[+title+]</li>
            				<li class="calDescr">[+content+]</li>
            				<li class="calDate">[+startTime+] - [+endTime+]</li>
            				<li class="calLink"><a href="[+linkURL+]">mere..</a></li>
            			</ul>
            		</td>
            	</tr>
            </table>


            But no matter what I try, GoogleEvents just won’t use it.

            My snippet call looks like this:
            [!GoogleEvents?dayNameSize=`full`&outputType=`calendar` &tpl=`calWideTpl` &calendarType=`wide`&email=`[email protected]`!]</p>


            Any help is greatly appreciated, thanks.

            .larsb
              Signature on it&#39;s way
              • 34017
              • 898 Posts
              The default template is in assets/snippets/calendar/templates/default.

              There is also mini and ical folders in there. The best way to get started is to use one of the defaults and just modify it’s css.
                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
                • 16680
                • 73 Posts
                @ChuckTrukk

                Hey, thanks for the answer.

                I can’t see the ’templates/’ folder that you are pointing to in your answer.

                All I have inside the GoogleEvents folder is:
                  Signature on it&#39;s way
                  • 15193
                  • 9 Posts
                  larsb

                  I’think tpl works only if your outputType is set to "list" or "both"
                    • 34017
                    • 898 Posts
                    Im sorry guys. I responded to the wrong thread. Ive responded about the wrong snippet. I was talking about: http://modxcms.com/forums/index.php?topic=34824.0

                    Sorry for the confusion.
                      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
                      • 14723
                      • 7 Posts
                      Hi,

                      I’ve got a somewhat curious error with GoogleEvents.

                      « Execution of a query to the database failed - Incorrect integer value: '' for column 'user' at row 1 »
                            SQL: INSERT INTO `jongdans`.`modx_event_log` (eventid,type,createdon,source,description,user) VALUES(1,3,1249302918,'GoogleKalender - Snippet','Non-static method SimplePie_GCalendar::create_feed_url() should not be called statically, assuming $this from incompatible context


                      http://www.jongdansfestival.nl/modx/index.php?id=27

                      The one thing i find which is inccorrect is "Incorrect integer value: ’’"

                      Everything works fine on my local webserver but after migrating to it’s domain this error pups up.
                      I’ve filled out the paths to assets correctly (the rest of the site is doing fine).

                      Any thoughts?