Needs review
Project:
CiviNode And Civinode CCK
Version:
5.x-1.2
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
23 Nov 2007 at 03:46 UTC
Updated:
25 Jan 2009 at 20:16 UTC
Jump to comment: Most recent file
Comments
Comment #1
Torenware commentedNot yet. Mostly, I'm looking for a customer who will fund the work. I don't think it would be too hard, since the CiviCRM APIs for events are probably getting pretty stable round now.
Comment #2
MacRonin commentedSubscribing since this is something I would also be interested in. Especially if I can expand the node with additional CCK fields when using it in Drupal. I haven't dug into CiviNode yet, but the comments made it sound like that might be possible for contact nodes currently.
But either way, thanks for the work so far.
Comment #3
westwesterson commentedThis would be great. I am also subscribing.
Comment #4
cpelham commentedHow much money would it take to fund the development of this feature? I am asking here, if you don't mind, because I am thinking I will not be able to pay for it by myself, but perhaps those of us interested could each contribute? I've always wondered why each Drupal module does not have an organized contribution system like that.
Comment #5
sonicthoughts commentedI'm subscribing also - civinode support for civi-events would be a GREAT feature!
Comment #6
sonicthoughts commentedCan anyone think of a work-around?
Comment #7
DaveNotik commentedSubscribing. Who can build this?
Provide an estimate, Digital202 will consider funding something reasonable.
Comment #8
sonicthoughts commentedStill searching for a way to turn civievent into a custom node type so it can be displayed as a view. Thought perhaps there was a way to use ICal and at least get the title and time.
I was wondering if anyone had either:
1. created an estimate / spec
2. found a workaround
3. secretly built this and will surprise me :)
S.
Comment #9
notarealperson commentedSubscribing. Has this moved along at all? Seems like a lot of interest.
Comment #10
sonicthoughts commentedWe now have 6 people interested in this feature - will people pitch in for it? I'm at a non-profit but we could afford a $150 bounty for this. any other takers?
Comment #11
notarealperson commentedI will have to check with my boss for an exact amount, but I know we can chip in. Assume at least that much, $150 from me.
Comment #12
cpelham commentedI would put up $150.
With CCK on the path to becoming fundamental to Drupal 6 and beyond, I wonder what kind of node CiviEvents should be made into. Into Event module nodes? Or into CCK nodes? or what? Will Event module likely be deprecated in favor of CCK?
Comment #13
jgerrish commentedI've attached a preliminary version of a module to create Drupal Event nodes when CiviEvent events are created. In addition, it provides a single CCK field for including CiviEvent events in your normal Drupal content.
The module works with Drupal 5.x and CiviCRM 2.x
There are still some problems with it:
- Timezones are wonky
- The CiviCRM event hook is broken, so I can't tell whether an event is being created or edited
I made this a separate module because I wasn't sure of the status of the CiviNode module. Is it going to be updated to work for CiviCRM 2.0? I'd love for this to get integrated into CiviNode.
Comment #14
leoklein commentedSubscribing (how I wish Civicrm were better integrated into Drupal).
Comment #15
joachim commentedI've gone for the opposite approach to jgerrish: I'm working on a module that creates a CiviEvent when you create a Drupal node of a certain type.
Will post here when it's ready...
Comment #16
Adam.A commentedHi jgerrish,
I am having trouble implementing your module, it seems like the attachment civieventnode-5.x-1.x.tar_.gz contains only the file civieventnode-5.x-1.x.tar_.gz which consists of one page of code.
dose this module require the CIVI node module as well?
-Adam
Comment #17
joachim commentedHere's my module.
You make the nodes in Drupal and the Civi event is created for you. It implements a vocabulary for the different event types from Civi.
Comment #18
rgsThis module would be a real lifesaver but I'm not able to get it to work.
Keep getting error messages:
Missing require fields ( title, event type id,start date)
3 event matching input params
Have created the above fields in content, live event but still nothing. Have installed date module. Am at a loss. Any help would be much appreciated. Thanks.
Comment #19
joachim commentedDoes it give you a line number for that error?
Comment #20
greenbeans commentedjoachim, what versions of Drupal and CiviCRM does your module work with?
Comment #21
joachim commentedDrupal 5.x and the corresponding CiviCRM.
Comment #22
greenbeans commentedI've run joachim's module through Deadwood, and here are the results. Note that this will NOT work out of the box, as there are several TODOs that need to be fixed first, including a few mistakes by Deadwood that I've commented as TODOs but not fixed yet. I also have no idea whether this will work with CiviCRM 2.1, which is my current version. I'll begin ironing out the kinks over the next few days.
I'm still a little new to CiviCRM, and have never migrated a Drupal module before, so any tips would be much appreciated
Comment #23
greenbeans commentedOK, here's an updated version. It works for adding and editing events in Drupal 6.8 / CiviCRM 2.1.4, and I tweaked it a bit to avoid overwriting any changes made to the event through the CiviCRM admin interface. Event deletion hasn't been implemented. And you will have to add a CCK Date field to the "Live Event" content type to handle the event start date. If you call this field anything other than field_event_date, you must update the define() call at the top of the module to indicate the correct field name.
Also included is an Event.tpl.php designed to prevent the user from making changes to the event through CiviCRM that wouldn't get propagated to the Drupal Event node. This requires adding the following to your CSS somewhere:
The file should be placed in {path-to-civicrm-custom-templates}/CRM/Event/Form/ManageEvent