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) »
  • Drupal Views: custom fields on address do not work
Pages: [1]

Author Topic: Drupal Views: custom fields on address do not work  (Read 482 times)

Matthias de MAUROY - CYIM

  • I post occasionally
  • **
  • Posts: 59
  • Karma: 4
  • Working at CYIM
    • CYIM
  • CiviCRM version: 4.4.4
  • CMS version: Drupal 7
  • MySQL version: 5.1.66-community-log
  • PHP version: 5.3
Drupal Views: custom fields on address do not work
March 31, 2014, 05:53:32 am
Hello everyone !

I'm working with drupal views and I have problem displaying address custom fields, in fact it doesn't even show itself...

link with civicrm_address is working fine displaying each column but when linked to my custom data, select is empty

Code: [Select]
SELECT civicrm_contact.id AS id, civicrm_address.state_province_id AS civicrm_address_state_province_id, civicrm_value_r_gion_18.r_gion_42 AS civicrm_value_r_gion_18_r_gion_42
FROM
{civicrm_contact} civicrm_contact
LEFT JOIN {civicrm_uf_match} civicrm_uf_match ON civicrm_contact.id = civicrm_uf_match.contact_id
LEFT JOIN {civicrm_address} civicrm_address ON civicrm_contact.id = civicrm_address.contact_id
LEFT JOIN {civicrm_value_r_gion_18} civicrm_value_r_gion_18 ON civicrm_address.id = civicrm_value_r_gion_18.entity_id
WHERE (( (civicrm_uf_match.uf_id = '1' ) ))

When running this request (and removing those ugly brackets) it show the result that should be displayed.

I know there was an issue like that one on CiviCRM 4.3 but was solved in 4.4 => http://issues.civicrm.org/jira/browse/CRM-12110

I'm trying to figure out why  ???

Any help would be a pleasure  ;D

Thanks !
Matthias de MAUROY
Analyste Web Developpeur
BU WEB
Tél. : +33 (0)2 99 22 83 40
Fax : +33 (0)2 99 22 83 41
Mail : m.mauroy@cyim.com
CYIM
31, rue de la Frébardière
35135 CHANTEPIE
FRANCE

Matthias de MAUROY - CYIM

  • I post occasionally
  • **
  • Posts: 59
  • Karma: 4
  • Working at CYIM
    • CYIM
  • CiviCRM version: 4.4.4
  • CMS version: Drupal 7
  • MySQL version: 5.1.66-community-log
  • PHP version: 5.3
Re: Drupal Views: custom fields on address do not work
March 31, 2014, 06:44:50 am
Sorry  :P

I was the one making a mistake... The fact was that some tables were missing in my settings.php, that's all  ::)

See you !
Matthias de MAUROY
Analyste Web Developpeur
BU WEB
Tél. : +33 (0)2 99 22 83 40
Fax : +33 (0)2 99 22 83 41
Mail : m.mauroy@cyim.com
CYIM
31, rue de la Frébardière
35135 CHANTEPIE
FRANCE

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Drupal Modules (Moderator: Donald Lobo) »
  • Drupal Views: custom fields on address do not work

This forum was archived on 2017-11-26.