Display Suite

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
This group should probably have more organizers. See documentation on this recommendation.

This group exists as a place for people interested to talk about Display Suite development or share use cases; all development talk is encouraged here, from people who want to work on Display Suite to people who are interested in the API for their own modules. This is a good place to:

1) ask questions
2) talk about problems
3) propose ideas
4) talk about DS related projects

This group is now unmoderated, and anyone can join at any time. Public posting of ideas is encouraged.

Note: This is a working group. Do not post jobs here, you will lose your posting privileges entirely. Do not post support requests here; they will be deleted.

MaTaX's picture

gravatar does not display with user picture

I am using display suite to manage the way a blog post displays, and the user picture works but instead displays a unknown man image. When I click on the picture to go to the profile page, the Gravatar image pulls in fine there but not on the blog post. Anyone know why this is happening?

Read more
tomgrandy's picture

In D6, Print in IE Doesn't Split Regions to New Page

In creating a new forms manager for our school district, we discovered and have implemented Display Suite in a Drupal 6 environment and are very pleased with what it can do.

The last piece of the puzzle for us now is to get the forms to print correctly.

In Firefox, the forms regions are kept intact on a page and if it a region does not fit, it moves it to the next page. Which is good.

In IE, the regions just spill over their information onto the next page which makes no sense since there are no category headers.

Read more
criscom's picture

Display suite: Teaser cuts off at . (full stop) and not the set number of characters

I am having this issue with Display Suite with Omega theme.

I have set trim after 80 characters. But if I have a text like,

"Yesterday we went to see Mr. Robinson blab lab bla bla bla bla bla bla bla"

only "Yesterday we went to see Mr." is shown.

Seems related to Display Suite.

Any ideas?

Read more
criscom's picture

Add Trim only on a word boundary / Add an ellipsis

Adding the Trim only on a word boundary / Add an ellipsis functionality would really boost Display Suite's Trim Option and make it really usable. I made some really cool views with Display Suite Format Options but had to remove it because my customer did not like that words where cut off after two or three letters.

Did anyone have the same issue? Is there a work around?

Best,
Chris

Read more
junkbox's picture

Is there a thread dedicated to custom DS Layouts?

i'd like to share a custom Layout I made this morning with the group, but didn't want to cross post if such a thread already exists.

If not, I would gladly start one.

Read more
mtaussig's picture

Drupal 6 mystery: no way to choose a layout

When I look for the "layout for _________" on the Manage Fields tab (or Display fields) of the content type there is nothing there.

Works for me fine in Drupal 7.....I've done two fresh installs....and I think I must be missing something simple.

Am I missing a module?

Is there some other way...via the Display Suite tab...to get at choosing a layout?
Been banging my head on this for days.....

Read more
mrweiner's picture

Problem with formatting fields

Two questions that I guess are both a part of one bigger idea. When creating a content type, I've been trying to figure out how to both indent a field and create a line break after a field both by default. For indenting I have tried adding spaces before the field name, but because it's empty space they are disregarded and displayed as normal. For the line break, I've tried adding a custom code field with br or p, and simply adding a blank field, but in both situations as there is no text to display, the field is not displayed at all. Any suggestions?

Read more
funature's picture

how to add a field to display the add/remove friend action item using user relationships module?

i use DS in user profile page, everything works fine. but i just don't get it, how to add a field to display the add/remove friend action item of the UR module, like it in default view mode displays. Does anybody know how to make it? thanks!

Read more
warlock's picture

View all fields in one form

I want to create a bunch of blocks from one form and have them placed in certain regions. The idea is to make it as easy as possible for a client to create a new site with several different entities from a central location. So if I have one content type with a bunch of fields I'd like to create blocks from those fields and hopefully do it all from one form. I'm able to achieve this for the most part with Display Suite but I can't get the blocks to display on more than one node due to the fact that the display is attached to a specific node.

Read more
Alex Arnaud's picture

Panel view mode doesn't work with custom fields

A very interesting feature in Display suite is working with custom fields. Particularly, the ability to add dynamics fields that have not been created with field ui module and are not viewable in "manage display" page. For instance, the sharethis module adds html code to a node by dynamically inserting a field like that:

$node->content['sharethis'] = array(
        '#markup' => "<div>.....",
);

This happens in a hook_node_view in sharethis module.

Read more
marymasterman's picture

