AJAX HTTP error when cloning installation

I have a working installation that I tried to clone via git and composer. I have done it successfully before (install an empty Drupal site with composer, store result in git and use git, "Config_installer" and composer to clone the environment). I have now added a number of modules to the installation and try to do the same.

But when, after the "composer install" step, go to the installation page (.../core/install.php) and try to finalize the installation, during the step "Install configuration", I get the following error:

User online/offline status on drupal 8

Hi.
How to show user online/offline in layout user.html.twig on drupal 8 ?
Thanks.

Question regarding D8 migration using Drush

Hi Everyone,

I am working on upgrading a D7 site to D8. I have all the migrate modules that come with D8 installed and enabled. Additionally, I have Migrate Upgrade, Migrate Plus, Migrate Manifest and Migrate Tools enabled too.

D8 Home Page - How To Add Code?

On my Drupal 8 site, on my home page, I need to embed a small bit of code. (The embed is a very small <script> block required by a Google service.)

On older versions of Drupal I could do this easily by just editing template page-front.tpl.php and adding the embed code. What is the equivalent on D8?

Including JS in a custom module

Hello,

we are currently creating a custom module for Drupal 8 in an university project. We never used Drupal before and have our fair shair of problems we are trying to figure out. The biggest one however is the inclusion of JavaScript in our module where we are doing something wrong.

Getting URL from link field in TWIG

I have a custom content type with field field_site_link and field_logo.
I want to use the logo and add the url from the site_link.
I have tried several different ways to get the URL to display properly though it is proving a little hard to find how to call it.
I know my field is being output to TWIG as content._field_layout.content.field_site_link.
here is my attempt using .0 which gives the link wrapped in an 'a' tag.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x