ttree/sortablenode 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

ttree/sortablenode

Composer 安装命令:

composer require ttree/sortablenode

包简介

This package allow complexe node sorting strategies

README 文档

README

This package provide the logic needed for sorting node in TYPO3.TYPO3CR (TYPO3 Content Repository) by any even multiple properties. The package support multiple sorting strategy (algorithm) and multile configure per NodeType and ParentNode or ParentNode path.

This package is under heavy development, so everything can change, break ... or work as expected.

Configuration

Configuration can be done in any Settings.yaml file:

Ttree:
  SortableNode:
	enabled: FALSE
	defaultSortingStrategy: DumbSortingStrategy
	configuration:
	  'Ttree.Plugin.MicroEvent:Event':
		10:
		  position:           'start'
		  label:              'Main sorting for Event node'
		  identifier:         '/sites/website/event'
		  strategy:           'DumbSortingStrategy'
		  properties:
			# eventStartDate:   ASC
			title:            ASC

The "identifier" can be a node path or a nodedata identifier (not the persistence_object_identifier). The "strategy" can be configured, and you can even add your own strategy if needed. The property "Ttree.SortableNode.enabled" enable automatic sorting of node based on an Aspect triggered after the update or add method from NodeDataRepository.

Currently only the DumbSortingStrategy (and inefficient) strategy is working. More powerful strategy will be added in the future.

A CLI command exist to sort node manually.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2013-10-02

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固