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 Drupal Modules (Moderator: Donald Lobo) »
  • Exposing CiviEvent Max and Current number of Participants to Views 2
Pages: [1]

Author Topic: Exposing CiviEvent Max and Current number of Participants to Views 2  (Read 702 times)

LandRover

  • Guest
Exposing CiviEvent Max and Current number of Participants to Views 2
December 28, 2010, 09:48:04 am
I am using Views 2 to make a custom page view of some civievents.  I see that the max participants field and current participants registered are not available in the Views 2 fields list.

If I wanted to code stuff to make those fields available to Views 2, how would I get started even?  Can anyone give me pointers of where to be digging to explore adding that functionality?

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: Exposing CiviEvent Max and Current number of Participants to Views 2
December 28, 2010, 02:52:20 pm

check:

drupal/modules/views/civicrm.views.inc

search for EVENT LINK TEXT

and potentially add it after that. If you do so, please submit your changes as a patch, so we can incorporate it in the code for future views2 users

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Drupal Modules (Moderator: Donald Lobo) »
  • Exposing CiviEvent Max and Current number of Participants to Views 2

This forum was archived on 2017-11-26.