Questions tagged [drupal-8]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
1answer
28 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 ...
0
votes
1answer
21 views

Compilation error when installing on Drupal8

Following install guide I get fatal error at compilation tasks in composer require civicrm/civicrm-core:'~5.35'. The setup is on Aegir with Drupal 8.9 and drupal/recommended-project composer template, ...
4
votes
2answers
30 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 ...
3
votes
1answer
29 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 ...
2
votes
1answer
49 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/...
1
vote
0answers
9 views

VBO (Views Bulk Operations) with civicrm based Views for d8 and d9

Just wondering if anyone has any evidence of this working with d8/d9
1
vote
1answer
23 views

Trying to migrate data from Drupal 7 to new install on Drupal 9

Isn't it possible to just copy tables of contacts, groups, mailings and their related data into the new install? I'm trying to figure out which tables contain essential data on contacts, activities, ...
0
votes
1answer
17 views

Drupal 8 version of CiviVRM Membership Roles Sync?

Is there a Drupal 8 version of the CiviCRM Membership Roles Sync module, or is one planned? I can't see it, or any opportunity to configure an equivalent facility.
2
votes
1answer
15 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 ...
1
vote
1answer
15 views

What is the Drupal 8 Webform url for autofill CiviMail linkage

In D7 Webform Civicrm integration, under Additional Options for Civi configuration there is this link To have this form auto-filled for anonymous users, enable the "Existing Contact" field ...
1
vote
1answer
16 views

Where is the 'Recent Items' block in Drupal 8

I have CiviCRM 5.33.2 on Drupal 8.9.12. On Drupal 7, CiviCRM created a number of Drupal Blocks that could be displayed according to the Theme configuration, including the very useful 'Recent Items'. ...
1
vote
1answer
15 views

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

Hopefully I can explain this so it makes sense. :) We have customers that have donation pages (and events) that they use custom fields with, but when someone completes the custom field once, it does ...
0
votes
0answers
17 views

How does one install a new custom field?

After adding a Custom Field on Activity -> I get this message on the status report. How does one install a new custom field?
1
vote
0answers
12 views

How to filter contacts according to tags in views in Drupal 8 with CiviCRM entity?

I want to be able to filter organizations by tags. However, the reference in "Relations" is not available for tags even though it exists for groups : "CiviCRM Tags uses created_id" ...
0
votes
1answer
42 views

Does Stripe and CiviCRM work on Drupal 8 and Webform?

I have installed: Stripe 6.5.5; CiviCRM 5.32.2; Drupal 8.9.11; Webform 6.0.0; Webform_civicrm 8.x-5.0-beta4. When I try to make a (test) Donation payment I get the error: Error Unable to complete ...
1
vote
0answers
65 views

CiviCRM Drupal 8 installation fails - Install of pear/validate_finance_creditcard failed

I've been trying (for what seems like weeks now!) to install CiviCRM under Drupal 8 on a hosted cpanel server following the instructions here: https://docs.civicrm.org/installation/en/latest/drupal8/. ...
3
votes
2answers
98 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-...
0
votes
0answers
14 views

Dropdown action menu has failed after upgrade to 5.30.1 on Drupal 8

I recently upgraded from 5.29.x to 5.30.1 and this caused the action drop down menus (see screenshot) to no longer do anything. There is nothing in the debug console and I'm not sure how else to get a ...
1
vote
1answer
23 views

How do I access drush commands specific to CiviCRM?

I have installed CiviCRM 5.31 on Drupal 8 with the following set of commands according to the official Drupal and CiviCRM documentation: cd /var/www composer create-project drupal/recommended-project:...
1
vote
1answer
81 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?
3
votes
2answers
229 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
1answer
70 views

What is the correct REST URL in Drupal 8?

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 ...
1
vote
2answers
30 views

CiviCRM has not bootstrapped sufficiently to fire event “hook_civicrm_alter_drupal_entities”

After upgrading CiviCRM to civicrm-asset-plugin 1.1, civicrm-core 5.29.1, civicrm-drupal-8 5.29.1, and civicrm-packages 5.29.1 I started getting "CiviCRM has not bootstrapped sufficiently to ...
2
votes
1answer
38 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?
1
vote
1answer
37 views

Why isn't CiviMail tracking my opens?

It happened after a recent upgrade to 5.27+, using Drupal 8.
0
votes
1answer
16 views

Is there a Donate Now type button that I can just plug into my drupal site?

I am interested in creating a donate button that can be used on drupal8 as well as if someone wanted to add it to their own site. I saw https://wiki.creativecommons.org/wiki/...
0
votes
1answer
21 views

