Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Move display related settings from manage fields to manage display. As for the suggestion made in comment #5 in #2816395: Make it possible to disable sticky table headers:
I understand why the setting was added in the manage fields section, as there are other settings related to the header, however it would make more sense to add it to manage display, because it is a display setting. For that maybe a new issue should be created.
See screenshots.
Comments
Comment #2
lolandese CreditAttribution: lolandese at HCL Technologies Limited commentedComment #3
lolandese CreditAttribution: lolandese at HCL Technologies Limited commentedComment #4
lolandese CreditAttribution: lolandese at HCL Technologies Limited commentedInitial patch moving only the 'Sticky header' setting for now.
Comment #5
lolandese CreditAttribution: lolandese at HCL Technologies Limited commentedAdded also the 'Hide table header row' settings. One to go (Show link to export table data as CSV).
Comment #6
lolandese CreditAttribution: lolandese at HCL Technologies Limited commentedAdded also 'Show link to export table data as CSV depending on permission' (with a link to the relevant section of the permission settings page).
Now we can differ the display of a table per display type (default, full node, teaser, etc.).
Last thing to do is to provide an upgrade path where field settings are migrated to display settings for all entities (nodes, taxonomies, users) with displays that contain a table field.
Comment #7
lolandese CreditAttribution: lolandese at HCL Technologies Limited commentedComment #8
lolandese CreditAttribution: lolandese at HCL Technologies Limited commentedAttaching forgotten patch of #6.
Comment #9
gopisathya CreditAttribution: gopisathya at HCL Technologies Limited commentedIn this case its logical to move the field settings to Manage Display. Still need the upgrade path.
Comment #10
jenlamptonI love what I see going on here, I think this will be a great usability improvement :)
However, If we still need the upgrade path, this patch is not yet RTBC, so changing status.
Comment #11
lolandese CreditAttribution: lolandese at HCL Technologies Limited commentedReroll against latest dev.
Comment #12
lolandese CreditAttribution: lolandese at HCL Technologies Limited commentedIncluded upgrade path from latest stable (7.x-2.5) to latest dev.
Comment #13
gopisathya CreditAttribution: gopisathya at HCL Technologies Limited commentedPatch applies cleanly.
It retains the old values from the field settings to manage display settings.
Comment #14
lolandese CreditAttribution: lolandese at HCL Technologies Limited commentedReroll against latest dev.
Comment #16
lolandese CreditAttribution: lolandese at HCL Technologies Limited commentedComment #19
lolandese CreditAttribution: lolandese as a volunteer and commentedCompare D8 with D7 below:
Depending on the fact if these features are available in D8, we should move (option with default value):