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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • List all users in a group
Pages: [1]

Author Topic: List all users in a group  (Read 554 times)

eddzzz

  • Guest
List all users in a group
August 14, 2010, 08:55:08 am
Hi,

I would like to list all the members of a group on a page in Drupal. So e.g. listing all members of the group "board" to show how is currently on the board. How can I do this?

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: List all users in a group
August 14, 2010, 02:33:17 pm
You could take a look at using Views for this purpose. You may need to filter on Primary Phone etc to avoid duplicate results
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: List all users in a group
August 14, 2010, 03:38:07 pm
You might want to create a profile, and limit it to the group.

http://en.flossmanuals.net/CiviCRM/CapturingExposing

or use the api from smarty if you want more control on the layout {crmAPI} (that's what we use everywhere in http://www.mepwatch.eu )

http://en.flossmanuals.net/CiviCRM/DevelopAPI
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

eddzzz

  • Guest
Re: List all users in a group
August 15, 2010, 01:13:06 am
Thanks! I used the profile to add groups to the contact page. Now I can make url's like http://[site]/civicrm/profile?reset=1&force=1&gid=1&group=3 to show all the users with group-id 3.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • List all users in a group

This forum was archived on 2017-11-26.