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
19 views

Is it possible to display views result counter as a field in a node?

Using D7 and the latest DS and Views modules, is it possible to display the node position in a view (view result counter) inside the node full view display? I'm ordering views items based on rating ...
0
votes
1answer
11 views

Using code field to display field from referenced entity

I have a content type of 'facility' which has an entity reference field ('manager') to a user. The user has a field 'telephone'. Is it possible with a code field to display the manager's telephone ...
1
vote
0answers
11 views

How to change node display according to value of date field

I have a need to display a node differently once a date field ('subscription expiry') of the node has passed. This is for subscription-based content. Ideally I would like to be able to choose a ...
0
votes
0answers
8 views

Smart Paging: can it work with custom view mode (other than full)?

Relevant modules: Smart Paging 7.x-2.1 and Display Suite 7.x-2.2. Pagination works for full view mode but it doesn't work for my custom view mode which I set through hook_entity_view_mode_alter in ...
0
votes
2answers
27 views

Use Views field output as a class? Tokens?

I have a field in my view which displays the taxonomy vocabulary that each result/node is linked to. However, I need a way to get that taxonomy vocabulary result and use it as a class for the view row ...
1
vote
1answer
17 views

Enable field formatter settings

I have a field that I created using hook_field_extra_fields, and I want it to have a cogwheel like in the image below, so that I can customize it. Right now the only format setting for the field is ...
0
votes
1answer
15 views

Taxonomy fields in node default display using display suite

I have a content type called "product" and a taxonomy called "producer". On each product, I can select a producer. The producer has some fields I need: "country", "area", "district". I need to ...
0
votes
0answers
7 views

How to add themeable content to a term display with Display Suite

So I thought I understood this, but apparently not. I have a module that implements hook_preprocess_taxonomy_term() to add on a 'starrable' element. function ...
0
votes
0answers
15 views

Display Product Field twice

I simply want to display Product Details twice on my page. I use Display Suite for displaying all my fields on the node (Product Display) and for displaying the field twice, I would like to use a ...
0
votes
1answer
25 views

Add the same field multiple times to a display suite node display

So I'm using display suite with a 2-column layout, and my node has an entity reference field (field_journal). I'm already displaying field_journal as a rendered entity in the LH column, but I'd also ...
0
votes
1answer
29 views

Howto pass the uid of a node to a view inside a dynamic display suite field?

I have 1 node of the content type "tourism" and 2 nodes of the content type "tourism news". All 3 nodes belong to the same author (uid 33). The "tourism" content type has a dynamic display suite ...
0
votes
2answers
25 views

How to set static field on Display Suite

i would like to set a static field using Display Suite in Drupal 7 but don´t know how. It´s a text snippet that won´t change so i want to place it using a field. Can somebody help me how to do it? ...
0
votes
0answers
16 views

display suite code - set token value of color field module as php variable an convert to rgb

$hex = "[node:field-ref-participants-category:field_color]"; print $hex; list($r, $g, $b) = sscanf($hex, "#%02x%02x%02x"); echo "rgba($r,$g,$b,.9)"; Why does $hex printed correctly, but doenst work ...
0
votes
0answers
29 views

Change picture module image style programmatically

I am using Views, display suite and picture module to display a page containing products (teaser) and I have 2 layouts: with 3 columns and with 6 columns. Based on the layout, I want to change the ...
1
vote
0answers
9 views

Can DS manage “admin tabs” placement for a node?

Is there an existing sub-module or someplace i'm not looking for Display Suite to allow me to arbitrarily place the View, Edit, Revisions, Manage Display, Devel tabs that appear when viewing a Node... ...
0
votes
1answer
49 views

Display field from referenced entity using Display Suite and Views

I have a view which displays some products (node) teasers. In the products, I can select a producer (taxonomy term). Now... In the products teasers I want to display the country, which is a field ...
1
vote
2answers
36 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
26 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 ...
2
votes
1answer
55 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
34 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
19 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
23 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
32 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
134 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
34 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
26 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
48 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
116 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
45 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
25 views

Display suite fields visibility restriction

Is there a way in DS fields visibility restriction with url pattern?
0
votes
0answers
25 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
79 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
80 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
41 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
22 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
37 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
111 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
124 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
212 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
282 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
36 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
53 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
51 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
13 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
56 views

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

this node endpoint - http://cms.tripchi.com/drupalgap/node/35921 - in my Service includes... field_photo: { und: [ { fid: "810", uid: "1", filename: "dxb-airport_1.jpg", uri: ...
0
votes
0answers
46 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
145 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
26 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
372 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 : ...