Questions tagged [drupal-8]
The drupal-8 tag has no usage guidance.
106
questions
0
votes
0
answers
32
views
MySQL ERROR 3161 at Change Log on Contact pages after db migration
After db migration, Change Log tab on Contact pages doesn't load due to error about creating temporary tables using memory engine.
I could recreate the error with the following query:
mysql> CREATE ...
0
votes
1
answer
25
views
MySQL OptionGroup values, retrieve in SELECT statement
Using Drupal 8.9.20 and CiviCRM 5.39.1 (on Ubuntu 18.04 LTS).
I need to write a query in MySQL to retrieve the values of an optiongroup.
The OptionGroup is used to assign keywords to a contact record ...
2
votes
1
answer
44
views
Composer install of ESR (Extended Security Release)?
How do I manage a CiviCRM ESR (Extended Security Release) install on a Drupal 8/9 composer installation?
I've subscribed to the CiviCRM ESR service and I'm trying to install an ESR version on my ...
4
votes
1
answer
88
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 ...
1
vote
0
answers
26
views
Get Drupal View to Display Label from Numeric Custom Select Field
I have a custom field in Civi that is a numeric select field. The select field values are numeric but the associated labels are text. I have created a Drupal view that displays the select field but it ...
0
votes
1
answer
350
views
Upgrade Drupal 7 to Drupal 9
I am upgrading Drupal 7 to Drupal 9 and trying to copy over my CiviCRM database.
My Drupal 9 install is fresh. I used the instructions at https://docs.civicrm.org/installation/en/latest/drupal8/ to ...
0
votes
0
answers
22
views
Is it appropriate for my use case?
I have a use case which requires following Customer Front End, and Back End (Leads Management, Pricing / RFQ ,Invoicing and Finance management, inventory management, , Supplier Management)
Is civicrm ...
1
vote
1
answer
41
views
Webform Civicrm Custom Fields across Multiple Contacts not working in Drupal 7 and Drupal 8
I created a custom fieldset in CiviCRM, with the following field types,
File Field
Two Date Fields
Two Country Fields
With a "Tab with table" style
A webform with CiviCRM Integration and ...
1
vote
1
answer
57
views
Drupal View Not Rendering HTML From Activity Email Details Field
I am trying to display in a Drupal (8) view the content of emails that have been sent to contacts using the contact Send Email action. I am using the details field from the activity to show the ...
3
votes
1
answer
237
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
1
answer
273
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
2
answers
82
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
1
answer
44
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
1
answer
928
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
0
answers
23
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
1
answer
195
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, ...
1
vote
1
answer
63
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
1
answer
27
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
1
answer
33
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
1
answer
40
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
1
answer
26
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
0
answers
18
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
0
answers
32
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
2
answers
99
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
0
answers
98
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
2
answers
216
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-...
1
vote
1
answer
126
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
1
answer
338
views
How can I run the Drupal 9 Webform CiviCRM unit tests on my local?
D9 Webform CiviCRM now has automated functional javascript testing! How can I run these tests on my local?
3
votes
2
answers
357
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 ...
4
votes
2
answers
511
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 ...
1
vote
3
answers
218
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
1
answer
45
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
1
answer
53
views
Why isn't CiviMail tracking my opens?
It happened after a recent upgrade to 5.27+, using Drupal 8.
0
votes
1
answer
28
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
1
answer
75
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 ...
1
vote
2
answers
55
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
1
answer
240
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
1
answer
24
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
1
answer
33
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
1
answer
138
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
1
answer
38
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
1
answer
50
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
1
answer
52
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
1
answer
54
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
2
answers
97
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
4
answers
212
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
1
answer
13
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
1
answer
26
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
1
answer
117
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
1
answer
96
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 ...