Questions tagged [drupal-8]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
22
votes
5answers
4k views

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

What is the status of CiviCRM working with Drupal 8? And how can I help in terms of testing or funding this development?
9
votes
3answers
1k views

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

We are interested in a fresh start for our organization with a new website using CiviCRM and Drupal. However, we're not sure if we should wait for the CiviCRM integration with Drupal 8 since it's the ...
7
votes
1answer
158 views

What's the optimal way to install and track CiviCRM with Drupal and git?

First, I know compatibility with Drupal 8 is not full yet. There are still open bugs, a bunch of open PRs and an apparent lack of code review. But let's ignore that for a moment and consider civi d8-...
6
votes
2answers
648 views

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

When setting up a Drupal 8 with separate CiviCRM database, the Drupal views cannot read the CiviCRM database: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'xxx.civicrm_contact' ...
5
votes
3answers
475 views

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

I've got CiviCRM installed and working with Drupal 8 using Composer via https://gitlab.com/roundearth/drupal-civicrm-project What I'm not clear on is how best to update CiviCRM using Composer. Is it ...
5
votes
1answer
2k views

When will Drupal 8 be officially supported? [duplicate]

As I understand it, the Drupal 8 version of CiviCRM is available but still in bug fixing and feature adding mode. Is there news on when it will be officially on the civicrm.org website?
5
votes
1answer
246 views

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

From an existing site set up using the roundearth composer plugin method as detailed -> https://www.mydropwizard.com/blog/better-way-install-civicrm-drupal-8 composer create-project roundearth/...
5
votes
1answer
679 views

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

There is maybe a simpler path but this worked for me. Documenting this here since I don't know where else to put it.
4
votes
2answers
45 views

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

I have a need to use Webform (using the Webform CiviCRM module) in Drupal 8 to register a new user and their organisation in Civi and at the same time create the user account in Drupal and link it to ...
4
votes
2answers
184 views

What is the correct REST URL in Drupal 8 (or 9)?

I know there's been a lot of work to deprecate the extern endpoints in CiviCRM, and the extern endpoints don't work in Drupal 8 without a lot of finagling. The documentation isn't updated to reflect ...
4
votes
2answers
270 views

Logs in CiviCRM

In our Drupal 8 - CiviCRM we use Redis for caching and some log management. We would like that CiviCRM also logs errors to Redis, or any other log system for that matter. Is it possible to configure/...
4
votes
1answer
298 views

Drupal 8.0.1 compatibility with CiviCRM [duplicate]

Is the newest version of CiviCRM compatible with the newest 8.0.1 version of drupal? I have loaded drupal on my VPS but wonder if I load CiviCRM into the module folder, if it will be reccognized. If I ...
4
votes
1answer
112 views

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

This question is being asked so that it becomes the go to Answer for documentation / installation / migration questions hopefully.
4
votes
3answers
189 views

Error "CiviCRM must be installed via composer" in Drupal8

Drupal 8.6.3, CiviCRM 5.7.0, PHP 7.2.10. Followed the instructions in https://github.com/civicrm/civicrm-drupal-8/blob/master/README.md (skipped "load dummy data" and -b'd "master" instead of the ...
4
votes
1answer
199 views

Drupal 8.4 & CiviCRM Issue

Last evening I tried to follow along with the amazing work @david-snopek posted but I've been running into some issues with the module finding the civicrm "library". I'm trying to get this working ...
4
votes
1answer
109 views

Civicrm with drupal 8 generating error while testing with behat

I have installed civicrm with drupal8 and I am trying to implement behat in my site. When I am trying to test my site for as logged in user using behat feature file I am getting an notice Notice: ...
4
votes
0answers
24 views

Why aren't my tokens working in mosaico?

