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.

All other Modules /

Discuss all other Modules here.

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

FullCalendar weekview on other pages


Go to End


2 Posts   1053 Views

Avatar
Last_viking

Community Member, 2 Posts

29 June 2011 at 11:45pm


I have a FullCalendar and want to display this weeks calendar on frontpage.

so on my Page.php i made the following function:

public function fetchcalendar() {
return CalendarSiteTree::CalendarWidget("cal1");

and called with $fetchcalendar from the homepage. It works, but it uses the Calendar layout and not the Fullcalendar layout I have on the actual calendar page. How can I show the Fullcalendar layout on other pages that is not a calendar page?

Thanks for all help!

Avatar
Last_viking

Community Member, 2 Posts

4 July 2011 at 7:14pm

Still stuck on this. Is there some way I can make the Fullcalendar layout a widget like the $Calendarwidget?