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.

Widgets

Discuss SilverStripe Widgets.

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

Event Calendar - help needed


Reply

647 Views

Avatar
wilsonStaff

13 August 2013 at 2:52pm Community Member, 142 Posts

Hi to all, i have a simple question that maybe you could help me with.

I can run event-calendar quite ok. I uses Calendar.ss as below:

: : Calendar.ss

$Content // i can retrieve this, so the loop below works
$Layout

is displays this on my page.

new.orientheque.ca/calendrier (no http://)

- - -

What i want to achieve is display the Calendar Widget on the home page, which uses Page.ss

Ive tried all solutions below to no avail. Is this doable?

: : Page.ss

<% loop Page(calendrier) %>
   $Content // i can retrieve this, so the loop works
   $Parent.Layout
<% end_loop %>

<% loop Page(calendrier) %>
   $Content
   $LiveCalendarWidget
<% end_loop %>

and solely

<% loop Page(calendrier) %>
   $Content
   $CalendarWidget
<% end_loop %>

The later works (almost) but months and days show UNDEFINED.

Go see at: http://new.orientheque.ca (no http://)

Lastly, $EventList doesnt show date.

$Event.Date isnt working.

Thanks!

Sabin