Display Suite allows you to take full control over how your content is displayed using a drag and drop interface.

learn more… | top users | synonyms

0
votes
0answers
10 views

How to preprocess Display Suite layouts variables in Drupal 8 to add wrapper classes based on certain entity field values?

Hook_process_entityname (Paragraphs in my case) is not working for me in entity view modes where Display Suite module layouts are used in Drupal 8, how to preprocess variables used in Display Suite? ...
0
votes
0answers
9 views

Display text in dropdown

My user needs to be able to create a dropdown/select list when creating a new node. So what I did was create a text field with the ability to add unlimited fields. I looked at the text formatter ...
1
vote
2answers
31 views

How can I get the language name of the current node?

I'm trying to figure out how to get the name of the language of the current node in display suite. I find a language option under one of the node categories in the dynamic field content selector, but ...
0
votes
0answers
9 views

Displaying Token Field Labels From Fetched Entity In Rules HTML Email

I am sending a MIME HTML email using rules. Much of the information contained in the email comes from a fetched custom entity (custom ECK entity). Using the available replacement patterns, I can get ...
0
votes
0answers
9 views

How to allow view mode selection during content creation?

We a content type, basic page, that can be of three types Publication Webcast Audio/Video There is a field that based on the Basic Page type, we switch the fields that are displayed. So for when ...
0
votes
1answer
44 views

Getting views contextual filter from url for display suite block

I have a URL for an event content type that concatenates two other content types, namely "name-of-venue" and "name-of-performer" with "date-of-event", so the url is ...
0
votes
1answer
15 views

How to remove the default <div> tags generated by modifying manage display?

We are using a mix of Display Suite using the manage display and Paragraph Module on the content types to help control some of the output of the nodes. One problem we are trying to resolve is how to ...
0
votes
1answer
16 views

How to have display suite extra show up as layout options when creating blocks?

What I do now is create a content item. Choose a layout. Create content. Use Node as Block to show as a block. Would it be possible to have display suite extra show up for layouts when creating ...
0
votes
0answers
10 views

How to change display suite extra default permissions?

I am having problems with diplay suite extra module. Every time I create a dynamic field, it only shows up for logged in users. So I have to manually go to permissions, look for the content type, ...
1
vote
2answers
91 views

Any suggestion why hook_preprocess_node does not get triggered?

Any suggestions why hook_preprocess_node does not get triggered? I use the snippets from below in my theme file called yokai.theme // works like expected, output visible function ...
0
votes
2answers
37 views

How to use expert class settings for display suite for images?

I've tried different combinations, but it's now working or showing up in chrome inspector... I'm also using Bootstrap template, could that by a problem? Or maybe I'm not filling out the information ...
1
vote
1answer
27 views

Custom display suite field

In a custom module I have defined a display suite field like so: namespace Drupal\custom_dsfields\Plugin\DsField; use Drupal\ds\Plugin\DsField\DsFieldBase; //Views /** * Plugin that renders the ...
1
vote
0answers
24 views

Display Suite Region to Block Problem

I am using the display suite region to block, but the content in the region is now displaying on every page of the site and not just the node its meant to display in! Surely this isn't right? Am I ...
0
votes
1answer
30 views

Display Suite code field – how to use another image field conditionally

In my content type I want to show the main image if the thumbnail field is empty. So I use the Display Suite code field and I enter the following code: <?php dsm($entity); ...
0
votes
0answers
31 views

How do I determine if a field group is empty in a preprocess, pre render function?

How do I determine if a field group is empty in a preprocess, pre render function? I have the following nested field group setup for full node view: Product Resources (Field group - Div) Data ...
0
votes
2answers
41 views

Filtering list of nodes with attached views by taxonomy of node

I have a single article (page) which has an attached view thats displays a load of nodes (in a content called 'courses'). These nodes have a term reference field called 'language' which assigns them ...
0
votes
0answers
31 views

