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

Event Calendar CalendarWidget not showing


Go to End


3 Posts   1088 Views

Avatar
Vix

Community Member, 60 Posts

31 July 2014 at 8:18pm

I have a 3.1 site that I am just adding the event calendar to.

In my Calendar.ss file I have $CalendarWidget, but it does not show.

I can see in the HTML the

<div class="calendar-widget" data-url="/workshops-and-events/"></div>

but there is nothing inside it. I have put in future events so not sure if there is something else I need to install as well as the module.

Avatar
geekdenz

Community Member, 37 Posts

3 August 2014 at 11:04pm

Not sure about the Event Calendar Module. But sometimes it's just a matter of running
dev/build?flush=all
or appending ?flush=1 or ?flush=all to the page.

This caught me up a few times.

If you want an answer specific to the CalendarWidget, you may need to provide more details.

Avatar
Vix

Community Member, 60 Posts

8 August 2014 at 7:34pm

Figured this out...

First I had the module called 'event-calendar', when it should be 'event_calendar'.

Second there is a call in event_calendar/templates/CalendarWidget.ss looking for jQuery in 'sapphire' instead of 'framework' (this is def the right module for 3.1).

Anyhow, thought I would post this in case anyone else has the same problem.