It took me quite a while to find out how to apply field classes to fields.

I created a list of classes on admin/structure/ds/classes. But on the admin/structure/types/manage/node_type/display/teaser there was no option to apply the classes to the fields. After some searching around it appeared that overriding fields is an option of Display Suite Extras, and this submodule needs to be enabled in order for the field classes to become selectable.

Perhaps it is an idea to hide the field classes option if ds_extras is not enabled, or explicit make people aware of this requirement in the field description on admin/structure/ds/classes?

CommentFileSizeAuthor
#6 hide_field_classes-2499703-6.patch1.46 KBbceyssens
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Neograph734’s picture

Issue summary: View changes
aspilicious’s picture

Assigned: Unassigned » bceyssens
Neograph734’s picture

Issue summary: View changes

  • bceyssens committed e8af4b9 on 7.x-2.x
    Issue #2499703: Hide field classes option when DS Extras is not enabled
    
bceyssens’s picture

Status: Active » Fixed
bceyssens’s picture

Ok, I misunderstood the issue at first. We decided to hide the "field classes" option when DS extras module is disabled.

  • bceyssens committed 9821b0c on 7.x-2.x
    Issue #2499703 by bceyssens: Hide field classes option when DS Extras is...
aspilicious’s picture

Version: 7.x-2.10 » 8.x-2.x-dev
Status: Fixed » Patch (to be ported)
bceyssens’s picture

Status: Patch (to be ported) » Fixed

  • bceyssens committed ca2a517 on 8.x-2.x
    Issue #2499703 by bceyssens: Hide field classes option when DS Extras is...

Status: Fixed » Closed (fixed)

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