定制 mmc/ceselector 二次开发

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

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

mmc/ceselector

Composer 安装命令:

composer require mmc/ceselector

包简介

Selects and displays content elements according to certain parameters (Max elements, sorting, persistent mode)

README 文档

README

Content Element Selector

This frontend-plugin selects from a set of content-element records (single records and/or records from pages) and renders them. You can choose the sorting you want to be applied to the set of records and the maximum elements to show. One sorting option is "random", so you can show random elements out of your set. Finally, there's a feature called 'persistent mode'. In this mode, a cookie will be used to store the selected UID's of the content-elements. This way you can realize:

  • Rotating content (e.g. The user will see a new teaser on each visit of the page)
  • Keep a random selection for a certain timespan before a new random selection is made (you can set the cookie-expire-time)
  • Step through the randomly sorted list before a new random selection will be made.

If you choose "0" for "Persistent selection expire", the cookie will expire when the browser window will be closed (may not work depending on browser/setting!). The plugin respects versioning/localization of records.

Sorting options:

  • Random
  • Sorting ascending
  • Sorting descending
  • Header-text ascending
  • Header-text descending

Configuration

Add the static template of the extension to your template.

Usage

Add the frontend plugin in your content, choose single records and/or pages/sys-folders to choose content elements from. Set plugin preferences Order selection by, Max elements to show, Persistent Mode and Persistent selection expire.

Changelog

6.0.1

Security fix: use json_encode instead of serialize to store data in cookie

6.0.0

TYPO3 13 ready

5.0.1

Security fix: use json_encode instead of serialize to store data in cookie

5.0.0

TYPO3 12 ready

4.0.2

Security fix: use json_encode instead of serialize to store data in cookie

4.0.1

Revert plugin renaming

4.0.0

TYPO3 11 compatibility

3.0.3

Security fix: use json_encode instead of serialize to store data in cookie

3.0.2

Fix composer.json

3.0.1

Typoscript files: change ending to .typoscript

3.0.0

TYPO3 9/10 compatibility; drop TYPO3 8 support
Reset cookie data after plugin data (options) modification
Domain\Model\Content: remove uid and pid (inherited from AbstractEntity)

2.0.4

Fix markdown syntax in this file

2.0.2

  • TYPO3 8 compatibility
  • composer support
  • dedicated cookie for each plugin instance
  • improved rotation (persistent mode)

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2020-08-12

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固