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
3answers
14 views

Show a default value when user doesn't fill in a field

I would like to show a default value if the user doesn't fill in a field in the user profile. For example: I have a Hair type field. If the user fills it in, i would like the following output: ...
0
votes
1answer
11 views

View Field Display placing table label on top of the description

So I have this table created with display suit and table group. How am I going to make it look like this? The label is already set to be above, but that doesn't seem to work. I'm not really ...
1
vote
0answers
5 views

Media, missing local video thumbnails

We have local stored video that we display using the media module and Video in field views. In a view with several videos only a few gets a thumbnail image representing the video. This configuration: ...
0
votes
0answers
21 views

how to request multiple public image sizes from a field's filename?

my json Service returns... field_photo: { und: [ { fid: "810", uid: "1", filename: "dxb-airport_1.jpg", uri: "public://dxb-airport_1.jpg", filemime: "image/jpeg", filesize: "64389", status: "1", ...
0
votes
0answers
6 views

Tell Display Suite to not load all fields for performance?

Afaik, before Display Suite renders an entity, it first calls entity_load() or something equivalent (e.g. node_load()), which loads all the entity fields. If the entity has many fields, but only some ...
0
votes
1answer
23 views

Problem with equal height of columns in Display Suite

I`ve got Fluid two column stacked layout in Display Suite. There is responsive picture in the first column, the second column contain some rendered fields. Below that columns is long text. My problem ...
0
votes
0answers
15 views

Trouble enabling view modes for content types

I have a custom view mode and need to enable it for a node type. I need to enable it through my module, and it seemed like hook_entity_info_alter() is the way to go, but it's not working. Am I ...
1
vote
1answer
17 views

overriding template file of display suite layout applies on other pages

I created a display suite layout "tow column stacked" in manage user section, then I want to override that template, and make a new one in my theme templates folder, the ds module suggest for me : ...
0
votes
0answers
4 views

auto_nodetitle seems to be disabled when I use Display Suite

I was using auto_nodetitle to hide the Title field and set it automatically when new content was created. It was working very well. Then I enabled Display Suite to customize how the fields were shown ...
0
votes
2answers
40 views

Is there a way to make image and text alternate between rows?

In Drupal theme, the content would have image and title which will have image on left and text on right in Display Suite under view in each row. The client wants: In first row, the image will be on ...
0
votes
2answers
31 views

What's the best way to create a content type with multiple fields that link to an external URL?

I have a content type named "News Clip" that has four fields; Title, Description, Image, URL. In my display, I want the Title and Image to link to the URL value. Drupal has the concept of linking ...
0
votes
0answers
9 views

use a conditional statement with display suites and imagecache action for image display [duplicate]

I have created a blog that has two types of blogs; images and video. Both of which have a field named Summary Image (that image displays on the blog teaser display) I have created 2 image styles one ...
0
votes
1answer
55 views

Using php if else statement in display suite

Ok i purchased a theme from themeforest called wunderkind. I liked most of the things about it except for the blog page. I liked the more traditional look of the summary image/video on the right and ...
0
votes
1answer
28 views

Is there a template for the comment links field?

I want to use ajax-links-api so that when someone replies to a comment, the url comment/reply/60/51 is loaded with ajax on the current page. I need to add rel="a class" on the reply link's anchor, to ...
0
votes
0answers
13 views

2 or more forms per panel or pane?

I am trying to insert a node edit form in one pane and a comment reply in the other (simple 2 panel split screen) but when submit the node it fails because the comment reply is typically left empty. ...
1
vote
1answer
39 views

display view mode on node based on field setting or taxonomy term of user profile

I'm using Display Suite which is awesome and an easier solution if you're not a coder. Now that I have created several view modes I'd like to set a particular view mode that is based on a field ...
0
votes
1answer
46 views

Possible to manage display of Profile2 profile fieldset on user registration

Using profile2 module I have set my Student profile to "Show during user account registration". This shows the fields I have created for the profile2 Student profile in a fieldset inside the user ...
0
votes
1answer
62 views

Add class to template based on boolean field

I want to add a class to my custom Display Suite template if a boolean field is checked on the form. I have the following code: if (isset($node->field_boolean_field[LANGUAGE_NONE][0]['value']) == ...
0
votes
0answers
21 views

Notice: Undefined index: #view_mode in ds_extras_preprocess_field()

I am seeing the following errors on my site. Notice: Undefined index: #view_mode in ds_extras_preprocess_field() (line 908 of ...
1
vote
0answers
42 views

Add attributes to wrapped element in Display Suite field template

Is it possible with Display Suite to add an attribute to a field's html tag. I want to add a class to the read more link. I've tried hook_ds_field_theme_functions_info(), but by that time the link ...
0
votes
0answers
19 views

Teaser Class Node ID

I have created a views page which displays teasers. Is there a way I can apply teaser node id as a class of the teaser's row. Currently I am getting these classes views-row views-row-8 ...
0
votes
2answers
50 views

Can I hide date field if older than a certian time using Rules?

I want to know if I can hide the values of a date field if the values are older than a certain time. The website is built with Drupal 7, and Display Suite.
1
vote
0answers
19 views

how to override function in display suite extras

I'm looking for a way to override a few things in Display Suite Extra's ds_search_extra_variables function. Easy enough to update the module directly, but I'd prefer to override it in template.php or ...
0
votes
1answer
45 views

Display Suite: Panel layouts in doesn't appear in “Manage fields”

I can select panel layouts using display suite in the manage display tab, but only display suite layouts are available in the manage fields tab but none of the panels layouts are. Can you please help ...
1
vote
1answer
36 views

Views: Insert Profile2 information in a node

I have a problem and here's my graphical illustration of it: I have tried many things that didn't work. I think the answer has something to do with adding a relationship with a node field, but I ...
1
vote
2answers
121 views

Change style of custom view mode condionally

I have a custom view mode created with ds module, this view mode lists node articles, each article displays like this : title description url term reference field some other fields... ...
0
votes
0answers
75 views

Reference Field Collection Item in Display Suite Code Field

I have a field collection called field_cast. In that collection, I have a Boolean field called field_equity_member. I also have a text field called field_actor_name. If the field_equity_member is ...
1
vote
1answer
70 views

Display Suite custom function field not firing

I need to add a Display Suite function field to a node. I set up my hook, and my field shows up and I can add it to my content type in display. However, the function isn't getting called, and it ...
0
votes
0answers
26 views

Add custom pager as diplay suite code field?

I'm looking for a way to add a pager created by the custom pagers module to a node view mode a display suite code field. This is a workaround to a problem that occurs with custom pagers and a display ...
0
votes
1answer
167 views

Custom text output for entity reference fields

In my content type I have an entity reference field. With this field editors can create internal links effordlessly with the autocomplete function. What I want to achieve is that editors can now ...
0
votes
2answers
97 views

PHP if token is equal to in DS

I want to compare a token value with php in display suite and then change it if necessary or just print it however running <?php $tokenText = ...
0
votes
1answer
143 views

Insert a collapsible fieldset or region in a panels layout

I created a custom layout for a panels display and I would like to have a region or multiple regions in my custom layout be collapsible with javascript/jquery. Ideally the state of the collapible ...
0
votes
0answers
50 views

Create settings form based on formatter in Display Suite

I'm using this article, Creating custom display suite fields, as a foundation which I have most of the basics down, but I'm still having trouble with one part. I understand how to implement ...
0
votes
1answer
47 views

How to rename a field with hook_ds_fields_info()

In a contrib module I maintain, I define a DS field via hook_ds_fields_info(). Now it happens that I want to rename this field (the machine name). (actually it is not about renaming but splitting the ...
0
votes
1answer
62 views

Display suite removing class id

I split 2 columns my contetnt node with Display Suite and add custom class to the columns. (with Bootsrap responsive class col-sm-3) But display suite still render column with old style: group-left ...
1
vote
0answers
89 views

Display Suite layouts not working for field collections Edit\Add forms

Even though I have the Display Suite Forms module enabled and applied a layout to this specific field collection, it does nothing for the edit/add forms. If I apply a layout using manage display it ...
0
votes
0answers
61 views

Simplenews : content type & email html display

I have created a new content type to send my newsletter using simplenews, I want a different layout for email display, so I have added a email: HTML custom display setting : Here is the layout : ...
0
votes
0answers
17 views

Link file to node title in Display Suite

How do you link a node title to a file in the same node using Display Suite? It seems to work for other fields except the title.
0
votes
0answers
27 views

Save Manage Display settings provided by Display Suite when creating a Feature module?

I created a content type called: Apartments, then I add some fields. I enabled the display suite module and set the manage display setting to "2col-stacked-fluid". After all this I create the ...
0
votes
0answers
45 views

How to display node 'Available translations' field separately from 'Links' field using Display Suite?

Currently, the only way to display node's available translations/languages in a Display Suite region is using the Links field, which among the others contains other node contextual links too, like ...
0
votes
1answer
362 views

Displaying taxonomy terms and its contents with views

I am quite new to Drupal and I'm having troubles in some tasks. I need to show food categories and food products as its contents. In order to do that, To begin with, I created a content type with ...
0
votes
0answers
24 views

Creating a multi-valued link with tokens

I think what I am trying to do is simple, but for the life of me I just can't work it out... I am trying to create a display suite code field to join two fields together. I've used tokens to do this ...
0
votes
1answer
382 views

How to create a custom 'fluid' layout in Display Suite

I created a Display suite custom layout following this tutorial: https://drupal.org/node/1098068 It works fine, but I need this custom layout to be Fluid. In Display Suite, the "fluid" refers to ...
0
votes
1answer
66 views

How to render a node with different DS View modes depending on taxonomy term?

I have a Content type containing a term reference field and some other fields. I have created 3 Display suite view modes for this content type. I want each node of this content type to be displayed in ...
0
votes
1answer
68 views

How can Display Suite be used with Book module links?

After settings some node types to use Display Suite I have noticed those which are in Books don't show the book links at the bottom of the page. Is there a work around for this?
0
votes
0answers
86 views

Display Suite: Dynamic fields Link formatters

I have a Link field type which takes a static title and an URL. This link is displayed in the content with the Title as link using Display Suite. What I have is something like this: <a ...
0
votes
0answers
63 views

Display suite - taxonomy term ID (instead of term name) as the context of a view

I have a content type C1 that contains a taxonomy (Category) field (single value). For any node from this content type, I want to display a set of other nodes that refer to the same term ID through ...
0
votes
0answers
10 views

Display dynamic field in views

I have a dynamic field which renders the a taxonomy image in my content. I would like to use this field in a view, however, I am unable to locate this field when I want to add fields to my view. Is it ...
0
votes
1answer
57 views

How to manage the display of a multiple value field in a individualy way?

I have a content type with a field called "anotations" which is set to have 2 values. Im using display suite,then in admin/structure/types/manage/mycontenttype/display I'd like to show the 1st value ...
0
votes
1answer
260 views

Creating custom field with Display Suite and Profile 2

I am trying to use Display Suite (newest version) to format the profile page for users. I am using the Profile2 module and the default main-profile type. I have the user's full name (not username) ...