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.

All other Modules

Discuss all other Modules here.

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

Event Calendar Widget on Home page


Reply

34 Posts   6504 Views

Avatar
joninjas

21 May 2011 at 1:56am Community Member, 32 Posts

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

21 May 2011 at 2:37am (Last edited: 21 May 2011 2:38am), Community Member, 70 Posts

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