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 Widget on Home page


Go to End


34 Posts   10047 Views

Avatar
joninjas

Community Member, 32 Posts

21 May 2011 at 1:56am

Thanks a lot Gordon!

It was the 'event_calendar' mistake. It makes sense when I have a look at _config.php.

Nice!

Cheers
Jonas

Avatar
elgordo

Community Member, 70 Posts

21 May 2011 at 2:37am

Edited: 21/05/2011 2:38am

Glad to help :)

What I normally do when I am not sure of the correct folder name is to grep for 'Require'

 grep -rIn Require .
./code/CalendarScriptInit.php:5:		Requirements::javascript('event_calendar/javascript/calendar_interface.js');
./code/CalendarScriptInit.php:6:		Requirements::css('event_calendar/css/calendar_cms.css');
...
<SNIP>

It is then usually clear what the intended folder name should be

Regards

Gordon

Go to Top