0

In the process of migrating a Drupal 6 and CiviCRM installation to Drupal 8, the decision was made to host the new D8 CiviCRM instance remotely. I'm now tasked with developing the functionality needed to import contact data into Drupal, as well as events and products, all managed in the CiviCRM instance. My feeling thus far is that it's a mistake to separate the two applications, since we're really now having to develop a lot of custom functionality using the API. Nevertheless, I'm looking for some insights as to how to begin this kind of development, because we've already embarked in this direction.

  • This question is a bit too broad for a succinct answer, but you should look into Civi's REST API and the D8 migration framework & the Migrate Plus module. – Shawn Conn Apr 6 '19 at 20:34
  • Steve, can you clarify, your title seems to be an easy request, but when you talk about 'separating applications' I am less clear what you are after. I added an answer any way but i may be way off target – petednz - fuzion Apr 7 '19 at 21:32
  • curious what was the main driver to host civi remote from drupal? – petednz - fuzion Apr 9 '19 at 2:10
  • I wasn't a part of the decision making process, I've been trying to gather answers to the above question myself. Apparently, there were concerns about server performance when hosting both applications on the same server, which of course can be overcome. – steve Apr 15 '19 at 19:25
0

If you need this to occur whenever a contact is added in civicrm, whether it be via Import, Add New Contact, a Profile, a Contribution page etc then the best solution would be to use Drupal Rules.

| improve this answer | |
  • I don't use rules much, can a rule be set up to fetch or push to the remote source? There may be some hooks that I'm unaware of. – steve Apr 8 '19 at 22:36
  • Sorry Steve, i think i must have totally missed the 'this is a remote instance', so my answer is not valid and i will remove once i know you had a chance to see this comment – petednz - fuzion Apr 9 '19 at 2:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.