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.
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.
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).
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
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.
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.".