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 Profiles (Moderator: Dave Greenberg) »
  • More than one profile for contribution forms
Pages: [1]

Author Topic: More than one profile for contribution forms  (Read 1268 times)

cantsin

  • Guest
More than one profile for contribution forms
June 26, 2009, 11:52:44 pm
Hello all,

Apologies if this has been asked before, but I could not find any information on this.

My contribution forms have a lot of extra data associated with it. Stuff like extra honoree information and spousal information and areas to donate to. Currently only two profiles can be added for contribution pages (at the top and bottom of a page). I was wondering if there was a way to add more. Failing that, how hard would it be to hack more profiles in? I think adding a couple more profiles (top2/bottom2) would cover almost all of my needs. But this is hardly an elegant solution. Is multiple profiles a desirable feature for forms?

Or will just adding the standalone html code (sans post urls, etc) from various profiles work if I manually include them in the form html code? I think this is probably the quickest way to get something working.

But if I do decide to code in this feature, are there any pitfalls in the design I should be aware of?

Or is there a better way?

CiviTeacher.com

  • I live on this forum
  • *****
  • Posts: 1282
  • Karma: 118
    • CiviTeacher
  • CiviCRM version: 3.4 - 4.5
  • CMS version: Drupal 6&7, Wordpress
  • MySQL version: 5.1 - 5.5
  • PHP version: 5.2 - 5.4
Re: More than one profile for contribution forms
July 22, 2009, 09:28:49 am
I don't know of any plans to allow more than 2 profiles on the contribution page.  However, I have always been able to add the necessary fields (sometimes more than 30) into one of 2 profiles if the profiles are named creatively in a way that incorporates all the data they contain.  Also as ypu probably know a profile can contain data from many different custom data groups or core contact or individual data.  Also Organization fields are not allowable on form profiles, only Contact/Individual.

If you wish to include more fields, a possible way to get around the look of having only 2 profiles on the page is to change the CSS to hide the titles of each profile fieldset and then create a custom .tpl file containing your own headers that make more sense than the profile title.

I hope this helps.
Try CiviTeacher: the online video tutorial CiviCRM learning library.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: More than one profile for contribution forms
July 22, 2009, 02:25:15 pm
You can also add HTML formatting and text to the field's "Help" field - which can separate chunks of fields from each other (e.g. <hr>This next section ...<br /> )
Protect your investment in CiviCRM by  becoming a Member!

CiviTeacher.com

  • I live on this forum
  • *****
  • Posts: 1282
  • Karma: 118
    • CiviTeacher
  • CiviCRM version: 3.4 - 4.5
  • CMS version: Drupal 6&7, Wordpress
  • MySQL version: 5.1 - 5.5
  • PHP version: 5.2 - 5.4
Re: More than one profile for contribution forms
July 22, 2009, 09:26:49 pm
Great idea.
Try CiviTeacher: the online video tutorial CiviCRM learning library.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • More than one profile for contribution forms

This forum was archived on 2017-11-26.