Problem editing styles of fields in expert mode

This may have been asked elsewhere, but I am having trouble finding it. Sorry if this is a stupid question, I am very new to all of this...

I am completely new to CSS and Drupal, so I have been having some trouble with this. I am using Display Suite to display fields in three columns. Right now the fields look very drab. I want to put space in between them (wrapper?) and change the fonts, etc.

Read more
jmolivas's picture

Blocks not shown using context

I been using DS and Contex about a year ago may a little more in our last 6 or7 website sites on Drupal 7, but now I doing something I haven't done before using the "View mode per node" from Extras.

I have a content-type Article the following Node have the Default Full VideMode applied and have a context in place in order to show some blocks below content "Novedades (Two teaser nodes) + Image".

http://cuamoc.hechoendrupal.com/es/brindando-un-mejor-futuro/responsabil...

Read more
upunkt's picture

Problem with theme_render_template() and custom Display Suite tpl.php-file

I'm new to display suite and ran surprisingly into a problem that occurs only when trying to preview a page based on a content type using display suite. I got two warnings, that files that are "obviously" there are not found by the theme_render_template()-routine in theme.inc (line 1382).

One could maybe ignore the problem since the site is working except for previewing. But I was a bit worried.

Apparently the function searches for a file using "-" in the file name where I used "_".

Ergo: NEVER use underscores in the filename of the customname.tpl.php.

My path structure was

Read more
gerbreown's picture

Some Display Suite questions/problems

I have just started using Display Suite and have the following problems:

  1. In Modules when I click "Configure" it takes me to "admin/structure" and I don't see DS listed there anywhere.
  2. In "Content type/Manage fields" I tried using 2 column-stacked, the only one available, and when I TRY to move fields to any region, NOTHING happens.
  3. In "Content type/Manage display" I tried "Add custom field" and when I select any one of them, I get "An AJAX HTTP error occurred.
    HTTP Result Code: 200"

Any ideas how to get around these problems???

Thanks.

Read more
swentel's picture

Which DS Extras feature do you always enable and should be included in DS core by default in the next release ?

Page title options
0% (0 votes)
Contextual links
100% (1 vote)
Revision view mode
0% (0 votes)
View mode switcher
0% (0 votes)
Region to block
0% (0 votes)
Total votes: 1
xtfer's picture

Announcing Display Suite 6.x-2.0 Release Candidate 1

This release includes support for CCK3 multigroups, database storage and performance improvements, as well as many internal API changes. This is a recommended upgrade if you have a lot of displays, as it moves display storage out of the variables table.

Read more
sean_msu's picture

Add custom field not displaying

Hi,
The "Add custom fields" button is not appearing under "manage fields" on my site. I clicked on all the extras, so I must be missing something. I think the issue is that the conditions in this statement in ds.field_ui.inc are not being met:
if ($entity_type != 'ds_views' && isset($form['#ds_layout']) && user_access('admin_fields') && $view_mode != 'form') {
_ds_field_ui_custom_fields($entity_type, $bundle, $view_mode, $form, $form_state);
}

Read more
matthewv789's picture

Using more regions than supplied by default?

Per http://realize.be/display-suite-drupal-7-taking-full-render-control-over...

It's now possible to create any number of regions. We ship with a couple of predefined layouts which have default css and a template file that can be (un)loaded in any occasion. ... Defining or configuring the setup of custom template files from a module or the UI is easy and done in a few steps.

But I don't see the "few steps" referenced anywhere (especially with regard to using the UI).

Read more
henitoon's picture

Double title in custom display setting

Hi,

My issue is; that after setting up a custom display (field arrangement) I get double titles on my nodes. I get the hardcoded (!?) and the one that Display Suite provides. Everything else works like a charm. What am I doing wrong?

I am at the moment hiding the original hardcoded title with the Delta module. Though I dont know if this is proper handling of the issue, at least from a SEO perspective. So a second question, is this a valid "work around" from a SEO perspective? (I have given custom title field H1, which means that I have two H1 HTML tags on every node.)

Read more
Anonymous's picture

Special characters

In a field display read more link, I want to replace the text 'Read more' with 'Click here to read more (double right quote)'. Entering » simply results in &raquo; being displayed. Is there a simple way around this? I am using an Omega sub-theme.

Read more
Subscribe with RSS Syndicate content

Display Suite

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week