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 CiviMember (Moderator: Deepak Srivastava) »
  • Contribution custom fields missing from Membership add/renew forms
Pages: [1]

Author Topic: Contribution custom fields missing from Membership add/renew forms  (Read 920 times)

adixon

  • I post frequently
  • ***
  • Posts: 314
  • Karma: 19
    • Blackfly Solutions
Contribution custom fields missing from Membership add/renew forms
May 16, 2014, 12:50:54 pm
When renew or create a membership using the adminstration/backend form, the contribution fields that get shown don't include the custom fields I have added to my contributions. Is that a known bug, or an intended feature?

Anyone have an idea where/how to fix it?

I think it might be buried in: CRM/Member/Form/Membership.php and CRM/Member/Form/MembershipRenewal.php

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: Contribution custom fields missing from Membership add/renew forms
May 17, 2014, 09:40:14 am
The 'back end' contribution form is hard coded list of fields (not a profile) and to my knowledge has never included custom fields associated with contributions.

As a workaround organizations I work with use batch entry for memberships and contributions which can have custom fields as part of a profile.

Otherwise you could customize the code but I'm not sure of the files, sorry.
Try CiviTeacher: the online video tutorial CiviCRM learning library.

adixon

  • I post frequently
  • ***
  • Posts: 314
  • Karma: 19
    • Blackfly Solutions
Re: Contribution custom fields missing from Membership add/renew forms
May 20, 2014, 06:19:44 am
Batch entry sounds promising - but would that allow the contribution to update the membership, or would those two bits have to be done separately?


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: Contribution custom fields missing from Membership add/renew forms
May 21, 2014, 10:41:48 am
I think so.  Why not give it a try and find out?   ;)
Try CiviTeacher: the online video tutorial CiviCRM learning library.

joanne

  • Administrator
  • Ask me questions
  • *****
  • Posts: 852
  • Karma: 83
  • CiviCRM version: 4.4.16
  • CMS version: Drupal 7
Re: Contribution custom fields missing from Membership add/renew forms
July 06, 2014, 10:58:47 pm
@adixon

How did you go with this?

Do the membership and  contribution need ot be done separately?

I want to include the BSB for cheques so that we can produce bank deposit listing through CiviCRM

adixon

  • I post frequently
  • ***
  • Posts: 314
  • Karma: 19
    • Blackfly Solutions
Re: Contribution custom fields missing from Membership add/renew forms
July 11, 2014, 05:34:02 am
I haven't made any progress on this issue.

joanne

  • Administrator
  • Ask me questions
  • *****
  • Posts: 852
  • Karma: 83
  • CiviCRM version: 4.4.16
  • CMS version: Drupal 7
Re: Contribution custom fields missing from Membership add/renew forms
July 11, 2014, 06:16:30 pm
I have tried using membership batch entry to do this and it doesn't work.

Although some of the fields in the reserved profile are obviously contribution fields (payment instrument, receive date etc) they are classified as membership fields on this profile.

If I try to add any other contribution fields I get an error message on saving about not being able to include non-membership fields.  This applies both to core contribution fields ( eg cheque number which in not included in the reserved profile in 4.4.6 but is on both the demo and sandbox sites) and custom contribution fields.

I was able to include the cheque number field in the profile by inserting it directly into the DB and specifying it as a "membership" field just as had been done for the other core contribution fields in the profile.

However, that doesn't  work for custom contribution fields.

For now we are stuck with processing the membership and then editing the contribution to include the cheque drawer and BSB number.

« Last Edit: July 11, 2014, 06:31:16 pm by joanne »

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Contribution custom fields missing from Membership add/renew forms
July 11, 2014, 07:28:01 pm
joanne - give us a call to show you something we built for another client that is a drupal form that allows a whole bunch of things for multiple users to be done at once. it won't fit the bill exactly but good that you know something like it can be done in case it is worth looking at what it would take to tune to your requirements.
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • Contribution custom fields missing from Membership add/renew forms

This forum was archived on 2017-11-26.