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 (Moderator: Dave Greenberg) »
  • Front end display of number of members
Pages: [1]

Author Topic: Front end display of number of members  (Read 784 times)

JulesM

  • I post occasionally
  • **
  • Posts: 51
  • Karma: 0
    • Michigan Rising
  • CiviCRM version: 4.1.3
  • CMS version: Joomla 2.5.6
  • MySQL version: 5.0.95-community
  • PHP version: 5.3.8
Front end display of number of members
January 18, 2012, 03:45:27 pm
Hi,

I need some advice on how to achieve what sounds pretty simple.

I have a sign-up form for volunteers on the front end and that's working pretty well. Subscribers are being added to the appropriate group and all is well. But I need to display on the front end, perhaps like a banner-type deal, how many subscribers there are in this one specific group. Nothing else - no search, no finding members, just the number of ones that have signed up.

No idea where to start so, any advice, help is highly appreciated.

Thank you.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Front end display of number of members
January 20, 2012, 11:57:36 am
You should be able to do this using the API. If you need it included in an existing CiviCRM page or form (like a profile) - you could customize the template and add logic using crmAPI. Otherwise, you'll probably add some PHP code to call the api in a block or ??

http://book.civicrm.org/developer/techniques/api

If you search on CiviCRM + crmAPI I suspect you'll find some posts w/ examples as well.
Protect your investment in CiviCRM by  becoming a Member!

JulesM

  • I post occasionally
  • **
  • Posts: 51
  • Karma: 0
    • Michigan Rising
  • CiviCRM version: 4.1.3
  • CMS version: Joomla 2.5.6
  • MySQL version: 5.0.95-community
  • PHP version: 5.3.8
Re: Front end display of number of members
January 23, 2012, 09:40:40 am
Thank you Dave. I'll check that out.

MulderDSM

  • I post occasionally
  • **
  • Posts: 100
  • Karma: 0
  • CiviCRM version: 4.6.0
  • CMS version: Joomla 3.4.1
Re: Front end display of number of members
February 20, 2012, 10:11:44 am
Quote from: JulesM on January 23, 2012, 09:40:40 am
Thank you Dave. I'll check that out.

If you figured out how to do this, can you share it for others to use.

Thanks!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • Front end display of number of members

This forum was archived on 2017-11-26.