Problem/Motivation

If a node content view (using the Views attach module) is placed within a fieldgroup in Display Suite, it does not render. Looking at the $field array in theme_ds_field() shows that $field['content'] = FALSE for that field. If the content view is moved out of the fieldgroup, it renders as expected.

Comments

xtfer’s picture

What sort of fieldgroup are you using? A CCK fieldgroup or a custom one?

jstoller’s picture

A custom fieldgroup. Though I also tried sticking the views in a random CCK group that I had in the same display and that also didn't work.

jstoller’s picture

I've tested my site with the latest DS dev release and am still experiencing the same problem.

pomliane’s picture

Version: 6.x-2.0 » 6.x-2.2

Same issue in the last release apparently.

xtfer’s picture

Title: Node Content views in a DS fieldgroup don't render » Preprocessed and Ignored field types (e.g. Views) in a fieldgroup do not render
Status: Active » Fixed

As it turns out, this applied to any fields of type "preprocess" or "ignore". View are the latter. They were having their content assigned after groups were packed, and thus never ended up with content. I have reversed this, and the content is now showing up correctly. Expect a fix in the next dev.

Status: Fixed » Closed (fixed)

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

charlie-s’s picture

Has this been fixed? I'm seeing a preprocessed field that's configured to be inside of a fieldgroup appearing outside of it. Using 2.x-dev.

xtfer’s picture

" I'm seeing a preprocessed field that's configured to be inside of a fieldgroup appearing outside of it. "

That wasn't this issue, which was no fields displaying at all. If you can provide steps to replicate your issue, please open a new ticket. Thanks.

charlie-s’s picture

My bad, I was reading multiple issues across DS and field_group and got this confused. I'll post a new issue in field_group since I believe that's where the problem ultimately lies.