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) »
  • Odd screen display with many participant roles
Pages: [1]

Author Topic: Odd screen display with many participant roles  (Read 1931 times)

twowheeler

  • I post occasionally
  • **
  • Posts: 115
  • Karma: 11
    • Harrisburg Christian Performing Arts Center
  • CiviCRM version: 4.3.4
  • CMS version: Drupal 7.22
  • MySQL version: 5.1
  • PHP version: 5.3
Odd screen display with many participant roles
August 28, 2007, 08:20:33 pm
Maybe I am stretching things a bit, but I decided to use lots of detail in the participant roles under CiviEvent.  I have 32 roles defined which enabled me to get rid of a lot of custom fields.  However in the find participant screen, civicrm wants to display all 32 in one row that scrolls way, way out to the right.  It also moves the end date box, the search buttons and event type drop-down box way out to the right as well.  In this situation, the event name drop down box will not open so it is pretty useless.  Is 32 just too many?  What is the maximum?  It would be nice if the list wrapped around so it stays on the screen.

I confirmed this on the demo site (with 16 options), that the screen display is bad.  However the drop down box works there.  See: http://demo.civicrm.org/drupal/civicrm/event/search/basic?reset=1

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: Odd screen display with many participant roles
August 29, 2007, 01:04:20 am
I think you are streching things a wee bit here :)

can u check demo now, i added a simple fix for that

You can make this change to your code base: CRM/Event/BAO/Query.php (line 432 approx) aand change it to:

Code: [Select]
        $form->addGroup( $role, 'participant_role_id', ts('Participant Role'),
                         array( '&nbsp;', '&nbsp;', '&nbsp;', '<br/>' ) );

This fix will be part of the next 1.8 revision release

lobo
« Last Edit: August 29, 2007, 01:07:41 am by Donald 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

Michał Mach

  • Ask me questions
  • ****
  • Posts: 748
  • Karma: 59
    • CiviCRM site
  • CiviCRM version: latest
  • CMS version: Drupal and Joomla latest
  • MySQL version: numerous
  • PHP version: 5.3 and 5.2
Re: Odd screen display with many participant roles
August 29, 2007, 02:02:02 am
And to add to this, in CiviCRM 2.0 participant role and participant status selectors has been replaced with Ajax element, which makes it much more usable when having many items in there.

Thx,
m
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

My absolute favourite: Wordpress Integration!.

Donate Now!

twowheeler

  • I post occasionally
  • **
  • Posts: 115
  • Karma: 11
    • Harrisburg Christian Performing Arts Center
  • CiviCRM version: 4.3.4
  • CMS version: Drupal 7.22
  • MySQL version: 5.1
  • PHP version: 5.3
Re: Odd screen display with many participant roles
August 29, 2007, 03:18:10 am
Thank you.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Odd screen display with many participant roles

This forum was archived on 2017-11-26.