How to add a field code to edit images from view mode?

I've been trying to add a code field in display suite in order to add a field to edit images directly in the view tab, somewhat like the quickedit module. I'm not sure if this is possible. I have ...
0
votes
0answers
11 views

Show online status from user that profile is being viewed with code field in display suite

Im using profile 2 and panels for my profile pages. I think it must be possible to show the online status of the user which profile is being viewed with a code field using display suite. I only have ...
3
votes
1answer
26 views

Show Drupal core user fields before Profile2 fields

I have fields added to Drupal 7 core users (Config > People > Account settings > Manage fields) which are common to multiple user roles. I also have fields on a Profile2 profile, which I only want to ...
0
votes
1answer
22 views

How do I handle special characters?

I use the Display Suite module and I enabled the Display Suite Format module. I use a code field to display a node/edit link, with the following code: if (node_access('update', $entity)) { ...
1
vote
0answers
33 views

How do I render a field collection on a node twice with two different field formatters?

With Display Suite, I want to render a field collection twice (or more) with different field formatters? What's the best way for this? - dynamic field (need more code for only duplicate a field...) - ...
0
votes
2answers
629 views

Drupal 8 customize “view modes” and “form modes” based on role

Drupal 8 has extended the View Modes concept to Form modes Is it possible to assign a role to both "View Modes" and "Form Modes"? How does one assign a mode both view mode or form mode to be shown ...
0
votes
0answers
17 views

Candidate template file Display suite Block region field

On this page, in below code i want to remove: <div class="field field-name-field-header-image"> in a candidate .tpl file. <section class="headerImage"> <div class="field ...
0
votes
2answers
58 views

Changing column position in rows

I've this layout: <div class="row1"> <div class="col-sm-4 col-md-4" id="col1"></div> <div class="col-sm-4 col-md-4" id="col2"></div> <div class="col-sm-4 ...
0
votes
0answers
4 views

how to remove custom display header

I have a custom display that's almost a teaser, the dev who built it named it "token." It displays an image and text. However, when rendered it renders an entire <article> complete with a ...
0
votes
1answer
29 views

Can't seem to make use of new user account field in display suite

I need to be able to display a particular user field in my node display. The user field is a new, custom field I created, here: /admin/config/people/accounts and it's called 'organization role'. I ...
0
votes
1answer
68 views

View inside display suite block field - contextual filter

using display suite's block field, which i chose a view block.. so when i have view page ('parent' view) it list many nodes. each node has a field for block view ('child' view). how do i get child ...
0
votes
0answers
17 views

Adding Dynamic Field from User Registration

I am trying to create a dynamic field with Display Suite that pulls in a field from the user registration "About Me" long text. I do not see this field in any of the options for the dynamic field. Are ...
0
votes
1answer
36 views

CSS for Display Suite Fields not applied

I'm attempting to place text next to the top of images inline for a content type using CSS on fields through Display Suite with a built-in layout in Panels (Two column bricks) I am using a subtheme ...
2
votes
1answer
56 views

Views: Highlight today's post based on previously referenced node

I have a weekly recipe list view, I manually create the list at the first day of the week. for instance I assign Node 1 for Reference field labeled with Monday, Node 2 for Tuesday and so on using ...
1
vote
1answer
111 views

Drupal 7 Views: Align text with image

Hello Drupal Stack Exchange crowd. I am working on building a view for a content type that has several fields and an image. I am using an "Unformulated list" Using Drupal 7 core and the most recent ...
0
votes
1answer
18 views

name of last person who modified node - Display suite

with Display suite in Drupal 7 I can get the last modified date , but how can I display which user did the last modificatioin?
0
votes
1answer
66 views

How to get the publishing and menu fields from the node edit form in the “Manage fields” tab?

I am wondering what is the cleanest way to customize the core node edit form fields like the publishing and menu options fields? They do not appear in the Manage fields tab, otherwise I would be able ...
0
votes
1answer
20 views

Node creation fields in blocks

I am using Display Suite for node creation, but would like to extend this by also using blocks provided by theme to put several fields inside them too (sidebar left and right). How to accomplish this ...
0
votes
1answer
57 views

Profile2 with Display Suite

I am using profile2. In main profile type I have created some fields. Now according to my project need I want to use display suit for manage display. I followed instruction according to link, but no ...
1
vote
0answers
34 views

Display Suite Block Field, missing in transcendent node reference rendered display

i'm having trouble getting this right. any help is much appreciated. thanks. I have 3 content types: A = product B = additional attributes for product C = retailer of product content type B and ...
1
vote
3answers
47 views

One Content Type - 2 Different Displays

I have a content type that I want to have certain fields show up for different users. For instance, for admin, I'd like the users to see all of the fields available, however, for non admins, I'd like ...
0
votes
0answers
34 views

How does Display Suite determine when to use Default view mode?

It is not clear to me when Display Suite decides to use? for instance, the default view mode, or the teaser mode. I have a taxonomy page, and it is displaying nodes linked to a taxonomy term using ...
0
votes
0answers
30 views

Display Suite fails!

Hi! Again, I apologize for writing bad English. Put into context my problem: when you install Display Suite, the Select Layout option appears in Manage Display within each type of content created. ...
0
votes
0answers
190 views

How to display the webform components using the display suite module

Theme: bootstrap subtheme. Modules: Webform, bootstrap webform, display suite, and bootstrap display suite. -I have created a contact form using the webform module. -I clicked Manage Display ...
0
votes
1answer
49 views

Displaying parent nodes with child nodes - nested views, hard coding, or other approach?

I have a parent content type which is categorized with a taxonomy term. Then there are child nodes to the parent. When someone clicks on a category, I want them to see a table basically. It would be ...
1
vote
1answer
62 views

How to use Display Suite to trim whitespace from a field

I have created a new content type, Plants, for my web site. One of the fields, scientific name, requires special formatting. Usually it is all italics, but sometimes a mixture of italics and ...
1
vote
1answer
38 views

View Revision log message with display suite

In drupal 7, Is there any way, with or without Display suite, to show the revision log message at the bottom of a view node page?
0
votes
0answers
19 views

How would you add a field to node to randomly select image from child node?

I have a content type lesson, with a child content type exercise. An exercise can have multiple exercises and exercises have audio, images, etc. On my front page I want to display a teaser of ...
0
votes
0answers
15 views

Display Suite - How to display page view and block view at same time?

I am trying to better understand Display Suite and it is clear I am not understanding something. In Views I created a new view, of type page, which grabs 3 guitar lesson content types. I set it to ...
0
votes
1answer
42 views

Views, Display Suite - fatal error on allowed memory size - what could be happening? [duplicate]

I am setting up my guitar lessons site which has categories via taxonomy and then lesson and exercise content types. Exercises are in a lesson, via entity reference. I am using Views and Display ...
0
votes
1answer
40 views

Display Suite and Views - how to troubleshoot why a View content pane is not being applied?

I have a site that uses Entity Reference to link exercises with guitar lessons (these are two content types). I created a view (both content pane and block, identically configured), of display type ...
0
votes
2answers
29 views

Add HTML to Page Title for Entity (Profile2)

I have a Profile2 page where I want to add some HTML into the page title (I want to insert a fontawesome icon). I am using Display Suite to layout the Profile2 page with a custom view mode. I have ...
0
votes
0answers
14 views

Display suite Main page missing

When I click admin/structure/ds the main page does not display. I get a content list instead with Displays, View Modes, Fields, CSS Classes, and Views Displays tabs . Also the views edit drop down ...
0
votes
2answers
315 views

How to customize the markup of radio buttons in the edit/create node view?

So I have a content type with several fields. One field is a set of two radio buttons. The output code while content creation/moderation looks like this: <div id="edit-group-content-access" ...