channelAustin would like to use the Multiday Event module. This is a great module that MNN helped to develop and it will enable us (and others) to better display the class schedule on our site when we have classes that exist over several days.

The problem is that right now we already have classes in our schedule far out into the future. So in order to implement this module as it currently stands we would have to manually re-create a number classes, which is especially difficult considering that for some of them there are already registrants.

It would be very helpful if this module could be modified to include a feature that allows for the ability to link to and incorporate the existing class events already scheduled via CiviCRM.

Comments

kreynen’s picture

I added a permission to 'administer civicrm multiday event' that shows the Title and CiviCRM ID field...

http://drupalcode.org/project/civicrm_multiday_event.git/commit/5635ddd

If you add the ID of an existing event, CiviCRM Multiday Event will not create a new event. It will adjust the title and times based on the Drupal node.

The title of the Drupal node is still updated with the template and dates. I'd like to allow the admin to also override that, but this will allow anyone with existing CviicRM events to start using the module without creating duplicate events.

kreynen’s picture

Status: Active » Needs review
kreynen’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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

syntheticMedia’s picture

Hello, this does not seem to work for us. The documentation suggests that on node/add/civicrm-multiday-event to enter the civicrm event id, however there is no field to do so. I am logged in as user 1 and have tried both dev and beta releases. Please advise, thanks!

Also- FYI there are no permissions appearing for multiday event on admin/people/permissions

syntheticMedia’s picture

Status: Closed (fixed) » Needs review
kreynen’s picture

Status: Needs review » Needs work

There were module specific permissions in earlier versions, but I tried to simplify things by using the matching CiviCRM permissions.

http://drupalcode.org/project/civicrm_multiday_event.git/blob/refs/heads...

But that's only part of the issue. There is also a logic issue where the option to edit the civicrm id is linked to permission to override or not override the title...

http://drupalcode.org/project/civicrm_multiday_event.git/blob/refs/heads...

Give me a few minutes to commit a fix.

kreynen’s picture

Status: Needs work » Needs review

I changed the logic and the title of the config option from Allow Title Overrides -> Allow Custom Titles. I updated the description to try to make it clearer how this works...

If this is checked, users with the edit all events permission can add a title or leave it blank. Blank titles will be autopopulated with [event type] - [startdate] to [enddate] pattern. This allows overriding titles with a custom title. If unchecked, the title field will be hidden and it will always be updated to the patern. The date pattern can be customized in the Date and Time settings. Custom titles will NOT be updated when altering dates using Full Calendar.

http://drupalcode.org/project/civicrm_multiday_event.git/commitdiff/1124...