Skip to main content
14 votes

Does CiviCRM work with Drupal 8 and how can I help?

Active Development has restarted on the Drupal 8 version. It is possible to get it installed now, although it takes a slight different process than with Drupal 7. Assuming you have Drupal 8.2.5 ...
jackrabbithanna's user avatar
13 votes

Start new CiviCRM site in Drupal 7 or wait for Drupal 8?

The short answer is easy, which you can take away from Does CiviCRM work with Drupal 8 and how can I help? — CiviCRM is not yet fully functional with Drupal 8. You can see issues tagged for Drupal 8 ...
choster's user avatar
  • 1,900
9 votes
Accepted

How to get CiviCRM Views to work in Drupal 8 with separate CiviCRM database

I had the same problem today, so I looked in the source code. In civicrm.install there's a function called _civicrm_get_db_config. It's looking in the $databases array for an element with a key ...
Jon G - Megaphone Tech's user avatar
8 votes

When will Drupal 8 be officially supported?

I've recently been reviewing the code, testing against Drupal 8.2.5, and developing and submitting Pull Requests to the D8 module. I've been roughly estimating the time that would be required to get ...
jackrabbithanna's user avatar
7 votes
Accepted

How can I run the Drupal 9 Webform CiviCRM unit tests on my local?

Ok here are the steps! I'm on a Mac/MAMP and I use PhpStorm A. Get Drupal composer create-project drupal/recommended-project:8.9.13 d8civicrm.local cd d8civicrm.local composer config extra.enable-...
KarinG - Semper IT's user avatar
6 votes

Does CiviCRM work with Drupal 8 and how can I help?

You could also try the RoundEarth distribution: https://gitlab.com/mydropwizard/roundearth-drops-8 "RoundEarth is a template for building a website for a nonprofit organization, based on Drupal 8 ...
Hans Rossel's user avatar
6 votes
Accepted

How to install a separated Civi database with Drupal 8?

I was able to separate my Drupal 8 database from my CiviCRM database fairly easily, here are my notes I took on how to do it. Note that these steps aren't particularly specific to Drupal 8, and can be ...
Jon G - Megaphone Tech's user avatar
6 votes
Accepted

Where can I find Documentation for Drupal 8 Webform CiviCRM module?

Yes! Official documentation is being created and can be found here: https://docs.civicrm.org/webform-civicrm
mpaulson's user avatar
  • 140
5 votes
Accepted

Fixed - Why can't I display some Civi contact fields through CivCRM Entity in Drupal 8?

Graham - I've reproduced that. Not seeing the date of birth field either. Seeing lots of other dates though. Not sure what's going on. Could you please open an issue here: https://github.com/...
KarinG - Semper IT's user avatar
5 votes

Drupal 8: How do I shift a project/site from using the roundearth installation method to the CiviCRM official composer asset plugin

Depending on how your initial site set up was created you might need to take a more extreme option detailed below but hopefully the following will work: If you want you can copy composer.json , ...
Demerit's user avatar
  • 23.3k
5 votes
Accepted

Why can't the asset builder find

Answer to the Issue The origin of the problem is when you ignore this: https://civicrm.org/blog/daved/action-required-drupal-8-installs-and-upgrades-composer-and-patches To fix an existing ...
Czollli's user avatar
  • 96
5 votes
Accepted

Install or upgrade CiviCRM using Composer 2?

It should be possible to do any one of these: Use CiviCRM 5.31+. The error message above suggests it is using 5.30.x, which has older metadata. (Compare: 5.31's composer.json vs 5.30's composer.json) ...
Tim Otten's user avatar
  • 5,684
4 votes

How can I sync the Drupal User Profile image and the CiviCRM contact image?

I am not sure how to sync drupal profile image with CiviCRM contact image through UI. But you can add module and invoke hook to update the contact image. Here is the snippet how to add image url to ...
Pradeep Nayak's user avatar
4 votes

Civicrm Entity & Drupal 8

There is still work to be done to get this firing fully - and you many need to reach out to some of the Partners to help get things working sufficiently for your scenario. There are a number that have ...
petednz - fuzion's user avatar
  • 28.4k
4 votes

Logs in CiviCRM

I created an extension that writes all the logs to Redis: https://civicrm.org/extensions/eavesdropper Issues, questions or feature requests can be added on github.
Wannes De Roy's user avatar
4 votes

