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) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Simplified Event registration and creation?
Pages: [1] 2

Author Topic: Simplified Event registration and creation?  (Read 4610 times)

lentilsoup

  • I post frequently
  • ***
  • Posts: 134
  • Karma: 6
Simplified Event registration and creation?
December 19, 2008, 02:49:50 pm
Hi folks --

Is there any way to seriously simplify event creation and registration so that a less-than-computer-savvy nonprofit administrator can create events and registration is less overwhelming?

I'm looking at alternatively building a custom module that would basically use the API to create an event using a simplified form for the admin and some defaults set by myself -- but obviously that's a heck of a lot of work (and I'm finding the API documentation doesn't have a lot of depth -- e.g. what all the available parameters in a given call are, and what they correlate to).

Any suggestions?

Also, A) is there any way to add in-depth descriptions to individual registration items (e.g. what's included in different sponsorship levels)?  And B) is there a way to prompt the user for a donation in addition to / instead of a registration?

Thanks!

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Simplified Event registration and creation?
December 19, 2008, 03:09:17 pm
Quote from: lentilsoup on December 19, 2008, 02:49:50 pm
Is there any way to seriously simplify event creation and registration so that a less-than-computer-savvy nonprofit administrator can create events and registration is less overwhelming?

You might want to get a lot more specific as to how/what you want to simplify etc. Screen shots do help a lot to explain your thoughts / thinking

Quote from: lentilsoup on December 19, 2008, 02:49:50 pm
I'm looking at alternatively building a custom module that would basically use the API to create an event using a simplified form for the admin and some defaults set by myself -- but obviously that's a heck of a lot of work (and I'm finding the API documentation doesn't have a lot of depth -- e.g. what all the available parameters in a given call are, and what they correlate to).

Any suggestions?

The event creation api is probably quite limited. You might want to write to the DB directly

Quote from: lentilsoup on December 19, 2008, 02:49:50 pm
Also, A) is there any way to add in-depth descriptions to individual registration items (e.g. what's included in different sponsorship levels)?  And B) is there a way to prompt the user for a donation in addition to / instead of a registration?

A. yes. modify the tpl for the specific event and add your own custom in-depth description. Check: http://wiki.civicrm.org/confluence/display/CRMDOC/Customize+Built-in,+Profile,+Contribution+and+Event+Registration+Screens

B. No, in your customized tpl you can tweak the wording and call it a donation rather than Event Fee(s)

lobo

A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

lentilsoup

  • I post frequently
  • ***
  • Posts: 134
  • Karma: 6
Re: Simplified Event registration and creation?
December 19, 2008, 03:49:32 pm
Hi Lobo --

Quote from: Donald Lobo on December 19, 2008, 03:09:17 pm
You might want to get a lot more specific as to how/what you want to simplify etc. Screen shots do help a lot to explain your thoughts / thinking
Good point.  I was just generally wondering whether there are any configuration options already included in CiviCRM that would allow one to remove fields from the create/edit event wizard.  I've looked a bit already -- I take it the answer is no?

Quote
The event creation api is probably quite limited. You might want to write to the DB directly

That's disappointing.  And somehow I suspect the database fields and the various queries that need to be made to add an event or to register users are even more sparsely documented if at all.  Is there somewhere one might look for such documentation?

Quote
A. yes. modify the tpl for the specific event and add your own custom in-depth description. Check: http://wiki.civicrm.org/confluence/display/CRMDOC/Customize+Built-in,+Profile,+Contribution+and+Event+Registration+Screens

OK.... that's clearly not something I can ask a staff member to do who's only nominally computer literate, though.

Quote
B. No, in your customized tpl you can tweak the wording and call it a donation rather than Event Fee(s)

Sorry, I meant in addition to a registration fee -- i.e. the user is already buying N number of tickets at $50 apiece; I'd like to offer them the opportunity to also make a donation in the amount of their choice, as long as they're checking out.

Additionally, I'd like users who can't attend to be able to make a donation that is associated with and included in the revenue calculations for the event, if that makes any sense.

Thanks so much for your help!

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Simplified Event registration and creation?
December 19, 2008, 04:41:52 pm

1. You can eliminate fields that are optional by customizing the templates for the manage event fields. For required fields you can set them to default values by using the html form element 'hidden'

2. The DB ERD is here: http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+ERD+2.0. There are some comments inline in the DB schema. Yes, it is sparsely documented, but you can help improve it by adding more documentation to avoid disappointing future folks new to CiviCRM. If you need any clarification or explanation feel free to ask on the forums or ping us on IRC (http://embed.mibbit.com/?server=irc.freenode.net&channel=%23civicrm&forcePrompt=true). Note coverage will be sparse across both the forums and IRC for the next couple of weeks

3. Editing a tpl file is not much harder than editing an html file. If they are conversant with html they should be able to edit the tpl file

4. Adding a donation to an event registration is not supported (including a donation without registration) has come up a few times in the recent past. This would make an excellent community contribution also :)

lobo



A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

lentilsoup

  • I post frequently
  • ***
  • Posts: 134
  • Karma: 6
Re: Simplified Event registration and creation?
December 19, 2008, 04:50:04 pm
Thank you!  I'll look into the links you provided. 

Quote
3. Editing a tpl file is not much harder than editing an html file. If they are conversant with html they should be able to edit the tpl file

Unfortunately, we're talking about people who think Internet Explorer is "the internet" and can barely attach a file to an email.  The two things they need to be able todo on their own on this site are add news items (easy to create a straightforward "how-to") and create new events with custom registration options.  Looks like I'll be doing some development. 

Quote
4. Adding a donation to an event registration is not supported (including a donation without registration) has come up a few times in the recent past. This would make an excellent community contribution also :)

