Drupal 8.40 - Certain Chrome IE Browser Access Denied - FireFox O.K.

All,

   I'm having a strange issue with my drupal 8.4.0 setup where certain browsers are causing access denied when trying to login to my new install

  Setup:

  AWS

  Drupal 8.4.0

  Basic Setup

  Working Browsers:

  I.E. 11 ( Version 11.0.9600.18816 ) on Win 7

  Firefox ( Version 56.0.1 ) on Win 7

  Chrome (Version ? ) on iPhone ( iOs 11 )

  Safari (Version ? ) on iPhone  ( iOs 11 )

  Access Denied Browsers:

composer.json and composer.lock

I am using composer when updating. When updating core composer.json and the lock file are updated also.

Shall I copy back the old composer.json and composer.lock or only composer.json?

Custom page creation durring registration flow

Hello,

How I can achieve the following using Drupal 8.4.0:
1) The user will fill the registration form, which will include some basic info.
2) Once the user verifies his account, a USER PROFILE PAGE(this has to be a content type) will be created for him and he will be able to edit this page.
3) The user will not be able to create pages, he will be able to just edit this single page which has been created after the registration,
3) Every change he makes to this page, has to be reviewed from the admin before displayed to the live site.

Entity rest API - post response body

I have a Drupal 8.3.4, I am using the core rest API to do GET/POST operations to the entity/node.

The POST response body is in Json, and it includes many different fields, some of which I don't want to show (want to disable/hide them) in the response body, and some I want to rename.

For example, the response body includes these items, which I dont want to have in the response.

Drupal 8 reference field default value from nid

Hi, iam trying to set default value to node reference field (autocomplete) from nid. 

For example my code is

$nid = \Drupal::request()->query->get('field_event');
$node = is_numeric($nid) ? \Drupal\node\Entity\Node::load($nid) : NULL;

if ($node && isset($form['field_event'])) {
             $form['field_event']['widget'][0]['#target_id']['#default_value'] = $node;
        
       }

But the field doesn't accept the default value.

Thank you for your suggestons.

Drupal 8 installation

hi,

I have installed Drupal 8 in my hosting site, the installation went ok except that I need to go to mydomain.com/drupal8 instead of just mydomain.com to access it any idea what I did wrong?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x