Questions tagged [display-suite]
The "Display Suite" module allows to take full control over how the content is displayed, using a drag and drop interface.
311 questions
0 votes
0 answers
44 views
Render as values the image's attributes (src, alt, width and height) in ds1-col.html.twig
I need to render the image's attributes (src, alt, width and height) from a ds1-col.html.twig (Display Suite) in a node. I can render strings using {{ ds_content.node_title }}, however... I don't know ...
0 votes
1 answer
48 views
How do I display the title of the entities to which the user has no access?
I created a new content type with entity references to standard pages. I am using the Taxonomy Access Control module to control the access to these pages. When users view a node of that content type, ...
0 votes
2 answers
116 views
How to list Links/Attachments in sidebar second
When managing fields for a given content type in Drupal 9, I would like to be given the option to list all items of a given field (e.g. Links, Attachments, ... ) in a specific region (say, sidebar ...
5 votes
1 answer
2k views
What should be used instead of raw filter?
Drupal 9 theming documentation indicates that the Twig raw filter is deprecated in favor of verbatim. The ds-field-expert.html.twig template uses raw to render the input in the prefix and suffix field,...
0 votes
0 answers
35 views
Incorrect field of a content type in its display after migrating from a backup
The following two screen shots should explain the issue well: Here I have a content type Poll, where the first field is Question with machine name title. However, in Managage Display tab, the second ...
1 vote
1 answer
241 views
Different forms per user role
I need to hide the description field from regular users when entering data, but the field should be visible to administrator users, which also can edit it. I used the Display Suite module to hide that ...
0 votes
0 answers
434 views
How to prevent page refresh after a button click?
I know this question is already asked, but my problem is different. I have a code field created with Display Suite, that displays an audio player named AblePlayer, with a playlist of three tracks. In ...
0 votes
1 answer
200 views
Use Display Suite token field in custom block type template
I have a custom block type, which uses its own theme template. I have a display suite token field link_card_edit_block It just uses HTML and tokens to create a link. I want to use that field in my ...