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
1answer
11 views

How can I add a save button in my page variant?

I have created two variants of user edit page, one displays the entire form and other displays only a couple of fields of that form. I have created a selection rule so that one triggers when is ...
0
votes
0answers
14 views

How to display a view modes from display suite in a form by custom module?

I work in D7 and I have 20 content types. For 10 content I would like to have a preview of the node on the same page where the node is deleted. Therefore I create a custom view modes in display ...
1
vote
1answer
21 views

How to remove id=“node-[nid]” with Display Suite?

How I can remove the node id when I override a node layout with Display Suite? In some (old) how-to I noticed that the id node is not present when a node layout is overridden with DS. i.e.: from ...
0
votes
0answers
14 views

Displaying multi-valued field collection field inline

I have a field of type field collection witch an unlimited number of values. I am trying to display all the field values in the same row using Display Suite. Unfortunately, blank spaces keep appearing ...
2
votes
1answer
41 views

How to calculate user scores based on 3 variables to assign an appropriate text label?

I need to calculate a score for users in D7 based on 3 variables and then assign an appropriate text label and a CSS class. So, using data from Voting API, time ago joined, and number of nodes ...
1
vote
0answers
10 views

how we could use display suite to manage the display blocks on regions?

I want show 2 blocks inline inside the "Top bar" region. is It possible use, for example, the layout "Bootstrap Two Columns: 6-6" in region?
1
vote
1answer
6 views

How can an entity reference field be displayed as a select list that shows the selected entity?

The Problem I have a couple of entity reference fields that references a hierarchy of nodes. For the sake of simplicity let's use just the top level example Video Game -> Video Game Release So when ...
3
votes
1answer
18 views

Making File Size visible to anonymous users

I have media installed for file handling, and am displaying download links for my files using display suite. I have the file size being loaded in as a dynamic field loading token [file:size]. ...
0
votes
2answers
25 views

Commerce Price Field formatting

I'm using a view which is rendering the Product displays as DisplaySuite modes. Right Now, the generated code for the price looks as follows. <div class="commerce-product-field commerce-product-...
0
votes
0answers
43 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
36 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 ...
1
vote
0answers
32 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
17 views

How to allow view mode selection during content creation?

We have 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 ...
1
vote
1answer
60 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 "name-of-venue/name-of-performer/...
0
votes
1answer
19 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
24 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 a ...
0
votes
0answers
11 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
123 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
44 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
41 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
28 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
48 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); if(empty($entity->...
0
votes
0answers
41 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
42 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
35 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
31 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
23 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
37 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...) - ...
1
vote
2answers
921 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
18 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 field-name-...
0
votes
2answers
60 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
1answer
31 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 ...
1
vote
2answers
92 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
40 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
58 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
136 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
80 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
67 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
35 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
48 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
39 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
31 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
228 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 tab....
0
votes
1answer
51 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
64 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 non-...