20 votes

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

UPDATE: Please head to this Q+A for documentation information / links or head direct to the installation documentation There is a channel on Chat here
user avatar
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 ...
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 ...
user avatar
  • 1,870
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 ...
user avatar
9 votes

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

See answer from @jackrabbithanna for current status. tl;dr : It's not yet production ready, and the list of things you can help on is in JIRA at https://issues.civicrm.org/jira/browse/CRM-17652?...
user avatar
  • 6,641
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 ...
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 ...
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 ...
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
user avatar
  • 140
6 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-...
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 , ...
user avatar
  • 17.6k
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 ...
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) ...
user avatar
  • 5,564
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 ...
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 ...
user avatar
4 votes

Drupal 8.0.1 compatibility with CiviCRM

I'm afraid CiviCRM doesn't support Drupal 8 yet. You will need to install Drupal 7. You can find more details here: Installation and Upgrades See also this question: Does CiviCRM work with Drupal 8 ...
user avatar
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.
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 ...
user avatar
  • 16.1k
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 ...
user avatar
  • 17.6k
4 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/...
user avatar
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 ...
user avatar
  • 1,048
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.
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.
user avatar
  • 10.9k
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 ...
user avatar
  • 837
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 ...
user avatar
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 (...
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 ...
user avatar
  • 5,974
3 votes
Accepted

Reporting Drupal 8 Bugs

i think the current approach is via JIRA - you can see the existing list here https://issues.civicrm.org/jira/browse/CRM-17652?filter=23012 If you add new ones label them drupal-8
user avatar
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 ...
user avatar
3 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 ...
user avatar
  • 17.6k

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