Drupal is up and running but how do I ...?

How to get $form_state->getUserInput() in each inline entity form and not only in the first one?

I use the Inline Entity Form module to build nested multiple forms. I have a design form in which there is an inline form - garment. And inside the garment form, there is a product field.

In the hook_inline_entity_form_entity_form_alter() I get $field_product_user_input

Display links for referenced content item listing pages from within the current node

I am using Drupal 10 to build a web site that will act as a virtual guide for a touristic destination, e.g. Island-X. 

The user, who is going to be the potential visitor of the destination, will be able to explore the island by following some suggested Routes. On each Route he will be able to explore a specific area and see/visit any Points of Interest alongside. So there are two basic content types (listing some of their custom fields below):

Route

how do I link two different types of content related by a field ?

I have two types of content "product" and "product specifications" that both have a text field with the product ID.

I would like my product page to display the relevant specifications, base on the product ID.

I have tried plenty of contextual filters/criterions and I can't figure it.

Can someone help ?

Automatic Deletion of All User Content upon Account Termination

Hello dear Drupal community,

I am facing a challenge and I'm hoping someone here might have a solution or at least some guidance to offer.

Issue at hand: On my website, I want to ensure that when a user deletes their account, all their data, including all the content they've created (nodes, comments, etc.), is entirely and irrevocably deleted. My primary objective is not to retain any user data of someone from whom I no longer have consent. This includes the content they've produced.

installing patch to mods

I have been trying to install a patch to honeypot and I have put the code below in the json file in the root directory and also tried it in the honeypot directory and it does not seem to be installing it

=========
 "extra": {
        "patches": {
        "drupal/honeypot": {
            "Issue #3275041": "https://www.drupal.org/files/issues/2018-07-31/honeypot-fix_missing_prim..."
        }
    },

=========

[Solved] How to use text field as repository name when uploading file

Hi,

I have a custom content type where user will be able to upload documentation. I would like that each file are automatically stored in a directory (inside /files) with the content of a text field. 

By exemple, if the text field "Reference" is "TEST-001", the document must be stored inside /files/TEST-001. I've look for token but I didn't find the one I need.

Can you help me?

Thank you !

Pages

Subscribe with RSS Subscribe to RSS - Post installation