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) »
  • Developer Discussion »
  • APIs and Hooks (Moderator: Donald Lobo) »
  • how to get more websites to appear in civicrm_location_get
Pages: [1]

Author Topic: how to get more websites to appear in civicrm_location_get  (Read 556 times)

CatorgHans

  • I post frequently
  • ***
  • Posts: 157
  • Karma: 5
  • CiviCRM version: 4.4
  • CMS version: drupal
how to get more websites to appear in civicrm_location_get
January 03, 2011, 07:52:02 am
I have a contact with more then one website, but if I use civicrm_location_get I only get one back.

It does not matter if I use
 'return.website' => array(1 => array('url' => 1)),
 'return.website' => array( array ( 'url' ) )   
or
 'return.website' => array( array ( 'website' ) )

So how can I get the other websites that are attached to a contact?

(it would make sense to get them with civicrm_location_get, but it does not appear there either)   

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion »
  • APIs and Hooks (Moderator: Donald Lobo) »
  • how to get more websites to appear in civicrm_location_get

This forum was archived on 2017-11-26.