I assume you can use $('#fullcalendar').fullCalendar( 'gotoDate', year, month );
Feature would very much be appreciated.

Peter

Comments

tim.plunkett’s picture

This is absolutely essential. I'm trying to create events for January 2011, and not being able to get there directly is a major problem.

tim.plunkett’s picture

#962474: Add more options to the views interface is both a workaround for this and a separate feature itself. Allows you to specify a date from within the view. I still want to write the argument handler, but this is a step in the right direction.

tedl’s picture

Thanks Tim! This is a great start to making FullCalendar really useful. Off course using the earliest/first date as an argument would be even better but your patch is a good start.

geerlingguy’s picture

Version: 6.x-1.2-beta2 » 6.x-1.x-dev

Subscribe. Might be good to wrap this into #971034: Add Option To Load Events Via Ajax. At least, I think the two are very tightly interrelated. Bumping version, too.

tim.plunkett’s picture

Version: 6.x-1.x-dev » 6.x-2.x-dev

Trying to get a 6.x-1.0 release, new features can wait.

tim.plunkett’s picture

Version: 6.x-2.x-dev » 7.x-2.x-dev
Component: User interface » Views
tim.plunkett’s picture

Status: Active » Needs review
StatusFileSize
new2.27 KB

Not an ideal solution. Requires an ugly URL like /fullcalendar?year=2011&month=4&day=29.

But hey, it's a start!

geerlingguy’s picture

Not bad... at least it's a readable URL.

tim.plunkett’s picture

StatusFileSize
new2.33 KB

Adding checks for is_numeric(). Better safe than sorry.

tim.plunkett’s picture

StatusFileSize
new2.49 KB

The patch in #9 breaks multiple views on the same page, since it accidentally re-used the static variable.

I think this patch should go in as is, it's functionality is useful even without the pager (#971034: Add Option To Load Events Via Ajax).
I could see wanting to use deep linking without ajax.

geerlingguy’s picture

Status: Needs review » Reviewed & tested by the community

I can confirm that this basic functionality is working fine; of course, having to type in a query string like that is a bit cumbersome.

aspilicious’s picture

Lets commit this

tim.plunkett’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.