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 CiviContribute (Moderator: Donald Lobo) »
  • Adding a custom field to Personal Campaign Pages
Pages: [1]

Author Topic: Adding a custom field to Personal Campaign Pages  (Read 480 times)

jsheffers

  • I’m new here
  • *
  • Posts: 3
  • Karma: 0
  • CiviCRM version: 4.4.1
  • CMS version: Drupal 7
  • MySQL version: 5.5.29
  • PHP version: 5.3
Adding a custom field to Personal Campaign Pages
November 29, 2013, 03:03:19 pm
I need to add a custom field to the Personal Campaign Page form.  It needs to be accessible by Views in Drupal.  The field will be called sponsor and it will be attached to each PCP.  Any ideas on how to add this field?

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: Adding a custom field to Personal Campaign Pages
November 29, 2013, 03:43:11 pm

since PCP uses profiles, cant u add a custom field extending the contact and add this custom field to the profile?

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

jsheffers

  • I’m new here
  • *
  • Posts: 3
  • Karma: 0
  • CiviCRM version: 4.4.1
  • CMS version: Drupal 7
  • MySQL version: 5.5.29
  • PHP version: 5.3
Re: Adding a custom field to Personal Campaign Pages
November 30, 2013, 11:12:07 am
I could do this however, what if a user want's to create multiple PCP's and the sponsor is different for each PCP?

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: Adding a custom field to Personal Campaign Pages
November 30, 2013, 04:43:24 pm

i suspect u'll need to extend either core civicrm to add custom groups to pcp and/or do it via an extension with some custom coding

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Adding a custom field to Personal Campaign Pages

This forum was archived on 2017-11-26.