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) »
  • Particpant Listing on events
Pages: [1]

Author Topic: Particpant Listing on events  (Read 1445 times)

CousiMo

  • I post frequently
  • ***
  • Posts: 126
  • Karma: 2
Particpant Listing on events
April 30, 2008, 07:53:55 am
currently the choices are "name only" or name and email, is there away to have more option added, such as include phone, or other custom fields.?

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: Particpant Listing on events
April 30, 2008, 12:42:20 pm

In general we expose all options that are available.

So the answer is you there are no additional hidden options. However you can add code and extend those values as needed. We've built it so folks can extend and customize it as needed by adding the relevant PHP files and extending the option table values

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

FredJones

  • Guest
Re: Particpant Listing on events
May 27, 2008, 12:20:46 pm
I am also going to do this now.

Quote from: Donald Lobo on April 30, 2008, 12:42:20 pm
We've built it so folks can extend and customize it as needed by adding the relevant PHP files and extending the option table values

Seems to me one would need to add PHP code in CRM\Event\Page\ParticipantListing.php to draw more fields from the DB and then edit the code in templates\CRM\Event\Page\ParticipantListing.tpl to display that code.

I clarify here because you wrote about adding files whereas I think you meant EDITING files. Please correct me if I am wrong.

Also I don't understand what you meant about "extending option table values." Can you explain a bit what that means? If indeed it's relevant here. :)

Thank you!

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: Particpant Listing on events
May 27, 2008, 01:05:15 pm

Yes, you will need to edit the code in 2.0. We had planned to make it extensible similar to custom search but that did not happen. I've filed an issue to enable this in 2.2: http://issues.civicrm.org/jira/browse/CRM-3159

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

FredJones

  • Guest
Re: Particpant Listing on events
May 28, 2008, 04:48:03 am
Thanks. I got it working now! :)

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Particpant Listing on events

This forum was archived on 2017-11-26.