^ what he said.
UncleCheese: Can you please help me out with my problem in the post above: http://www.silverstripe.org/all-other-modules/show/17306#post304881
Thanks heaps!
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
^ what he said.
UncleCheese: Can you please help me out with my problem in the post above: http://www.silverstripe.org/all-other-modules/show/17306#post304881
Thanks heaps!
Thanks, I'm a Silverstripe newbie so I hadn't used the new page types yet. I was able to create a new page type when I put in
<% control UpcomingEvents %>
I get the following error:
Parse error: syntax error, unexpected $end in /home/content/07/7202507/tmp/silverstripe-cache-home-content-07-7202507-html-cassiusblueco/.cache.themes.cassiusblueco.templates.Layout.HomePage.ss on line 323
I finally figured it out. Posting code here and the link to the documentation in case any other newbies are having a hard time also.
This shows title & date for announcements and title (as a hyperlink to the event) plus the date and time with EST after the time for the timezone.
<% control UpcomingEvents %>
<% if Announcement %>
$Title | $_Dates
<% else %>
<a href="$Event.Link">$Event.Title</a>
$_Dates | $_Times EST
<% end_if %>
<% end_control %>
Documentation: http://doc.silverstripe.org/old/modules:event_calendar
Thanks for the help.