The display suite is great!

I cannot make it it work with the module Views attach. This module attaches a view to a node (created by Jeff Eaton).
Attached views are listed in the the Display suite > Layout and can be configured. In fact the attached view appears twice, as the views itself and as the attached view.
But the content is not displayed.

I have enabled ds, nd cck, node displays and views display.

Thanks, wishing you every success with the Display Suite!
Henrik

Comments

hs@henrikstrindberg.se’s picture

Component: Miscellaneous » Code
swentel’s picture

I'll take a look at the issue somewhere this week - hope I can reproduce :)

swentel’s picture

Wow, this is really a cool module! So what I have now on my local machine is this:

- views displays module and a view with the attach display attached to a page content type, full build mode
- i went to the view in display suite and put the content of the view in the middle region.

I don't see the view when the full node is enabled, however, when I disable it (at admin/ds/nd/buildmodes), than I see the view appearing. Of course, at that moment, Display suite is not rendering the node anymore, so the key here is when there is such a view attached to the node, that view is exposed as a field within the node layout so you can put that view anywhere in a region.

oh and the view appearing twice is normal (on the layout page) since we're showing all view displays (unless I missed something).

So, in short, I'll make some changes in views displays, so that display will be available also as a field in the node page. I'll update here when I committed that code.

swentel’s picture

Project: Display Suite » Views displays
Version: 6.x-1.0 » 6.x-1.x-dev

Moving this to another queue where it belongs, working views displays should be available this weekend hopefully!

swentel’s picture

Status: Active » Fixed

Ok, this is commited to the development version of views displays, next build will include this functionality. Features

  • The views attach will be available as a field on the content type
  • The views attach will be excluded though from layout - it's a bit to complex right now, might happen in the future
hs@henrikstrindberg.se’s picture

Thanks for taking care of this!

I like the Display Suite! It's a major step forward.

All best / Henrik

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

ressa’s picture

I can confirm that this now works: I use it to attach the author's user name, badges and profile image to a CCK node using "Node content" from the Views Attach module.

Note: Remember to give your Node content a title, otherwise it will show up in DS with the title "none" and easily overlooked.

Thanks for a great module!

ressa’s picture

I was trying to attach the "User profile" View mentioned above to another view, where I was using "Row style: Display suite fields" to arrange the fields, with no luck.

It suddenly dawned on me, that if I in stead used the "Row style: Display suite node" to arrange the fields, the "User profile" View would be available. And that was the solution 8o)