定制 t3brightside/pagelist 二次开发

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

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

t3brightside/pagelist

最新稳定版本:5.1.1

Composer 安装命令:

composer require t3brightside/pagelist

包简介

TYPO3 CMS extension to create news, events, vacancies and products or just page lists. Demo: microtemplate.t3brightside.com

README 文档

README

License Packagist Downloads Brightside

TYPO3 CMS extension to create page lists and add custom page types. Page lists from selected page records or subpages. Demo

Breaking Changes

Features

  • Custom page types for articles, events, products and vacancies
  • List of sub pages with recursive option
  • List of selected pages
  • Exclude pages from lists
  • Basic category and author filtering
  • Set start from, limit and sort options
  • Image enable/disable and cropping
  • Inline content editing from page properties for list module only article creation
  • Shortcut to documents, other pages or external urls
  • Pagination with paginatedprocessors
  • Connection to personnel for authors and contact persons
  • Base templates and CSS for cards and lists
  • Easy to add custom templates
  • Example vCal support for event pages

System requirements

  • TYPO3
  • fluid_styled_content
  • paginatedprocessors

Conflicts with

  • t3g/blog

Installation

  • composer req t3brightside/pagelist or from TYPO3 extension repository pagelist
  • Include static template
  • Include static template for Paginatedprocessors
  • Enable page types for news, events, and products in extension configuration
  • Recommended for author records t3brightside/personnel

Usage

Add as any other content element. Select desired pages, template and options in content element settings.

Add custom template

TypoScript Check the constant editor.

PageTS

TCEFORM.tt_content.tx_pagelist_template.addItems {
  minilist = Mini list
}

Fluid Add new section with IF condition to determine template name 'minilist' to: Resources/Private/Templates/Pagelist.html

<f:if condition="{data.tx_pagelist_template} == minilist">
  <div class="pagelist custom template-{data.tx_pagelist_template}">
    <f:for each="{pagelist}" as="page" iteration="iterator">
      <f:render partial="Minilist" arguments="{_all}" />
    </f:for>
  </div>
</f:if>

Create new partial: Resources/Private/Partials/Minilist.html

routeEnhancers

For the pagination routing check t3brightside/paginatedprocessors

  /* only TYPO3 10.4 and below */
  routeEnhancers:
    Pagelist:
      type: Plugin
      routePath: '/page/{@widget_0/currentPage}'
      namespace: 'tx_pagelist_pagelist'
      aspects:
        '@widget_0/currentPage':
          type: StaticRangeMapper
          start: '1'
          end: '999'

Known issues

Doesn't fully comply with the language modes. Does not respect '[FE][hidePagesIfNotTranslatedByDefault] = true' as 'TYPO3\CMS\Frontend\DataProcessing\DatabaseQueryProcessor' does not fully respect language modes while selecting pages yet.

Sys categories have to be saved somewhere in the same page root to show categories in page templates with the {page.categories}

Sources

Development & maintenance

Brightside OÜ – TYPO3 development and hosting specialised web agency

统计信息

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

GitHub 信息

  • Stars: 11
  • Watchers: 2
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2018-04-04