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.
The template code currently only allows a field called 'title' to become the rows in the THEAD HTML element, presumably because this was originally made just for nodes.
Now that anything can be listed in a view, it would be useful to allow the first field in the table, whatever it is, to be used as the header.
Comment | File | Size | Author |
---|---|---|---|
#1 | 1561114.views_hacks.flipped-table-any-field-as-header.patch | 4.08 KB | joachim |
Comments
Comment #1
joachim CreditAttribution: joachim commentedHere's the patch.
- #1561114 by joachim: Added ability to have any field as the flipped table header.
Comment #2
joachim CreditAttribution: joachim commentedCould be backported if someone has the inclination.
Comment #3
naught101 CreditAttribution: naught101 commentedComment #5
KarlShea