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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • need civicrm data in external site
Pages: [1]

Author Topic: need civicrm data in external site  (Read 428 times)

vantuykom

  • I post occasionally
  • **
  • Posts: 49
  • Karma: 0
  • CiviCRM version: 4
  • CMS version: drupal
  • MySQL version: 5
  • PHP version: 5.3
need civicrm data in external site
January 07, 2014, 11:02:31 pm
Hi,

I have two sites, one membersite with civicrm installed and one public site.
I need some contact info and event info to be feed to the public site, so I can use it with views to let visitors search the data.

I have found a tutorial with ical, but for the contact information I really don't know where to start.
Can anyone give me step by step instructions? (I am really new at civicrm)

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: need civicrm data in external site
January 08, 2014, 11:48:01 pm
You should probably use the CiviCRM API with the REST interface, check http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: need civicrm data in external site
January 13, 2014, 11:25:16 am
vantuykom, if you want to use Drupal Views, I don't think the API will help. You could Google for "drupal views external data" and see some other ideas about to directly query the DB for the data to display in your View.

This is a bit complicated however...
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.

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: need civicrm data in external site
January 13, 2014, 12:10:05 pm
if the sites are on same server is there a reason not to wire both sites in to the same civi db and do what you want via that route?
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: need civicrm data in external site
January 14, 2014, 02:49:04 am
Connecting two Drupal sites to one CiviCRM DB can break the Drupal User <-> CiviCRM Contact relationships.
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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • need civicrm data in external site

This forum was archived on 2017-11-26.