承接 woit/woit-nsreadtime 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

woit/woit-nsreadtime

最新稳定版本:v1.1.1

Composer 安装命令:

composer require woit/woit-nsreadtime

包简介

This extension is useful for displaying read time in news detail view.

README 文档

README

Our new TYPO3 extension includes a view helper that calculates the estimated reading time for news extension, enhancing the user experience for your readers.

Installation

Install this extension via composer req woit/woit-nsreadtime and activate the extension in the Extension Manager of your TYPO3 installation.

Adding to your own sitepackage

Add namespace in your code

<html xmlns:time="http://typo3.org/ns/Woit/WoitNsreadtime/ViewHelpers" data-namespace-typo3-fluid="true"></html>

or

{namespace time=Woit\WoitNsreadtime\ViewHelpers}

You can use either one of them to add namespace in your template

In your news template, add the following code:

<time:readtime newsId="{CURRENT_NEWS_ID}"  />

Replace CURRENT_NEWS_ID woith the ID of your current news item. This code will render the estimated reading time for your news post based on the content.

统计信息

  • 总下载量: 3
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 0
  • Forks: 0
  • 开发语言: HTML

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2023-11-02