t3brightside/pagelist

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

Fund package maintenance!
t3brightside

Installs: 10 340

Dependents: 1

Suggesters: 2

Security: 0

Stars: 10

Watchers: 2

Forks: 1

Open Issues: 2

Type:typo3-cms-extension

4.1.2 2024-08-16 14:56 UTC

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