Hi, I have a standard Document media type with a field of filename in addition to the standard fields for the type. I'm then using the Media Library in a text editor to embed a link onto a page for example. Right now, it's happily printing out the original filename as a link, but I can't think of a way to pass the new custom filename into the file-link.html.twig so that I can render it instead of the original.
Any suggestions on how I can do this or something equivalent would be greatly appreciated!
I am new to drupal and I wanted to ask you for help to make a view of group types to place it as the main page of my website, where it shows on the left side a single group list item and on the right side 4 group list items in grid shape .. When making the view as a block it does not show me the option to publish it on the main page as it appears in a normal content .. I accept suggestion for the cover of my website I am using Bootstrap for Drupal Base Distrib as theme. Thanks
In Drupal, I need to change the output of a template. I'm curious where I can find out this variable chat or phone is originating from? Is this field from a content type?
{% if chat or phone%}
<ul class="utilities-list no-bullet clearfix">
There is an entity reference field in my paragraph, in which you can select a content of a certain type. I now need to print fields of the content referenced in that field in my paragraph template.
I have not yet managed to get any field printed.
I have tried the following with field_reference being the entity reference field in the paragraph:
{{ content.field_reference.0.entity.title }}
{{ content.field_reference.entity.title.value }}
and variations of it but nothing rendered anything.