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 4.1 , need to merge tables together with a logical selection.
Pages: [1]

Author Topic: Views 4.1 , need to merge tables together with a logical selection.  (Read 852 times)

Albana_12

  • I’m new here
  • *
  • Posts: 1
  • Karma: 0
  • CiviCRM version: 4.1
  • CMS version: drupal 7
  • MySQL version: 5.1.26
  • PHP version: 5.2.6
Views 4.1 , need to merge tables together with a logical selection.
May 18, 2012, 01:33:16 am
Hi everyone,

we have created a website with civicrm and we are encountering some problems. we've seen that this module is well integrated in views but the problem is that i have created some Events where each event has an agency and each agency has a hostess.

I can query information for all this three but separately, how can i connect the contact id of the hostess with the one of the events? I mean beside the information for the events i need to put even all the information of the hostess that belongs to that event, merging this two tables.

I would really appreciate your help!


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 4.1 , need to merge tables together with a logical selection.
May 18, 2012, 12:20:16 pm
how have you set up the agency/hostess - are these Event-based Custom Fields?

If so are you saying these are not accessible in a CiviCRM Event based View?
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

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Views 4.1 , need to merge tables together with a logical selection.
May 19, 2012, 01:19:09 pm
Using Views, if the View is of CiviEvents, you can get the Agency ID. Then you would have to customize a template (or use a View field that allows PHP) and use the CiviCRM API to fetch the data for the Hostess of that Agency.
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) »
  • Views 4.1 , need to merge tables together with a logical selection.

This forum was archived on 2017-11-26.