Skip to main content
replaced http://civicrm.stackexchange.com/ with https://civicrm.stackexchange.com/
Source Link

I needed some more changes in the relationships, to be able to display the phone of the household of the contact :

in the relationships :

  • relationship CiviCRM relationship 'household member of'
  • relationship household as contact_id_b
  • relationship phone from relationship 'household', choice of primary phone

displayed fields : phone number, phone location, phone type from the 'Phone' relationship

so I altered some more code to be able to do that,

and I added the possibility to choose the location and type for Instant Messaging and Website, so it should answer How to access multiple CiviCRM website fields for a contact in Drupal Views?How to access multiple CiviCRM website fields for a contact in Drupal Views?

I will put it in the same PR because it's related to the same part of code (relationships and fields location-related).

I needed some more changes in the relationships, to be able to display the phone of the household of the contact :

in the relationships :

  • relationship CiviCRM relationship 'household member of'
  • relationship household as contact_id_b
  • relationship phone from relationship 'household', choice of primary phone

displayed fields : phone number, phone location, phone type from the 'Phone' relationship

so I altered some more code to be able to do that,

and I added the possibility to choose the location and type for Instant Messaging and Website, so it should answer How to access multiple CiviCRM website fields for a contact in Drupal Views?

I will put it in the same PR because it's related to the same part of code (relationships and fields location-related).

I needed some more changes in the relationships, to be able to display the phone of the household of the contact :

in the relationships :

  • relationship CiviCRM relationship 'household member of'
  • relationship household as contact_id_b
  • relationship phone from relationship 'household', choice of primary phone

displayed fields : phone number, phone location, phone type from the 'Phone' relationship

so I altered some more code to be able to do that,

and I added the possibility to choose the location and type for Instant Messaging and Website, so it should answer How to access multiple CiviCRM website fields for a contact in Drupal Views?

I will put it in the same PR because it's related to the same part of code (relationships and fields location-related).

Source Link

I needed some more changes in the relationships, to be able to display the phone of the household of the contact :

in the relationships :

  • relationship CiviCRM relationship 'household member of'
  • relationship household as contact_id_b
  • relationship phone from relationship 'household', choice of primary phone

displayed fields : phone number, phone location, phone type from the 'Phone' relationship

so I altered some more code to be able to do that,

and I added the possibility to choose the location and type for Instant Messaging and Website, so it should answer How to access multiple CiviCRM website fields for a contact in Drupal Views?

I will put it in the same PR because it's related to the same part of code (relationships and fields location-related).