If we have enough time at the end of the project to actually implement this feature, I'll certainly contribute the work back.

Thanks again for your help!

sawjer

  • Guest
Re: Simplified Event registration and creation?
December 19, 2008, 11:47:36 pm
Hallo

I am in a similar situation, perhaps we can pool our efforts

lentilsoup

  • I post frequently
  • ***
  • Posts: 134
  • Karma: 6
Re: Simplified Event registration and creation?
December 20, 2008, 07:32:13 am
That might make sense.  What do you have in mind?

sawjer

  • Guest
Re: Simplified Event registration and creation?
December 21, 2008, 11:20:37 pm
Writing aplugins that do simple registrations like register for a meeting or an event, without all the complicated options. Emphasis would be on simple user Interface at the cost of more limited options.

lentilsoup

  • I post frequently
  • ***
  • Posts: 134
  • Karma: 6
Re: Simplified Event registration and creation?
December 22, 2008, 09:52:53 am
I think that makes sense.

I'm also going to need to create a simplified event creation interface and a way to attach extra data to ticket types (I've got wireframes I can share, too).

Unfortunately, I have a 6 week deadline for all of this (plus a whole bunch of other development including a custom payment integration), and am not yet very familiar with CivicSpace at all, let alone the codebase.  Are you interested in moving very quickly on this? 

Alternatively, I'm considering trying to adapt a different Drupal module to accomplish what I need.

lentilsoup

  • I post frequently
  • ***
  • Posts: 134
  • Karma: 6
Re: Simplified Event registration and creation?
December 27, 2008, 02:57:40 pm
Just an update...

I'm using CiviCRM at this point.  The Events portion of the API is limited to say the least, and doesn't provide everything necessary to properly set up an event (and I haven't even gotten to registration yet).  I'm having trouble finding the necessary documentation to successfully navigate the codebase and am basically flying by the seat of my pants with raw SQL and the Drupal Devel module.   :-\

Given that (and my deadline), the work I'm doing is going to be essentially proof-of-concept: it does what my current client needs it to do and nothing more, with no configurability, and the code is disastrously sloppy. 

That said, if anyone else is interested in collaborating on this or using it as a springboard for something more generally useful in the future, please feel free to PM me.


Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Simplified Event registration and creation?
December 27, 2008, 04:00:58 pm

if u need any help with the ERD or code please feel freee to ping us on IRC. If you build a generalized API to create/setup events, please release your code, along with the documentation :)

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

lentilsoup

  • I post frequently
  • ***
  • Posts: 134
  • Karma: 6
Re: Simplified Event registration and creation?
December 28, 2008, 01:35:34 pm
Thanks.  When do people tend to be around on IRC?

Also, if I were to re-theme the event creation interface to simply hide some fields from the user, would it be possible to set default values for some of the hidden fields?  It's not clear to me from browsing the templates how one would go about doing so.

Thanks again!

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Simplified Event registration and creation?
December 28, 2008, 02:33:03 pm
If the hidden field defaults are "hard-coded" (i.e. the same for everyone) - you should be able to set them using the VALUE="xyz" attribute of the hidden field.
Protect your investment in CiviCRM by  becoming a Member!

lentilsoup

  • I post frequently
  • ***
  • Posts: 134
  • Karma: 6
Re: Simplified Event registration and creation?
December 28, 2008, 02:45:49 pm
Quote from: Dave Greenberg on December 28, 2008, 02:33:03 pm
If the hidden field defaults are "hard-coded" (i.e. the same for everyone) - you should be able to set them using the VALUE="xyz" attribute of the hidden field.
I understand the HTML, but the templates don't seem to expose the raw HTML of the form fields.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Simplified Event registration and creation?
December 28, 2008, 04:25:45 pm
Yup. You would be replacing the smarty-defined (quickform) field references with straight HTML hidden fields in your custom copy of the template. Caveat that I haven't tried this myself - but I'm pretty sure that once the form POSTs, if your replacement has the expected field name  - then the post process will use the value you've passed as if the user selected / entered it.
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1] 2
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Simplified Event registration and creation?

This forum was archived on 2017-11-26.