Questions tagged [drupal-8]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
9 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
14 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
16 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
7 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" ...
1
vote
1answer
30 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
41 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
68 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
12 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 ...
2
votes
1answer
21 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
39 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
165 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
46 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 ...
2
votes
2answers
25 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
33 views

Why isn't CiviMail tracking my opens?

It happened after a recent upgrade to 5.27+, using Drupal 8.
0
votes
1answer
15 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
18 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
42 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
26 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
59 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
13 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
67 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
27 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
23 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
32 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
29 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
39 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 ...
2
votes
4answers
78 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
103 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
43 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 ...
2
votes
1answer
154 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
32 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
81 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
94 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
36 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
22 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/...
0
votes
1answer
51 views

API4 giving Authorization failed Error

We have local and dev site with drupal 8 + CiviCRM 5.22.0, Installed Contact Layout Editor Extension. http://localdemo8.com/civicrm/api4. (api4 explorer) or http://localdemo8.com/civicrm/ajax/api4 ...
1
vote
1answer
25 views

Ajax pop-ups are not interactable and sized improperly

Before reporting a bug, I just wanted to double check if it's anything obvious or localized. The mailing preview pop-up and the "add activity" pop-up from the contact page are two examples of broken ...
1
vote
0answers
15 views

How can I commit civicrm configs to git? [duplicate]

I am exploring civicrm and am trying to set up a prod, staging, dev environment where by I create and test custom fields in dev and deploy them to prod. What is the best way to do this? I cam using ...
2
votes
1answer
17 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. ...
1
vote
1answer
37 views

Base table not found for civicrm_contribution_page #201

On latest version of 8.x-3.x branch i get following error when try to add a view for contribution page SQLSTATE[42S02]: Base table or view not found: 1146 Table 'civicrmdb.civicrm_contribution_page' ...
2
votes
1answer
18 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->...
1
vote
1answer
29 views

CiviCRM Multi-site support under drupal 8

Does anyone do CiviCRM Multisite under drupal 8? We have lots of affiliates and would like to put them all in the same civicrm database with ACLs set up per domain. Does this work the same way it did ...
0
votes
1answer
30 views

Why are all my menus open/garbled?

My menus look like this: For background: This is Drupal 8. The menus were fine, but I'm porting the site to Pantheon. My Browser dev tools say that all my files (inc. CSS/JS) are loading properly. ...
6
votes
3answers
339 views

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

I've got CiviCRM installed and working Wirth 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 ...
2
votes
0answers
36 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; $...