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

1
vote
0answers
13 views

How to apply Panels layouts for CiviCRM pages

For CiviCRM pages Events and Contributions that has paths of e.g. www.site.com/civicrm/contribute/transact?reset=1&id=1 www.site.com/civicrm/event/register?id=23&reset=1 And so on. Problem ...
0
votes
1answer
8 views

View modes are stuck on default view

I had my site for quite some time and just started to use the display suite view modes feature for changing the displays per node. I made new view modes and tried to change them for my nodes, but it ...
0
votes
1answer
26 views

custom user profile pages

I am working on a directory for a membership organization. I am trying to create two distinct user pages. One for the user themselves (and admins) and one for the public to view. I would like these ...
0
votes
1answer
24 views

How to create a view of Users and use uid field with Display Suite view mode

I have been able to create a view of Users with format of Fields. I added user fields, and and found the UID field as well which I can use to link a field to the user's profile page. However, I ...
0
votes
1answer
10 views

Can I search Taxonomy terms within display suite

I don't think so, but I'm throwing it out just in case I am incorrect
0
votes
2answers
21 views

PHP snippet: why comparing the term id with a number keeps getting the wrong result?

I have a Drupal 7 site. I have this taxonomy field that I get printed out using tokens and Display Suite Module. So, if I create a "code field" at /admin/structure/ds/fields, I can type: ...
0
votes
0answers
17 views

Display Suite + Views + DS Block Field

I would like to print Display Suite Block Fields inside of a View (Display Suite Mode). I selected the view mode, all fields appear except my block fields. Background: With a view I am printing nodes ...
0
votes
0answers
49 views

How to create custom entity property display formatters

I am collaborating on a module CiviCRM Entities, which creates Drupal entities from CiviCRM 'entities', and provides access to the Drupal Entity API, manage fields and manage display, view, edit, ...
2
votes
2answers
25 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
19 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
24 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
71 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
11 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
40 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
21 views

Display suite fields visibility restriction

Is there a way in DS fields visibility restriction with url pattern?
0
votes
0answers
17 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
53 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
60 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
40 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
19 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
32 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
72 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
82 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
130 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
206 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
29 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
48 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
42 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
12 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
1answer
45 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
35 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
97 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
20 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
229 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
8 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
72 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
37 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
153 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
119 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
102 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
202 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
43 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
76 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
27 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
70 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
35 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
77 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 ...