Closed (cannot reproduce)
Project:
Display Suite
Version:
5.0.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
12 Dec 2015 at 16:54 UTC
Updated:
16 Sep 2022 at 09:25 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
aspilicious commentedComment #3
protostruct commentedHere is a patch that works for me.
Comment #4
ruslan piskarovThank you, protostruct.
Your patch works for me.
Attaching the same path with minor fixes.
Comment #5
protostruct commentedHi Ruslan, you are welcome.
I just want to point out that the additions in your patch are entirely unrelated to this issue, mostly formatting related. Why the changes to ds_theme_suggestions_alter? Please put then into separate issues and explain the changes.
Comment #6
aspilicious commentedComment #7
protostruct commentedWhen doing it like this, there is no need to store the default field template configuration for every field formatter by default (once touched and saved). But how to properly optimize it?
Setting
$default_field_functioninds_field_template_settings_formandds_field_formatter_settings_summary_alteralways to 'default' gives "Field template: default" a different meaning.To be complete, there should also be the full field template configuration form on the DS settings page.
Comment #8
swentel commentedQuick testing revealed that this doesn't seem to work indeed.
When setting it to say 'minimal', the summary in the interface shows 'minimal' which is kind of ok. But you could also expect that it would show something like 'Default (minimal)'. Even setting it to 'Default' doesn't trigger this. So really confusing.
Comment #9
xenophyle commentedWow, this is a pretty major bug. I noticed it because some fields were getting the right CSS and others weren't. I have applied the patch from #3 and initially it seems to work. I don't quite understand the problem reported in #8.
Comment #10
swentel commentedComment #11
swentel commentedChecked again, this seems to be working fine now, probably fixed somewhere else.