I just installed Display Suite and am experiencing a problem similar to the one described in #1211182: View node title on manage display page.

After tweaking the layout the title field finally appeared as an available field. The title field value can be made to appear in the default view mode, but when I try to display a title with my custom view mode it doesn't appear. I've attached some screen shots. What might be going on here?

Comments

Anonymous’s picture

Category: support » bug

Same issue. Seems to be a bug.

Despite configuring a node's Title to be displayed in a custom view mode, it never shows up.

Same behavior, by the way, for the Read More element.

Anonymous’s picture

Category: bug » support
StatusFileSize
new130.32 KB

Problem solved.

I went to admin/structure/ds/list/emergency and unchecked the configuration field labeled "Disable attaching fields via Display Suite ". Doing so makes the node's Title, etc. show up now in my custom view mode.

DS Config

NOTE: It should be noted that the custom view mode in question is actually rendering a node inside another node's rendering. This is at odds with the page's assertion "You probably are trying to render an node inside a node, for instance through a view, which is simply not possible." That is exactly what I am doing, where the outer node's custom view mode incorporates a custom view mode of a referenced entity. And the outer node is displayed by a Views accordion display plugin. Thus the configuration page's assertion cannot be true.

sah62’s picture

For what it's worth I don't have "Disable attaching fields via Display Suite " set.

SMRussell’s picture

Version: 7.x-2.0 » 7.x-2.2
Category: support » bug
Priority: Normal » Major

This is a bug. The custom display mode editor only presents CCK fields, and ignores default fields such as Title, etc. PITA.

IMO _every_ property associated with a node should be available for display in DS; node id, attachments, taxonomy terms, etc, etc.

swentel’s picture

Category: bug » support
Priority: Major » Normal
Status: Active » Closed (fixed)

Re-open when there are steps to reproduce, , just moving something to major and bug reports is not a way go get things done.

sah62’s picture

Thanks for attempting to answer the question I originally posted, @SMRussell.

fdg123’s picture

Version: 7.x-2.2 » 7.x-2.3
Category: support » bug
Priority: Normal » Major
Status: Closed (fixed) » Active

I found this bug in 7x-2.3 also.
SMRussell is correct it is a bug and here are the Steps to Reproduce:

SetUp:
Linux/MySql hosting.
Drupal Core 7.22
Views 7.x-3.7

First -
Create a new content type call it Directory, The first field is the node title call it 'Business Name'. Give it a field called 'Category Type' (a text list field, with 3 different categories), a text field 'Slogan', a text field 'address'.
Enter a dozen pieces of Directory content with data in all fields and various different Category Type's checked from the text list for that field.
Create a View to list the content type 'Directory' by 'Category Type' with exposed filter. (So people can search by Category) Call the View "Directory by Category", it will be available at ' /directory-category' .

Then Second -
Install Display Suite 7.x-2.3. Go to Extras: enable field templates, choose drupal default.
Goto CSS classes configure a class for fields call it 'class_slogan'
Go to Manage Display; choose a 1 column layout, click on cogwheel next to the 'Slogan' field, select 'class_slogan' from drop down. Save.
Do not check "Disable attaching fields via Display Suite" in emergency.

Now Third -
Go to www[dot]yoursite[dot]com/directory-category (this is location of your view)
From the exposed views filter choose a 'Category' from the drop down list, click 'Apply' button.
As you should now see there is no node title 'Buisiness Name' listed at all on any of the views list. Each separate Business is a different node of the content type Directory. Node title's of content type 'Directory' are not showing in views list with Display Suite installed.
They do just fine without it.

Thanks,
fdg123
PS: as it is this makes this module un-usable for my current project :(

swentel’s picture

Priority: Major » Normal
Status: Active » Closed (works as designed)
StatusFileSize
new62.53 KB

I can't reproduce this at all, see screenshot, so this works fine. Creating a view with teasers lists the node title perfectly fine, we would have known by ages if this was the case as we use this on a daily basis on our projects.

KevinVanRansbeeck’s picture

I had the same issue.
I posted the solution that worked for me at https://drupal.org/node/1211182#comment-7708215

willowdigit’s picture

I have the same issue. The title shows up fine when viewed as a single node, but when displayed in a view (using the same view mode - full) it does not display at all. Tried all the permutations for the FORMAT settings in the view to no avail.

fdg123’s picture

Re: My prev post #7

I was unable to reproduce the problem using a core theme (Bartik), but the problem is there in a custom theme I bought from Rockettheme, so it must be something with it. Anyways my work around was to use a custom node.tpl and a custom field.tpl and not use this module because I did not want to start over with another theme.

Summary: this module works as it should, but some custom themes will not work with it.

Frank

planettucker’s picture

Issue summary: View changes

Just wanted to chime in - I know it is two years old and closed but #2 fixed my issue with the latest stable version as of the time of this post.

solerous’s picture

None of these solutions worked for me, but here's what did. In Administration > Structure > Display Suite > Extras (tab under Displays tab) I had to uncheck the option, Enable extra fields which is the second menu option on the left.

schiavone’s picture

I found that when "Field permissions" was enabled under /admin/structure/ds/list/extras no matter what permissions were set my title field was hidden when using a view mode.