never mind - permissions was the issue - changed the perms for the GoogleEvents folder to 755 - everythings OK now. thanks for the advice...
scott
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.
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
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's way
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.
@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's way
larsb
I’think tpl works only if your outputType is set to "list" or "both"
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.