D
D
daylight62019-08-06 10:11:44
1C-Bitrix
daylight6, 2019-08-06 10:11:44

How to display the reading time in the list of news?

Hello. Tell me, how can I display the time of reading the news in the list of news?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Zemlyanoy, 2019-08-06
@daylight6

Hello! Somehow I had such a problem, I hooked on the save / update event of the infoblock element, made a calculation based on the number of characters in the detailed description and added the result in seconds to a separate property in the same element. then you deduce as well as any other value of property.
Somewhat worse, as for me, is the option to count on the fly when outputting to result_modifier, for example.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question