Start new CiviCRM site in Drupal 7 or wait for Drupal 8?

I am working with an organization that has been struggling with that question. They were originally planning to upgrade their Drupal 6 site to D8, but D8 progress has been so slow (notably lack of ...
Coleman's user avatar
  • 18.7k
4 votes

Can I upgrade a drupal 7 + civi site to drupal 8?

UPDATE: Note this is now slightly out of date but the gist is correct, so follow the spirit if not the exact details. In particular if I was doing it again now there is a non-roundearth way to also ...
Demerit's user avatar
  • 23.3k
4 votes

How can I update CiviCRM installed with Drupal 8 using Composer?

My experience with anything composer-ish seems to be: Struggle with it for a while until the site becomes messed up beyond repair. Restore from backup and struggle some more until it's messed up ...
Demerit's user avatar
  • 23.3k
4 votes

How can I update CiviCRM installed with Drupal 8 using Composer?

In practice it's as simple as doing a composer update for the most part - assuming you're configured "sensibly" - the RoundEarth setup makes (or at least made!) some assumptions re: versioning that ...
HomoTechsual's user avatar
  • 1,138
4 votes
Accepted

How can I update CiviCRM installed with Drupal 8 using Composer?

I've been updating it using the following: composer require civicrm/civicrm-core composer civicrm cv upgrade:db That is after making a backup first. Has worked for my installation.
Corey Brown's user avatar
4 votes
Accepted

CiviContribute/CiviCRM overrides content entered into a custom field each time a donation is made

It sounds like your custom fields are on the contact record. If you create custom fields on the contribution instead then you avoid the problem.
Aidan's user avatar
  • 13.5k
4 votes

How to use webform to register a new user on Drupal 8/9 and link to contact in CiviCRM

Using Webform and Webform CiviCRM modules create a webform with the fields required for the user and their organisation to create the contact and organisation in CiviCRM. Then create a WebformHandler ...
Ben's user avatar
  • 946
4 votes

How to use webform to register a new user on Drupal 8/9 and link to contact in CiviCRM

Ben's answer sounds like a really good extra tool for this. Just for the record other solutions include using Tags and CMS User extension https://github.com/Skvare/com.skvare.cmsuser Drupal Rules eg ...
petednz - fuzion's user avatar
  • 28.4k
3 votes

How can I install/manage CiviCRM patches on Drupal 8 (using Composer)?

Drupal 8/CiviCRM has the composer-patches package already installed. So you can add a section to the "extra" element in composer.json called "patches", and list out the patch with a title and a URL (...
Jon G - Megaphone Tech's user avatar
3 votes

How to install a separated Civi database with Drupal 8?

Jon has also answered the original question of how to install CiviCRM in its own database. Specifically, if you add the connection information in your settings file (before installing CiviCRM), it ...
Alan Dixon's user avatar
  • 6,861
3 votes

Does CiviCRM work with Drupal 8 and how can I help?

I think the current easiest and best way is to: Install Drupal 8 with the recommended composer template composer create-project drupal/recommended-project my_site_name_dir Add CiviCRM: cd ...
Hans Rossel's user avatar
3 votes
Accepted

Downstream Git/Composer Issues

Roundearth just recently switched to using civicrm-asset-plugin and it may not be fully integrated yet. CiviCRM can be installed on drupal 8 without roundearth now - it's still not "official" but is ...
Demerit's user avatar
  • 23.3k
3 votes
Accepted

Where is the documentation for installing CiviCRM with Drupal 8 or for upgrading a Drupal 7 system with Civi to Drupal 8

Currently the primary location for documentation is Installation Migration of a CiviCRM system from D7 to D8 (tbc)
petednz - fuzion's user avatar
  • 28.4k
3 votes
Accepted

Where is the documentation to upgrade CiviCRM under Drupal 8?

Official docs are now available at https://docs.civicrm.org/sysadmin/en/latest/upgrade/drupal8/
Graham's user avatar
  • 4,055
3 votes
Accepted

Links for the DialogFlow extension go to Drupal 404 Page

I've noticed that sometimes in drupal 8 you have to clear drupal cache to get newly added civi menu links to be found.
Demerit's user avatar
  • 23.3k

Only top scored, non community-wiki answers of a minimum length are eligible