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) »
  • Participant profile editing from Drupal
Pages: [1]

Author Topic: Participant profile editing from Drupal  (Read 847 times)

TravelingPharaoh

  • I post occasionally
  • **
  • Posts: 39
  • Karma: 3
    • Traveling journey of a developer
  • CiviCRM version: 4.1.2
  • CMS version: Drupal 7
Participant profile editing from Drupal
November 18, 2009, 09:18:13 am
I have a participant profile that I need the participants to fill after the Registration.  The participants may not have the information required for the profile at the time of registration, but they will have a Drupal user and access to contact profiles.  Is there a way that a CMS user to change  their participant profile for all registered events without having complete access to CiviCRM ?

« Last Edit: November 19, 2009, 10:32:28 am by TravelingPharaoh »

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: Participant profile editing from Drupal
November 18, 2009, 10:09:54 am

unfortunately not :(

the easiest/quickest fix for this is to:

1. create a profile with only contact/individual info

2. expose the profile so auth users can edit it (with minimal access to civicrm)

3. use the buildForm hook and customized templates to add ALL your participant fields

4. use the postProcess hook to modify the db based on user input

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

TravelingPharaoh

  • I post occasionally
  • **
  • Posts: 39
  • Karma: 3
    • Traveling journey of a developer
  • CiviCRM version: 4.1.2
  • CMS version: Drupal 7
Re: Participant profile editing from Drupal
November 18, 2009, 09:45:43 pm
I will go the otherway.  I will use drupal's forms to edit the custom table.  I think its less coding than the template stuff.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Participant profile editing from Drupal

This forum was archived on 2017-11-26.