Why, the references to the entities do not disappear ?

I have a site with Drupal 8.8.4

I created a type of paragraph with an "Entity reference" field which refers to the products and a "Date range" field :

https://i.stack.imgur.com/LhHDB.png

I created a type of store with "Entity reference revisions" field which refers to my previous paragraph :

https://i.stack.imgur.com/cT6Hj.png

THE PROBLEM

Uploading node with field_image through REST API

Hello there! I am using postman to try to create content with file attached. I have read that first you have to upload the file and then create the node referencing the fid. 

When I do that, the REST POST method return:

<message>Unprocessable Entity: validation failed.

field_image.0.target_id: This entity (file: fid) can not be referenced.

</message>

Nice image upload with sorting

Hello,

I would like to allow my users to upload images and also view them after they are uploaded and sort them or at least set the main image. How do I do that? Is there a module that does it? I found "Fine Image Upload" but it seems that it does it only on the back end, for the admins...

Thank you!

Upgrade 8.7.5 to 8.8.4 - DB upgrade not working

Hello,

Excuse if this topic is already discussed & solved here - I was not able to find it...

I just upgraded my installation from 8.7.5 to 8.8.4 manually. I got an error message about deprecated configuration about /tmp. I uncommented "$settings['file_temp_path'] = '/tmp';" and changed the path to what php tells me (/home/.sites/136/site1497/tmp) what my temp path is. Now the error is gone. But the DB upgrade still does not work. It tells me that 17 updates are available but when I want to apply them I just get back to my site and nothing was changed.

Address requires the commerceguys/addressing library

Hello,

I am trying to install address field type module. I get this:

Address requires the commerceguys/addressing library

This link https://github.com/commerceguys/addressing takes me to github. I am not sure what to do next. 

I am doing it in shared hosting server. I do not have access to composer. 

How can I install the library?

Thanks!

Single Add-More button for multiple fields

I created a new content type with the following fields:

1. Title
2. product description (text with unlimited option set)
3. product links (link with unlimited option set)

Now, when the form renders. It shows the "Add More" button on both fields.

But, I want a single "Add more" button and that should add another set of these two fields as separate. Currently, it creates the new field below the original field. But, I want those new fields as a fieldset.

Please help in achieving this.

Thanks

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x