I have created a custom Drupal 8/9 module that defines hook_civicrm_tokens and hook_civicrm_tokenValues to provide tokens to CiviCRM. It works when not using mosaico, but fails (the tokens are ...
4
votes
0answers
66 views

What is the status of CiviCRM working with Drupal 8 now that it is released? [duplicate]

Drupal8 released recently, do we know what the status of the integration effort to have civicrm run on it, yet? I am in the process of updating our site and this would have been the perfect time to ...
3
votes
2answers
773 views

How to install a separated Civi database with Drupal 8?

I am very confused with the evolution of Drupal 8 going away from its ability in Drupal 7 to easily handle multisite. Is it still possible to share a Civi database with the multisite extension with ...
3
votes
2answers
135 views

Install or upgrade CiviCRM using Composer 2?

Has anyone documented using Composer 2 with an install and/or upgrade of Drupal 8 + CiviCRM? I'm getting this error: - civicrm/composer-downloads-plugin[v2.0.0, ..., v2.1.1] require composer-...
3
votes
1answer
110 views

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

Would love to see official docs/examples with lots of screenshots!
3
votes
2answers
262 views

Why can't the asset builder find

With Drupal 8 + CiviCRM 5.30.1 The asset builder is unable to find the crm-menubar.css file, i.e. this url: https://example.org/civicrm/asset/builder?an=crm-menubar.css gives me: Unrecognized asset ...
3
votes
2answers
135 views

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

I'm trying to find a way to automatically update the CiviCRM contact image when a user updates their Drupal profile image. I'm specifically looking for Drupal8.5/Civi4.7 but I'll take anything that ...
3
votes
1answer
215 views

Civicrm Entity & Drupal 8

I have begun working on structuring a franchise type educational site and we are going with CiviCRM and Drupal. However, we wanted to go with drupal 8 since we are starting fresh with a complete ...
3
votes
1answer
33 views

Is Membership payment on Drupal 8 Webform supported yet?

I am trying to configure a Drupal 8 Webform to support payment for Memberships, but there seems no connection between the Membership field and the Payment fields. On D7, when configuring a ...
3
votes
1answer
117 views

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

I sometimes need to fix a bug in CiviCRM before that bug is fixed in the latest version of CiviCRM. With non-composer installations, I patch my dev site, commit my changes to git, and push them to a ...
3
votes
1answer
269 views

Install Development Environment CiviCrm for Drupal 8

I've cloned civicrm-core (4.7.28) and civicrm-drupal (switched to branch 8.x-4.7.28-rc) into my top level modules dir of my Drupal 8.4. I was able to install dependencies into vendor dir for civicrm-...
2
votes
2answers
49 views

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

I've got a development site running using Drupal 8.7.7/Civi 5.17.5 and CiviCRM Entity. I want to set up some Views to display Civi data. Some fields are being displayed fine (e.g. first name, last ...
2
votes
1answer
242 views

Call to undefined function user_load() using Drupal 9 and api3?

Full error message: Error: Call to undefined function user_load() in CRM_Utils_System_DrupalBase->getUserObject() (line 558 of /var/www/drupal/vendor/civicrm/civicrm-core/CRM/Utils/System/...
2
votes
1answer
42 views

Links for the DialogFlow extension go to Drupal 404 Page

I'm on Drupal 8. Just installed DialogFlow, but when I go to DialogFlow>Settings I leave CiviCRM and get a Drupal 404 page- "Page not found". Any ideas?
2
votes
1answer
176 views

Downstream Git/Composer Issues

I am trying to use the Drupal 8 Project on GitLab and I am having an issue with a downstream CiviCRM requirement. I am not sure where to post this issue, so I hope it is okay if I post it here. The ...
2
votes
2answers
149 views

cron on drupal8: can't handle separate paths for vendor and library

The Sysadmin guide lists several methods to run the internal cron. On the previous site we used the http method, but now on drupal8 neither this nor calling cli.php works. It seems a bit obvious, ...
2
votes
1answer
56 views

Reporting Drupal 8 Bugs

Are we at a stage where we can be reporting Drupal 8 bugs? If so, where should they go? Should they go on the Jira somewhere, or maybe a mailing list?
2
votes
1answer
79 views

The "cmsBaseUrl" is not set according to the information in civicrm.settings.php

Error: When I check the installation requirements (cv core:check-req) I get an error message that says: The "cmsBaseUrl" (http://localhost/usr/local/bin/usr/local/bin/) is unavailable or ...
2
votes
1answer
166 views

Upgrading CiviCRM under Drupal 8: How can I get around this error?

I'm guessing that the upgrade process for CiviCRM under Drupal 8 is something like this: Use composer require to get the latest version of the package. Navigate to the database update URL through the ...
2
votes
1answer
27 views

Content aggregator for delivering Drupal 8 and CiviMail

There were at least two solutions for this in D7, Eileen's CiviToken extension and Pogstone's Content Token extension Wondering if anyone has used or knows of something that will provide this for D8. ...
2
votes
1answer
83 views

Only configuration works — Fatal memory error on Drupal8 install

I'm trying to set up civicrm on a working drupal8 install and after the composer commands and a few of the suggested tweaks (like path setting), it seems to work ok. I can access the backend ...
2
votes
1answer
101 views

Change the root directory D8 [docroot > web]

I encounter lot of issues with CiviCRM on a Drupal 8 production site : When sending a mailing there is : - No tracking of opened mail - No indication of click through There is another issue with the ...
2
votes
3answers
96 views

Cannot filter on contact subtype in Drupal8 views

I don't know the depth of CiviCRM's official commitment to Drupal 8 yet, but I've followed the instructions posted here for setting it up. After creating a contact subtype of "Committee" and creating ...
2
votes
1answer
19 views

In Drupal 8 Webform_Civicrm how do I clone a Contact?

Running Drupal and Webform_civicrm 8.x-5.0-beta4. How do I clone a Contact? If I create one Contact, then change the number of Contacts from 1 to 2 (or more) I get the message: Tip: Consider using the ...
2
votes
1answer
32 views

french Installation of civicrm 5.27.2 on drupal 8

i want to install civicrm in french in my drupal 8.9.2 website. after following the instruction in this website https://lab.civicrm.org/dev/translation/-/wikis/Administrator-Guide. it's not work for ...
2
votes
1answer
29 views

Webform Select List using Existing Contact

I have used "Existing Contact" Field in the Webform. I want to list few contacts using select box instead of AutoComplete using Filter. Edit Field show different Widget to show the contacts, ...
2
votes
1answer
26 views

Warning: Illegal offset type (multiple) when creating new report from template (D8/Civi5.11)

I'm using Drupal 8 / Civi 5.11 I get the following errors on the screen multiple times (one for each Drupal role in my system) when I attempt to create a new report in CiviCRM (CiviCRM->Admin->...
2
votes
1answer
89 views

Issue with Drupal 8 CiviCRM Views + CiviCRM event

Does anyone know how to create a Drupal view to show only future/upcoming CiviCRM events in Drupal 8? I tried by adding the Event start date as filter but it doesn't provide the filtering options to ...
2
votes
2answers
138 views

CiviCRM CK editor trying to access Skins.js, and CSS resources from the Drupal 8 core assets instead of the Civi directories

So I'm having a weird issue where when trying to create a new mailing or event. The wysiwyg editor does not show up, instead the html editor appears as blank. There are errors in console (404 errors) ...
2
votes
1answer
70 views

Cannot Tags and Groups fields in Webform CiviCRM Integration - Drupal 8

I try to create a contact in CiviCRM 5.9.1 with a Webform and Webform CiviCRM Integration (all in Drupal 8.6.7), But when I choose the needed fields in CiviCRM and I use the ENABLE TAGS AND GROUPS ...
2
votes
0answers
37 views

Related membership gets deleted upon updating owner membership via API

I would like to make several people a member, linked to 1 payment person A: membership (+ contribution) person B: membership (related to membership person A) $contact_a = 2; $contact_b = 3; $...
2
votes
1answer
30 views

How can I expose event creation fields on Drupal 8 front end without CiviCRM Entity?

A key feature and service of our Drupal 8 site (in development) is to allow users to create their own events. I want to expose some of the event creation fields to them on the front end. Is there a ...
1
vote
4answers
143 views

New D8 / Civi install. First d8 then added Civi. Civi Menus not showig up

I installed D8 first then Civi and it seems like it is working if I manually put the url comonents after the http://focal-civi.domain.org/civicrm/{manually-add} but the menu is not showing up. Anyone ...
1
vote
1answer
175 views

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

D8 Webform CiviCRM now has automated unit testing! How can I run these unit tests on my local?