CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • A forward-compatible way to do recurring events/series?
Pages: [1]

Author Topic: A forward-compatible way to do recurring events/series?  (Read 442 times)

jakecivi

  • I post frequently
  • ***
  • Posts: 140
  • Karma: 0
A forward-compatible way to do recurring events/series?
October 17, 2014, 03:21:29 pm
Does anyone have a recommendation for a stopgap measure to enable grouping events in a series (a multi-session event) as will eventually be implemented by this: http://wiki.civicrm.org/confluence/pages/viewpage.action?pageId=48398441 ?

I'm trying to find something that's not extremely involved but will also be compatible with or easily migratable to whatever comes out of that project. Students will be able to attend (and register for) the entire series, or just one class at a time (and don't have to come to all the classes).

Or.. perhaps whatever I come up with could help that project in some way?

Thanks.
« Last Edit: October 20, 2014, 07:49:36 am by jakecivi »

Jeremy Proffitt

  • I post occasionally
  • **
  • Posts: 63
  • Karma: 2
    • Mobius New Media
  • CiviCRM version: 4.4.x
  • CMS version: Joomla 2.5.x/3.x / D7
  • MySQL version: 5.1.x
  • PHP version: 5.3.10+, 5.4.x
Re: A forward-compatible way to do recurring events/series?
November 18, 2014, 07:56:50 am
There is an MIH (Make it Happen) project underway for this, with major progress made at the 2014 London Sprint. See https://civicrm.org/blogs/deepaksrivastava/core-recursion-recurring-events-engine for details.
Jeremy Proffitt
Mobius New Media
IRC: JP_EzoD

jakecivi

  • I post frequently
  • ***
  • Posts: 140
  • Karma: 0
Re: A forward-compatible way to do recurring events/series?
November 18, 2014, 08:01:18 am
Thanks. I'm just trying to get a sense of, for a partial solution in the mean time, if it makes sense to try and backport parts of it to 4.5, to just do something quick and separate with an event type and a custom field, or..?

jakecivi

  • I post frequently
  • ***
  • Posts: 140
  • Karma: 0
Re: A forward-compatible way to do recurring events/series?
November 18, 2014, 09:57:44 am
An update on this (from irc chat):

The event cart part of Civi would work nicely for this. 2 (2 1/2) modifications need to be made:

1) Add a page to specify a date rule/range and then have all the child events created automatically, copying description and such from parent.
  (optional: make it able to handle changes to existing event descriptions and schedules)
  1.5) Use an "Event Series" event type for the parents, and "Event Series Session" type for the sessions. This will make it easier to migrate later. Could be done via searching for events with null parent_event_id
2) Add a hook to remove the step where a person would select the the conference "slots," because there will only be one slot and one class per slot.
  2.5) Remove the second conference slot option.

Anyone know if this successfully handles showing of event participants for the children event as well as the parent (assuming series participants would show as no-fee participants of the child events, while those who signed up for individual sessions would show up as paying participants)? Assuming so, but want to note that and make sure it doesn't require anything else in order to make sense to people using the admin pages.

totten

  • Administrator
  • Ask me questions
  • *****
  • Posts: 695
  • Karma: 64
Re: A forward-compatible way to do recurring events/series?
November 24, 2014, 01:26:01 pm
FWIW: 4.6 aims to be a short release-cycle (with alpha1 aiming for mid/late Dec 2014 and final aiming for Q1 2015), so that may influence how you much time you want to spend on backporting. If I were in your shoes, I'd consider stress-testing 4.6 instead of backporting -- backporting a major feature can be quite difficult in terms of up-front work and on-going maintenance, but stress-testing can be a more finite project and helps other users.

If you're curious about 4.6, there's a demo site and nightly tarballs for trying the latest code:

http://dmaster.demo.civicrm.org/
http://dist.civicrm.org/by-date/latest/master/

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • A forward-compatible way to do recurring events/series?

This forum was archived on 2017-11-26.