Use case
It'd be useful to be able to build calendar type views with base tables other than "node": user-based, comment-based, or custom-data-type based calendar views.

I'm working on a project that uses a custom data table instead of the node system but needs to display that custom data in a calendar view.

To get it working, a few small changes are required in both the Calandar and Date modules.

Patch
Attached is a starter patch for review. It enables user-based and comment-based calendar views on the Calendar module side of things.

To get this working, you also need to apply the following Date module patch:

http://drupal.org/node/385880

Comments

karens’s picture

I'd like to get other tables working, too, but don't want to add it in until I quit getting bug reports on the current code.

I'm happy to have someone working on a fix for this, I just won't commit anything right away.

setvik’s picture

StatusFileSize
new1.92 KB

rerolled patch against 6.x-2.0

Ed Ropple’s picture

I understand that you need to get the current code bugproofed before committing anything new, but I'd just like to register that this functionality would be absolutely huge and very useful, especially to anyone using CiviCRM. Can't use CiviEvent dates with Calendar at present. :-/

Thanks,
Ed

karens’s picture

Status: Needs review » Fixed

OK, added this in and did some testing to be sure it would work. This is great! Thanks!

Status: Fixed » Closed (fixed)

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