Hi there,

It doesn't appear that Multifield gets fed through Display Suite when it is doing its theming. I tried using DS on the default view mode but Multifield output its own theming (I'm guessing). I also tried creating a custom view mode and using DS on that but to luck there either.

I suspect all the field injection stuff your doing skips the DS theming? Anyway, just wondering if this should work and I've missed something or whether it might be a useful feature to have if not?

Thanks - Multifield looks great and I always have a chortle at the Multipass photo!

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Dave Reid’s picture

Status: Active » Postponed (maintainer needs more info)

I'd need to know what hook or process DS uses to do it's theming to know if we're skipping it somehow. I don't use DS myself, so I'd need someone to do a little digging to see what it is.

And thanks!

nithinkolekar’s picture

I don't know whether DS should work with any kind of fields by default or not, but it certainly playing well with field collection item especially in form where we needed to show form fields side by side using DS forms.
As with the multifield it doesn't working both with forms and view modes(manage display).

epringi’s picture

I've run into the same problem. Got a form with multiple multifields, it would be pretty nice to be able to use DS to organise them instead of CSS.

ademarco’s picture

Status: Postponed (maintainer needs more info) » Needs review
FileSize
3.25 KB

Attached a patch that offers Display Suite integration, it introduces a multifield entity theme function (like theme('node', ...)) allowing DS to hook-up into its rendering.

Status: Needs review » Needs work

The last submitted patch, 4: multifield-integration-with-ds-2307423-4.patch, failed testing.

ademarco’s picture

Version: 7.x-1.0-unstable9 » 7.x-1.x-dev
Status: Needs work » Needs review

Fix version.

permanaj’s picture

Patch #4 is working for me.

paulwdru’s picture

Hi nithinkolekar,

How do you hide and make the Field Labels appear as placeholder in this picture ? Using CSS to tweak ? As I know Display Suite does NOT have hide label feature in form layout fc

I created a similar layout using Field Group Multiple module as follows but Multified does NOT save the entered value as raised in #2690429: Layout & crash with Field Group Multiple module
phone

ademarco’s picture

Status: Needs review » Reviewed & tested by the community
eit2103’s picture

So, the patch didn't work for me. Anyone else with the same problem?