Fresh Drupal 8, then composer causes 500 internal server error

Hi. Installed via softaculous a fresh Drupal 8 project, up and running.

folder is public_html which includes all files plus vendor, composer.json and composer.lock

Trying to install commerce with composer, navigating to public_html in the terminal

composer require 'drupal/commerce:^2.17'

Then get ‘The server encountered an internal error or misconfiguration and was unable to complete your request.’

I have tried manual upload of Drupal 8, tried with composer, but the moment any other module is installed via composer, ‘internal error’.

CKEditor inserted image displayed correctly in CKEditor but is huge on the actual page.

Drupal 8.8.5, Car Zymphonies theme, Blazy 8.x-2.0

I insert an image into the CKEditor floated left of some text and it displays correctly in the CKEditor but on the preview and actual page the image is huge (100% width) and above the text.

The code on the actual page is:

Upgrading Drupal from 8.7 to 8.8.5 via composer

Hi there, i am trying to upgrade Drupal via Composer from 8.7 to 8.8.5. 

I've had several issues along the way and finally have been able to get the database upgrade to run. It stops half way through, having tried via drush and also /update.php

Here is the error i am getting:

"Add New Field" in modal popup

Hi

I'm trying to mimic the "add field" functionality in a modal pop-up(for learning purpose).

For that, I am replicating "FieldStorageAddForm.php" provided by Field Ui module in my custom form.

I have a another form where I have provided a link to open my new custom form to add a new field.

Here is the code:

How to change the position of status message for a specific page?

Could anyone  tell me the detail about solution for the above topic? Thanks very much

Make labeles 'invisible'

I need to make Username and Password labels invisible (without CSS).

I do like this but it does not work for 'Log in' block:

function bartik_form_alter(&$form, FormStateInterface $form_state, $form_id) {

$form['account']['name']['#title_display'] = 'invisible';
$form['account']['pass']['#title_display'] = 'invisible';
}

But at the same time this works for Registration form:

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x