How to display CiviCRM Custom Fields in a Drupal 8 View

I've been not very experienced with CiviCRM. I try to get CiviCRM custom fields displayed in Views. I've installed Drupal 8.9.3., CiviCRM 5.28.3, CiviCRM Entity 8.x-3.0-beta1. Drupal and CiviCRM run ...
0
votes
0answers
62 views

How to migrate Civi DB from a Drupal 7 to a Drupal 8 site

I'm tasked with migrating a CiviCRM database from a Drupal 7 site to a Drupal 8 site. So far there's 2 approaches I've thought of. Copy the whole DB as standard and import it into the new D8 site. I'...
1
vote
2answers
29 views

Contact Us form based on smart group list

I am getting started with Webforms on Drupal and am looking to create a Contact Us form. I would like a single form that would allow the user to select the Send To field based on a Smart Group. The ...
2
votes
1answer
104 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 ...
0
votes
0answers
14 views

Where is the documentation to upgrade CiviCRM under Drupal 8?

As of now, there is official documentation for installing CiviCRM under Drupal 8, and there is official documentation for upgrading CiviCRM under various other CMSs, but I can't find any for upgrading ...
0
votes
1answer
26 views

D8 - can't view Contributions after upgrade to 5.28.x

When trying to View a Contribution (any Contribution) I'm getting this error on one of my D8 test sites. Error: Class 'Brick\Money\Money' not found in CRM_Utils_Money::subtractCurrencies() (line 142 ...
4
votes
1answer
87 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.
2
votes
1answer
29 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
24 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, ...
0
votes
1answer
37 views

Anyone using Aegir to manage sites?

Not really a Civi specific question but someone here might have suggestions on the best place to discuss. Got the basics working. Now I need to figure out how to best add in or update modules and ...
0
votes
1answer
31 views

There is so much old stuff on the interweb… D8 and CiviEntities / Calendar integrations?

Just did a D-8.9.2 w/ CiviCRM and am struggling with the some very very old documentation. Is civi entity still a valid module to help with crossing civi data --> drupal 8? I tried to composer ...
1
vote
2answers
44 views

Drupal 8 CiviCRM Entity and Views activities

We have been working on Views, with Civi Entity, on Drupal 8. We are having an issue a list of Activities and filters. We only want to load Activities where the source contact is a particular ...
1
vote
4answers
94 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 ...
0
votes
1answer
12 views

Drupal 8 / CiviCRM ; Directories that need to be manually created?

I've created a d8/civi site on all three of bionic/eoam/focal and now have worked out the variances between them to the state that I now have an operational
0
votes
1answer
19 views

Why am I getting mangled menus and why can't CiviCRM find its own /ext directory?

My composer build D8/CiviCRM instance looks great on my local server where I built it - but then when I add it all to git and push it to a production server -> it looks like this: menus are messed ...
3
votes
1answer
107 views

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

Would love to see official docs/examples with lots of screenshots!
1
vote
1answer
45 views

CiviCRM URL issue: CiviCRM theme is not loading after CiviCRM update to 5.26.1 version

After upgrading the CiviCRM to the latest version 5.26.1, the CiviCRM theme is not loading. I have checked on the Browser Console and I saw a CSS and JS file errors. Some of the errors are given below ...
3
votes
1answer
200 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/...
1
vote
1answer
39 views

500 Error When Migrating To Drupal 8

I have followed the great instructions on the question Can I upgrade a drupal 7 + civi site to drupal 8? but I am running into a road block. The first time I loaded Civi it loaded without my database ...
1
vote
2answers
105 views

roundearth/drupal-civicrm-project fails to give me the CiviCRM menu

I now have an automated process working to deploy CiviCRM on drupal based on roundearth/drupal-civicrm-project. Only issue is, drush en civicrm fails to expose the CiviCRM menu. What step might I be ...
2
votes
1answer
121 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 ...
0
votes
0answers
15 views

What is best recipe for Drupal 8 user to see correct Profile on user account?

My use case is two totally different types of membership: full and academic. Each profile uses different custom fields. I want the right profile to be used on the Drupal user account page, according ...
1
vote
2answers
38 views

Session variables destroyed while making contribution through webform in Drupal 8

I'm not sure this is the best place for this but really needing some assistance with this. Using Drupal 8.8.5 and CiviCRM 5.24.3 along with webform 5.9 and the latest version of webform_civicrm. ...
1
vote
1answer
25 views

Where should bower_components reside under Drupal 8

I am running a couple of test sites under Drupal 8, installing them using Composer. Bower_components seem to be living in two places. /vendor/civicrm/civicrm-core/bower_components/ and /web/...