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) »
  • Max fields in profile on batch update
Pages: [1]

Author Topic: Max fields in profile on batch update  (Read 1397 times)

civi5

  • I post occasionally
  • **
  • Posts: 39
  • Karma: 3
  • CiviCRM version: 4.1
  • CMS version: Drupal 7
  • MySQL version: MySQL 5
  • PHP version: 5.3.6
Max fields in profile on batch update
January 14, 2013, 10:35:25 am
I am setting up a custom profile and I can only display 9 fields in the profile when using it for batch update.  I can add as many fields as I want to the profile and they all show up in preview.  When I use it for batch update via profile only the first 9 fields show up.  if I change the order then I can control which fields are display but its still only the first 9.  I also tried this on the demo site and it did the same thing.  Is there a setting somewhere that controls the max number of fields that show up on a batch update profile for contributions?  I did reset caches and all. I also tried with different themes but in each case the there is only HTML generated for the first 9 fields in the profile.

Any pointers?

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: Max fields in profile on batch update
January 14, 2013, 12:41:54 pm

This is currently hard coded and not configurable

You'll need to take a look at the code and increase the number:

CRM/Contact/Form/Task/Batch.php

ideally you should make it into a configurable setting tweakable via the UI with a default of 9

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

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: Max fields in profile on batch update
April 16, 2013, 04:33:08 pm
FYI everyone, there is a similar '9' hardcoded for Contributions.

CRM/Contribute/Form/Task/Batch.php
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) »
  • Max fields in profile on batch update

This forum was archived on 2017-11-26.