Questions tagged [drupal-8]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
2 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
6 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 ...
2
votes
1answer
84 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
33 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 ...
1
vote
1answer
34 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
17 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
49 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 ...
1
vote
1answer
45 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
23 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
14 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
23 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
22 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
14 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
32 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
15 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
24 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
26 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. ...
5
votes
3answers
218 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
32 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
58 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 ...
1
vote
2answers
68 views

CiviMail does not use the editor set in 'Display Preferences'

I'm on 5.17.4 on drupal8 and civimail is working, html editing and all. But I don't know why. CKeditor loads and it's clearly not the drupal one (minimal), but it also doesn't fully match the editor ...
2
votes
2answers
45 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
2answers
80 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
57 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 ...
0
votes
1answer
76 views

Quick and dirty decoupled CiviCRM with cron and export/import?

Working with an architecture of Drupal 8 running Open Social, and Backdrop running CiviCRM. Currently both virtual hosts on the same server, with separate mysql databases. The key issue: after tearing ...
1
vote
1answer
46 views

Unable to get CiviCRM running on Drupal 8/Ubuntu server 18.04 LTS/Linode

I have tried following the Roundearth instructions twice to get CiviCRM up and running on a clean install of Drupal 8, on Ubuntu server 18.0.4. First time through, the installer failed with a ...
1
vote
1answer
92 views

Got error on installing CiviCRM on Drupal 8

I tried to install civiCRM with Drupal 8 following this https://www.mydropwizard.com/blog/better-way-install-civicrm-drupal-8 but I am unable to do so. I am getting the following error: Fatal error: ...
1
vote
1answer
65 views

does anyone have a recipe for a Drupal 8 Views Calendar to show civi events or civi activities

Title pretty much says it. want a View Calendar for Civi Event and also for Civi Activity using drupal 8 Was following the second recipe at https://evolvingweb.ca/blog/creating-events-calendar-drupal-...
1
vote
1answer
126 views

Drupal 8 and civicrm version compatability

I am trying to get CiviCRM working against Drupal 8. For testing and setting up I am currently using: Oracle VBox 6 UBuntu 18.04 php 7.2.17 mysql 5.7.26 composer 1.8.5 Let me know if there is ...
2
votes
1answer
43 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 ...
1
vote
2answers
83 views

CiviCRM 5.12.0 breaks Drupal 8 registration

The upgrade of CiviCRM 5.12.0 version breaks the user registration process on Drupal 8 : Error type: Could not find a valid session key. I tried the upgrade on two different D8 sites with same issue. ...
2
votes
2answers
91 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) ...
5
votes
1answer
328 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.
3
votes
1answer
73 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 ...
2
votes
1answer
57 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 ...
1
vote
1answer
36 views

What is the difference between civicrm-drupal/tree/8.x-master and civicrm-drupal-8?

In Does CiviCRM work with Drupal 8 and how can I help? it mentions https://github.com/civicrm/civicrm-drupal/tree/8.x-master, but from all the other instructions and as best as I can tell https://...
5
votes
2answers
413 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' ...
4
votes
2answers
141 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 ...
2
votes
2answers
584 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 ...
2
votes
1answer
26 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
0answers
37 views

CiviCRM session breaks Varnish

When visiting a Drupal8 + CiviCRM 5.4.0 website with Varnish, Varnish caching works fine until you hit the /civicrm/contribute/transact?reset=1&id=x page and leaving this page by clicking an other ...
4
votes
2answers
194 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/...
0
votes
1answer
217 views

Could not find a valid session key

Since i installed CiviCRM on my Drupal site i can't save users anymore. Sorry, due to an error, we are unable to fulfill your request at the moment. You may want to contact your administrator or ...
3
votes
2answers
96 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
184 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 ...
2
votes
3answers
86 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 ...
3
votes
1answer
246 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-...