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

In search for module to bulk creation of pages based on custom fields and tags

Hi, I am new to here. I am creating a quotes site which has a quotes custom content type. It has basically 3 fields: quote_body, author, tags(tag will be separated by comma and there are min. 5 tags for each quote). I am in search of a module that will help me to create a views page for each author or tags, I know I can do it manually with views for each author and tag, but since there tens of thousands of them, I can't do it that way, so I am asking if there any module that I can turn to? 

Thank you very much in advance. 

Messages between users in Drupal 9

Is there any module for messages between users in Drupal 8 or 9. Actually I want to make this with Drupal core without module. Is this possible. Thanks for support 

Field update when updating another field

Drupal 8.8.5

I have 2 fields data field_data and field_data_di_rientro
When I change the date of field_data, it must update the value of the field_data_of_entro field.

In form_alter I wrote this code
$ form ['field_data'] ['widget'] ['0'] ['value'] ['# attributes'] ['onchange'] = "this.form.data_di_rientro.value = this.value";

Since it does not update the second field, I inserted an alert on updating the field and it displays it
$ form ['field_data'] ['widget'] ['0'] ['value'] ['# attributes'] ['onchange'] = "alert ('OK')";
Where am I wrong?

Group multiple fields in table view?

I´m trying to group two fields in a table view but the following message appears : 

Competicion (one of the two fields): <!-- THEME DEBUG --> <!-- THEME HOOK: 'views_view_field' --> <!-- BEGIN OUTPUT from 'core/themes/stable/templates/views/views-view-field.html.twig' --> <a href="/node/443" hreflang="es">Trofeo Rectora</a> <!-- END OUTPUT from 'core/themes/stable/templates/views/views-view-field.html.twig' -->

and it doesnt works! Somebody know something about this?

Thanks all!

How can I fill some fields using the information of a uploaded image without submitting the form?

Hi all, 

I'm trying to fill some fields of my Media Type "Image" using the information obtained from the uploaded image. I explain what i did for now:

I have a Media Type "Image" with 4 fields:

- Title

- Description

- Image with Alt text

- Copyright

I create a new media "Image" and I upload a image. As soon as the image has been uploaded I want to fill Name, Description, Alt text and Copyright from the data of the image.

how to get the value of view reference field in form(field of module viewsreference)

I am altering the form of a custom block shown in layout builder and I need to get the value of views reference field to implement an ajax callback.i need the value of target_id. thanks for help

these two way return null

$form_state->getValue('viewsreference_field')
$form['viewsreference_field']['widget'][0]['target_id']['#value]

Pages

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