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.

We've moved the forum!

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.

Widgets /

Discuss SilverStripe Widgets.

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

Event Calendar - help needed


Go to End


2250 Views

Avatar
wilsonStaff

Community Member, 143 Posts

13 August 2013 at 2:52pm

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