Problem:

ds_theme_suggestions_field_alter doesn't apply the right ds field template function, it only works with the default settings.

How to test:

  • Create a node type, news, add a layout and display the post date
  • Set the default ds field template to reset
  • Set the post date ds field template to expert

The settings are saved, but it goes through the default theme function: theme_ds_field_reset

Debugging
We found it goes wrong somewhere in ds_theme_suggestions_field_alter

Work around
Use expert as default setting.

I will check this evening if I can create a patch.

Comments

danielbeeke created an issue. See original summary.

danielbeeke’s picture

StatusFileSize
new648 bytes

This problem has to do with the changing of the view mode to '_custom',

See https://www.drupal.org/node/2563925,

Maybe there are more parts where we need to change something.

aspilicious’s picture

I think I have a better shorter solution but you get the credits for finding it.

aspilicious’s picture

Status: Active » Fixed

This should fix your problem...

Status: Fixed » Closed (fixed)

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