定制 mdy/readmorelink 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

mdy/readmorelink

Composer 安装命令:

composer require mdy/readmorelink

包简介

Adds a "read more" link to each content element when using header_link

README 文档

README

This TYPO3 extensions adds a read more link to content elements. The editor can decide to add a link at the bottom of any content element which has the header_link field. The text of the link can be changed directly inside the content element via constants.

Installation

This extension only works with TYPO3. Pick one of the following ways to install this extension to your TYPO3 page.

Install via composer

composer require mdy/readmorelink

Install via TYPO3 Extension Manager

Search for readmorelink and install the extension. Make sure the extension is activated after installation.

Install a release from version history

Go to https://extensions.typo3.org/extension/readmorelink/#version-history and choose one of the releases available. Download the archive, extract it and upload it to your TYPO3 via FTP, SSH or whatever.

Configuration

Add extension to your website

Go to the module Template and click on your root page of your website inside the pagetree.

Make sure that Info/Modify is selected in the drop down menu. Click on Edit the whole template record go to the tab Includes. Choose TypoScript of EXT:readmorelink (readmorelink) from the list Available Items and add it to the list Selected Items.

Change default text inside read more link

Use the Constant Editor or add a constant with the text you want like this:

plugin.mdy.readmorelink.strings.readmore = Another Text

Development and testing

ddev is required! You can easily develop and test the extension using ddev on your local machine. Git clone the extension and run the following command:

ddev create

This will create a fresh installation of TYPO3 10 with readmorelink installed and ready to test. Point your browser to https://readmorelink.ddev.site when the script is done.

You can run acceptance tests locally with following command:

ddev tests

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0
  • 更新时间: 2020-09-01