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.
i added the read time to node but i cant understand how to use it with views. the read time field is not there.
does it work with views ?
Comment | File | Size | Author |
---|---|---|---|
#7 | 2819071-views_integration-6.patch | 7.08 KB | codekarate |
#5 | 2819071-views_integration-5.patch | 1.53 KB | codekarate |
#3 | read_time-2819071-3.patch | 2.07 KB | clemens.tolboom |
Comments
Comment #2
apoc1 CreditAttribution: apoc1 commentedI back you up on this. It is more important visitors can see on overview pages how much time each article/node needs to read it, than it is displayed on the node page itself. Would love to see an integration for views.
Comment #3
clemens.tolboomBij adding module https://www.drupal.org/project/extrafield_views_integration and attached patch the field is made available in views.
Comment #4
clemens.tolboomComment #5
codekarate CreditAttribution: codekarate at Third and Grove commentedHere is a Drupal 8 version that adds views integration. A few notes:
Comment #6
codekarate CreditAttribution: codekarate at Third and Grove commentedComment #7
codekarate CreditAttribution: codekarate at Third and Grove commentedIn my case, I also needed to be able to enable/disable read time per content type. This means I needed the patch from https://www.drupal.org/project/read_time/issues/3053580#comment-13159949
Unfortunately, these two patches would not apply cleanly together. So if you need views integration and to be able to enable/disable the read time per content type, you can use the attached patch (which contains both).