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) »
  • Combining Civi Tables in Drupal Views
Pages: [1]

Author Topic: Combining Civi Tables in Drupal Views  (Read 1193 times)

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
Combining Civi Tables in Drupal Views
August 14, 2013, 03:51:05 pm
Is there any way to combine multiple tables within a Drupal view? For example can I combine Contact info (First & Last Name) with related Contribution and Membership details?

www.ulearnschool.com

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Combining Civi Tables in Drupal Views
August 14, 2013, 04:31:17 pm
Views calls those joins "relationships" - look under that heading in the views ui.
Try asking your question on the new CiviCRM help site.

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: Combining Civi Tables in Drupal Views
August 14, 2013, 06:11:51 pm
Ok. I have created a View Type "User" in order to combine three main things:

1) Contact fields (First Name & Last Name)
2) All the Contributions made by that particular Contact
3) Some details like Start & Finish Date of the related Membership connected to that Contribution.

Really, the issue I can't see past is what View Type would I choose in order to have those 3 elements even available as choices? And once that's chosen I should see relevant useful Relationships within Views(?)

Thanks again for any help you can give.

www.ulearnschool.com

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Combining Civi Tables in Drupal Views
August 15, 2013, 06:07:19 am
You create the Relationships first in order to bring in the other data. See

https://drupal.org/node/1578586
http://gotdrupal.com/videos/drupal-views-relationships

to learn how this works.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Drupal Modules (Moderator: Donald Lobo) »
  • Combining Civi Tables in Drupal Views

This forum was archived on 2017-11-26.