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 3 and Groups from CiviCRM
Pages: 1 [2]

Author Topic: Views 3 and Groups from CiviCRM  (Read 6518 times)

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: Views 3 and Groups from CiviCRM
November 01, 2013, 12:26:18 pm

might be easier if the developers get on the forums / irc and ask questions, will make things a lot more efficient :)

i would use the call to

Code: [Select]
CRM_Contact_BAO_GroupContactCache::load

so that the entries are available in the cache and use that in your views query

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

sushant

  • I post frequently
  • ***
  • Posts: 126
  • Karma: 8
  • CiviCRM version: v3.2.x,v3.3.x v4.0.x, v4.x,trunk
  • CMS version: Drupal 6/7 ,joomla 1.5,1.6
  • MySQL version: 5.1.51
  • PHP version: 5.3.3
Re: Views 3 and Groups from CiviCRM
November 26, 2013, 12:07:40 am
Here is the Issue with patch :

http://issues.civicrm.org/jira/browse/CRM-13835

S.
CiviCRM Priority Support
http://support.civigardens.com/
http://osseed.com

Lionsharz

  • I post occasionally
  • **
  • Posts: 76
  • Karma: 0
    • www.ulearnschool.com
  • CiviCRM version: 4.4.4
  • CMS version: Drupal 7
  • PHP version: 5.3 / 5.4
Re: Views 3 and Groups from CiviCRM
December 11, 2013, 09:57:38 am
I'm not sure about the process, but just for anyone reading here, we did develop this and it is functioning on our Drupal7 site running 4.3. Afaik its being added to the latest version 4.4.x  by the developers.
www.ulearnschool.com

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 3 and Groups from CiviCRM
December 11, 2013, 10:04:21 am
Thanks Mr L (neil?)

Just to be clear - you are talking about the patch on the jira ticket referenced in the post above by Sushant?
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

jtbayly

  • I post occasionally
  • **
  • Posts: 43
  • Karma: 0
Re: Views 3 and Groups from CiviCRM
May 30, 2014, 11:28:51 am
Hmm.... sorry to see that this still hasn't been fixed as of 4.4.5. Maybe this is because of a flaw in the CiviCRM API?

As far as I understand it, you can't just request the contacts in a particular group, because CiviCRM can't be trusted to actually give you the right answer. It all depends on which type of group you're querying. If the request happens to be for a smart group, it will answer but give you bad data. It seems to me that extensions (and modules in this case), shouldn't have to do any special coding to support smart groups, but the API should handle the calls regardless of which type of group is being referenced. Is that a realistic goal? (Or maybe this isn't an API thing, it's a DB thing, in which case, why can't we do stuff like this using the API?)

-Joseph

vishram74

  • I’m new here
  • *
  • Posts: 27
  • Karma: 0
  • CiviCRM version: 4.6.18
  • CMS version: Drupal 7x
  • MySQL version: 5.3
  • PHP version: 5.5
Re: Views 3 and Groups from CiviCRM
July 31, 2014, 03:05:53 am
Hi.  Has there been any updates on this? 
We are trying to get this working in our version of Drupal 7 and CiviCRM 4.3.3.

holmesg

  • I post occasionally
  • **
  • Posts: 61
  • Karma: 0
  • CiviCRM version: CiviCRM 4.3.4
  • CMS version: Joomla! 2.5.8
  • MySQL version: 5.1.70
  • PHP version: PHP Version 5.3.22
Re: Views 3 and Groups from CiviCRM
December 12, 2014, 06:22:43 am
Did this ever get into the current version? Is filtering by a Smart Group in a View going to be accurate?

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 3 and Groups from CiviCRM
December 12, 2014, 08:26:07 pm
I don't think so. Would be great if someone with the coding skills could contribute this or commission us or others who have done a lot for the Views-Civi integration to get this sorted.
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 [2]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Drupal Modules (Moderator: Donald Lobo) »
  • Views 3 and Groups from CiviCRM

This forum was archived on 2017-11-26.