How do I add a bookmark flag to a node in a datatable?

I have a view with a table of published nodes that is available to all users. I would like each user to be able to select specific nodes from the table to show on a separate view with only nodes the current user has selected. The view that is global may have 150+ nodes, How do I allow each user to select a few nodes to show on a table specific to the current user?

Like a shopping cart of sorts where the user selects their items to show in the cart but it would not affect any other user viewing the items. Only I am only trying to create a watchlist for each user.

How do I access the field value or the nid of an entity reference field in form altrer programmatically

Drupal 8.8.5
I have done a lot of research on the web on how to retrieve the data of an entity reference field. But the code I found on version 8.8.5 doesn't work.
Before sending I have to read the value of the entity reference field. With kint I have seen the depth of the arrary but it does not return the value.
The code I use is this
$ a = $ form ['field_localita_rientro_ca'] ['widget'] [0] ['target_id'] ['# value'];
but I get this error back
Notice: Undefined index: #value in udf_form_alter ()
I have tried everything but nothing to do.

changing pages without login

Hi all! I'm pretty new to the admin side of Drupal, have been using Drupal since version 7 as an editor and "junior" admin.

I have a problem that I'm not sure is fixable. 
We have updated a module on our Drupal 8.7.7 site and now get a white screen when trying to login. Before doing the update we made a backup of the directory files but not the database (I know, very very very stupid). We have earlier database backups but it can be quite a lot of work to find out what has changed since that backup (about a month ago).

Can't change the maximum file upload size, Drupal-8.9.1

Hi!

I am developing my first website on my local PC Windows 10. I have some mp4 video files need to upload to the site, but they are all above 2MB maximum allowed upload size. I followed the instruction from a previous topic: https://www.drupal.org/forum/support/post-installation/2017-08-16/how-do-i-increase-the-maximum-file-upload-size , still can't change 2MB limit to a higher number like 40MB.

can't dissociate multisite databases

Hi,

On a Debian 10/Apache 2.4 server I created a drupal 8 multisite with several subdomains defined with a distincts databases in sites/subdomain/settings.local.php

$databases['default']['default'] = array (
  'database' => 'subdomain.mysite.com',
...

Every subdomain works fine but they all access to the same default database defined in sites/default as if sites/subdomain/settings.local.php files are not read.

I may add that I have others drupal such multisite installs that do work fine.

White screen of death during installation of Drupal 8.9.3

Hi folks,

I was looking to install Drupal on a Bluehost managed hosting account that I have. I created a MySQL database and user, and gave it the correct permissions. I got the screen to fill in the database information, and proceeded with the install. Then, prior to the configure site screen being displayed, I encountered a white screen. Then, when I tried to access the website via the domain name in my browser, I saw the following error on top of a white screen: "The website encountered an unexpected error. Please try again later.".

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x