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) »
  • website in civicrm_contact_get
Pages: [1]

Author Topic: website in civicrm_contact_get  (Read 1405 times)

CatorgHans

  • I post frequently
  • ***
  • Posts: 157
  • Karma: 5
  • CiviCRM version: 4.4
  • CMS version: drupal
website in civicrm_contact_get
September 29, 2010, 03:10:52 am
How do I get the "website" back from civicrm_contact_get ?

It is not there in the default return, and I can also not retrieve it with parameters
return.website
return.url
return.home_url
return.work_url


Yashodha Chaku

  • Forum Godess / God
  • Ask me questions
  • *****
  • Posts: 755
  • Karma: 57
    • CiviCRM
Re: website in civicrm_contact_get
September 29, 2010, 05:46:58 am
CatorgHans :
Could you  try   
Code: [Select]
'return.website' => array( array ( 'website' ) )
HTH
-Yashodha
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

CatorgHans

  • I post frequently
  • ***
  • Posts: 157
  • Karma: 5
  • CiviCRM version: 4.4
  • CMS version: drupal
Re: website in civicrm_contact_get
September 29, 2010, 06:28:50 am
yep, it works, thanks.

It should be part of the Contact API page
http://wiki.civicrm.org/confluence/display/CRMDOC32/Contact+APIs

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: website in civicrm_contact_get
September 29, 2010, 08:01:29 am
That's a wiki, could you add it ?

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

CatorgHans

  • I post frequently
  • ***
  • Posts: 157
  • Karma: 5
  • CiviCRM version: 4.4
  • CMS version: drupal
Re: website in civicrm_contact_get
September 30, 2010, 04:54:32 am
Ah, it's already there.

I just created a wiki account. Will add other things when I run into them.

Erik Hommel

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1773
  • Karma: 59
    • EE-atWork
  • CiviCRM version: all sorts
  • CMS version: Drupal
  • MySQL version: Ubuntu's latest LTS version
  • PHP version: Ubuntu's latest LTS version
Re: website in civicrm_contact_get
October 01, 2010, 09:13:58 am
Thanks, great if you update the wiki!
Erik
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion »
  • APIs and Hooks (Moderator: Donald Lobo) »
  • website in civicrm_contact_get

This forum was archived on 2017-11-26.