Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Event Calendar Module - How to Question

Go to End

11 Posts   2669 Views


Community Member, 40 Posts

29 June 2011 at 3:34pm

^ what he said.

UncleCheese: Can you please help me out with my problem in the post above:

Thanks heaps!


Community Member, 25 Posts

30 June 2011 at 9:50am

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/ on line 323


Community Member, 25 Posts

2 July 2011 at 10:07am

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 %>


Thanks for the help.

Go to Top