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 in 2.4 alpha


Go to End
Reply


21 Posts   3939 Views

Avatar
Tigerlilly

Community Member, 16 Posts

16 March 2010 at 11:20am

I am trying to do the same thing but still getting the 404 page. I have added the above methods to Calendar and CalendarEvent pages is there something else I am missing? Did you change any other pages?

Thanks
Denise

Avatar
Leo.zhuang

Community Member, 1 Post

12 April 2010 at 7:27pm

To Tigerlilly:

I reckon you probably need to remove '-' from the following code in handleAction method:
$patterns[] = '/^(19|20)\d\d$/';
$patterns[] = '/^(19|20)\d\d-(0[1-9]|1[012])$/';
$patterns[] = '/^(19|20)\d\d-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])$/';

After removing '-', the code looks like this.

$patterns[] = '/^(19|20)\d\d$/';
$patterns[] = '/^(19|20)\d\d(0[1-9]|1[012])$/';
$patterns[] = '/^(19|20)\d\d(0[1-9]|1[012])(0[1-9]|[12][0-9]|3[01])$/';

The files of Canlendar.php and CalendarEvent.php have been attached.

Avatar
UncleCheese

Forum Moderator, 4096 Posts

13 April 2010 at 2:49am

FYI, the 2.4 version of EventCalendar is now on the trunk. I've branched off 2.3 to /branches/2.3/

Avatar
silverseba

Community Member, 26 Posts

12 May 2010 at 3:03am

Sorry for being stupid, but where can I find the 2.4 Version of the EventCalendar?
Didn´t find it in the Module section ([url]http://www.silverstripe.org/event-calendar/[/url]) nor on the SVN Server ([url]http://bluehousegroup.svn.beanstalkapp.com/modules/trunk/event_calendar[/url]).

Avatar
UncleCheese

Forum Moderator, 4096 Posts

12 May 2010 at 3:57am

That SVN is correct. EventCalendar 2.4 is on the trunk.

Go to Top