Closed (fixed)
Project:
Node read time
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
18 Aug 2020 at 15:39 UTC
Updated:
25 Jul 2021 at 10:14 UTC
Jump to comment: Most recent
Comments
Comment #2
yivanov commentedHi, Read time is an extra field, which is added to the View display of the content types. If you use rendered output on your views, you will be able to display the reading time.
Comment #3
jibus commentedThank you !
I use fields, so not the best way to get the reading time but with a regex I managed to get it.
I think an integration with https://www.drupal.org/project/extrafield_views_integration module would be great !
Comment #4
rar9 commentedgetting this Reading Time added to views displayed as Fields would be great so it will work for Drupal 9 as well.
Comment #5
chrisck@Jibus I'm interested to know how you got node_read_time to work in a view with fields? Can you share the regex you used?
Comment #6
jibus commented@chrick, this is quite ugly.
I create a view template : views-view-fields--MYVIEW.tpl.php. The field "description contains the read time (in french).
Comment #7
chrisckThanks for sharing and interesting approach.
Comment #10
mauhg commentedMade a merge request to add the node read time as a field to views.
https://git.drupalcode.org/project/node_read_time/-/merge_requests/1
Comment #12
yivanov commentedThank you for your contribution, @MauHG ! :)
Comment #13
yivanov commented