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) »
  • Views contextual filter for CiviCRM contacts of an Organic Group
Pages: [1]

Author Topic: Views contextual filter for CiviCRM contacts of an Organic Group  (Read 874 times)

Yuri

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
  • CiviCRM version: 4.1
  • CMS version: 7
  • MySQL version: 5.1
  • PHP version: 5.1
Views contextual filter for CiviCRM contacts of an Organic Group
June 05, 2012, 04:39:04 pm
I am trying to get a views block of CiviCRM contacts in an Organi Group node display. 
Drupal OG and CiviCRM groups are synced.
I have a separate database for CiviCRM, and have changed the settings.php as recommended for using CiviCRM within Drupal views.
I want to show only contacts of the CiviCRM group/Organic Group in that block.
I do understand that I need a contextual filter but did not succeed in getting the right output. Can someone please help me with the right views settings/ filters to get this result?
Thank you ver much

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: Views contextual filter for CiviCRM contacts of an Organic Group
June 06, 2012, 03:50:33 am
do you need a contextual filter? apart from the one that you need just to get a list of the OG members - then you should be able to work just with Relationships - ie get the Drupal ID for the OG members then link to their Civi ID
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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Drupal Modules (Moderator: Donald Lobo) »
  • Views contextual filter for CiviCRM contacts of an Organic Group

This forum was archived on 2017-11-26.