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

2
votes
2answers
18 views

Fatal Error after creating Custom Display Suite layout

I am using Display Suite and I created a custom layout called ds_6row when I Flush Cache I get the following error Call to undefined function ds_ds_6row() in ...
0
votes
1answer
16 views

Manage Display page not displaying anymore

I set (or at least tried to) my user display page (admin/config/people/accounts/display) to use DS 1col on friday and part way through the request my computer crashed out (the server is running on the ...
0
votes
0answers
19 views

Commerce Product Add On HTML Wrapper For All Linked Products In Add To Cart Form?

I'm using the Commerce Product Add On Module, which uses Entity Reference to insert 'optional' products into the Add To Cart form in the form of checkboxes. I want to create a DIV which encapsulates ...
1
vote
1answer
51 views

How can I use Display Suite with a Drupal Commerce view?

I am new to Display Suite and want to use it with the Drupal Commerce checkout forms. In particular for the review stage, which is made from a view. I want to display the order summary in the left ...
0
votes
0answers
10 views

Display relative content based on location within site using Display Suite, Views and Contextual Filters

display suite and possible contextual filters question. I'm looking to render to the page a content type that has two view modes created with DS (Display Suite) I would like to have one view mode to ...
0
votes
1answer
38 views

How to create a view mode preview within the display suite module

I am using Display Suite to create two new view modes within my D7 instance. They are: Wide Square I can get them created and and added to the content creation form BUT I'd like to create a ...
0
votes
1answer
18 views

Display suite fields visibility restriction

Is there a way in DS fields visibility restriction with url pattern?
0
votes
0answers
13 views

Create a feature for Quiz changes

I made some changes to Quiz and Multichoice content type created by Quiz module: I added a couple of fields and I changed display modes (using display suite). The problem is I can't create a feature ...
0
votes
2answers
39 views

Display a product with two columns

I want a two-column page layout to display my products which I create with 'drupal commerce'. The layout is basically the picture and similar articles on the left. Description on the right. Now, I ...
0
votes
1answer
46 views

How to apply a function to the title of a teaser made with display suite?

I'm pretty new to functions and PHP (so please forgive my terminology) but here's what I would like to do: Background My homepage contains a view displaying various content type teasers. I would ...
0
votes
1answer
36 views

Is it possible to change the layout of the registration form using display suite?

My registration form contains the following fields -Name -City -Mobile -Email -Password -Confirm Password -Terms and Conditions (using legal module) Is there some way to change the layout? I want it ...
0
votes
1answer
17 views

How can I embed view results right in the content region as if it's part of the content?

I have a node type with some entity reference fields that displays teasers. I also have a block view that takes a URL component to display related nodes that are not referenced on the node's entity ...
1
vote
1answer
24 views

What is the php code to display a field of a referenced node in the node form of the node that references the node?

So I have a node (content type A) with some text fields and a reference field referencing another node (content type B). When a user wants to update one of the text fields an existing node (content ...
1
vote
1answer
55 views

Can I use panels (page_manager?) to layout create/edit forms pages for arbitraty entity?

I am new to panels and display suite both and trying to figure my way around those modules. In "Display Suite" with "Display Suite Forms" you get an extensive list of all entities and bundles and can ...
0
votes
1answer
54 views

How to remove submitted & author information on Entityform submission view?

I'm trying to remove the author/submitted information from an entityform submission view and I don't seem to find the right way to do so. I'm using Display Suite to manage the view of the email that ...
2
votes
1answer
92 views

Where is the entity in code field? [Display suite module]

I create a code field in Display Suite module and I need to insert a format_plural in it like print format_plural([node:comment-count], '1 Comment', '@count Comments'); but token do not work in ...
1
vote
1answer
157 views

Entity Malformation Exception Error

When I try to access some specific pages, I get the following errors in my log, one after the other: Notice: Trying to get property of non-object in ds_field_formatter_view() (line 1233 of ...
0
votes
0answers
23 views

How can I display a hierarchical taxonomy in a view, page, etc. in a tree-like style?

I am able to get a tree view for the authenticated user or admin when assigning categories to content. What I want is a way to display all the category terms in a tree-like fashion, with parents and ...
0
votes
3answers
46 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
33 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
9 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
35 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
30 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
2answers
79 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
18 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
137 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
7 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
56 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
35 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
138 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
41 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
14 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
95 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
95 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
166 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
38 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
62 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
25 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
66 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
33 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
68 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
63 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
225 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
129 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
95 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
33 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
333 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
200 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
217 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 ...