Making a mirrored issue of #1559344: Compatibility with Display Suite

http://drupal.org/project/conditional_fields stops working when using a DS layout to manage display.

Comments

swentel’s picture

Status: Active » Postponed (maintainer needs more info)

Did some quick testing and the behavior (although it seems like CF doesn't seem to be that stable yet) was the same with or without DS layout.
Pretty sure this is a CF issue, but I'll leave it open until someone can give some steps to reproduce.

swentel’s picture

Status: Postponed (maintainer needs more info) » Active
Issue tags: +RC blocker

Tagging as important before making an RC because of potential API changes - we'll be investigating this next week.

swentel’s picture

Issue tags: -RC blocker

untagging as release blocker

travisc’s picture

I'm not sure that this is a DS issue but what i've experienced is that code fields and dynamic fields, do not show up as dependent or dependee fields in the conditional fields UI. Which makes sense because conditional fields requires the EDIT CONTEXT SETTINGS of the form to be filled out in order to show VIEW CONTEXT SETTINGS. And DS fields don't exactly show up in the node edit form.

Unfortunately it's a shame it works this way because it would be very useful to be able to conditionally display DS fields. Maybe there's a way to plug in DS fields into the CF UI and make this work? PM me i can probably get some funds together for this to happen...

swentel’s picture

I've been thinking a bit more on this and another option would be to create a module which depends on http://drupal.org/project/field_formatter_settings
I'm going to investigate this week.

swentel’s picture

Category: bug » feature

I'm turning this into a feature request.

I just uploaded Field formatter settings (note in extreme alpha status) - see http://drupal.org/project/ffc - has support for field api and ds fields.

swentel’s picture

Status: Active » Closed (won't fix)

I'm not going to support this (or at least write myself), everything is focused on ffc.

knalstaaf’s picture

Issue summary: View changes

This article suggests the problem may be with the Conditional Fields module: Conditional Fields and Display Suite

knalstaaf’s picture

Project: Display Suite » Conditional Fields
Version: 7.x-2.x-dev » 7.x-3.x-dev
Status: Closed (won't fix) » Active
knalstaaf’s picture

Title: Compatibility with Conditional Fields » Compatibility with Display Suite
jeremyr’s picture

Just confirming the "problem" here. Per that article from comment 8: The dependee field needs to be visible in the Display Suite layout. If it's not there is assumes the condition has not been met.

My work around for now was to add the dependee field and then hide it with CSS.