This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

label and input field on the same line

Drupal 8.8.5
I have read various information on how to be able to view the label and then the input field when entering the variation (Form View Management)
Currently the form displays the date field in this manner.
Date
__ / __ / ____

I want to visualize it in this other way
Date __ / __ / ____
I have done various tests but I have not succeeded.
I saw that in View Manager you can choose the inline option for viewing.

Is it possible to insert?

Group fields by field of reference entity (View Module)

I´working with Views module. I`ve created a bootstrap table to group my contents and their fields, but I need to group the table by a field of the reference entity. I´dont know if I am explaining well. For example:

I have a content called Competition that has a field called academic year (number).

I have another content called Sport that has a field of entity reference to Competition.

I´ve created a table with:

Sports              Competition           Field        Another field             Options

You have viewed this node X times this session.

The other day I was installing some different modules and suddenly I started getting these messages ("You have viewed this node 3 times this session.")  every time I visited a node, and I don't know how to remove them.

Does anyone know anything?

Add new translation to node through REST services

Hi, I am trying to add a new translation to an existing node through the REST services.

I have a website that has content available in multiple languages. Two of those languages are "en" with prefix "en-INT" in the URL and "de" with prefix "de-DE". The content is always available in "en" and then I would like to add translations to the "en" node.

I have tried a PATCH call to /de-DE/node/62 with the following body:

How to correctly manipulate menu items dynamically on each page request in Drupal 8?

I need to change menuitems dynamically on a custom menu created in Drupal.
I need to show, hide, alter title etc, depending on each user and some other different conditions.

I have tried to use:
HOOK_menu_links_discovered_alter(&$links)
HOOK_preprocess_menu(&$variables, $hook)

And they both let me manipulate the meny. But only once when I empty cache. After that it ignores any further changes.
(For me it strange that preprocess_menu doesn't run on every request.)

Drupal 9 - YouTube module - Allow playlist URLs

Hello,

We're using a YouTube module to insert youtube video's on our website. The module currently allows the following URL formats:

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions