Use AJAX updates for calendar (view) block

markfoodyburton - June 25, 2007 - 13:56
Project:Calendar
Version:6.x-2.0-rc4
Component:User interface
Category:feature request
Priority:normal
Assigned:Unassigned
Status:duplicate
Description

Please see http://drupal.org/node/43272 for a description of the problem and solution. All I've done is hacked the same solution into the calendar module.

Attached you will find a tar ball with a version of the javascript code for the calendar module and a patch to be run against the calendar HEAD May 23, 2007

It should unpack straight into your calendar module directory, and then you can run patch -p2 < calendar.patch

Cheers

Mark.

AttachmentSize
calendar-ajax-patch.tar_.gz1.86 KB

#1

KarenS - October 10, 2007 - 11:31
Status:needs review» needs work

Wouldn't mind adding this functionality in, but there have been LOTS of changes to this module so I'm sure whatever you did won't apply any more. Plus you aren't really supposed to upload zipped files to this site. If you, or anyone else, is interested in rolling another patch to do this as a regular patch file, I'd be glad to look at it.

#2

moshe weitzman - March 16, 2008 - 15:13

An excellent example of an ajax calendar within a block is at http://sites.google.com/a/googleuniversity.org/ski-club/Home. Hope someone can provide a patch for this module that behaves similarly when changing month/week/day.

#3

KarenS - April 29, 2008 - 20:36
Status:needs work» fixed

One thing needed for this to work was to re-implement the 'mini' url, which I had taken out by request but later realized was needed for both this and getting the calendar block working in Panels. Once I added that back in, I was able to get this working in the 5.2 version of Calendar. I also added it to the D6 version code in HEAD, but I imagine it will need some tweaking to work right in D6.

It's only taken, oh, 10 months or so to respond to this. Sorry for the delay, but thanks for the patch.

@Moshe, this gets the navigation of the mini calendar in a block working right. There is no week, year, or day option there, so you may be looking for something more and you are free to open another issue for that.

#4

Anonymous (not verified) - May 13, 2008 - 20:42
Status:fixed» closed

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

#5

EgonO - October 20, 2008 - 21:16
Version:7.x-1.x-dev» 5.x-2.3

Is this already in calendar 5.x-2.3? Can't find it...

#6

EgonO - October 21, 2008 - 01:35
Status:closed» active

#7

Alex72RM - November 14, 2008 - 13:40

It would be nice if a patch was produced for the latest version of calendar (5.x branch).

Alessandro

#8

anthrocreative - November 14, 2008 - 20:13

Does this work for D6? The feature is there, and I've been attempting to get Calendar to do something with the "Use AJAX" setting. I'm a little fuzzy on it because it is there, and in the Views preview the calendar is always AJAXified (maybe Views is doing this automatically?) but when I actually view the page or the block it's never AJAXified, seemingly regardless of what view option I turn on AJAX for (calendar page, block view, month view, default, etc).

If it doesn't work, I'd be happy to attempt a patch, possibly based on the one above. But if it's supposed to work and I'm doing something wrong, then I'd love to know that instead.

Does anyone have pointers on how it can be made to work? Or an idea of the current state of AJAXiness in the module?

Thanks!

#9

anthrocreative - November 14, 2008 - 20:21
Version:5.x-2.3» 6.x-2.0-rc4

Updating to match the version I'm using.

#10

dixon_ - April 19, 2009 - 11:19
Status:active» duplicate

Cleaning up the issue queue...

See this issue instead #339279: AJAX navigation in month view

 
 

Drupal is a registered trademark of Dries Buytaert.