TYPO3 CMS extension for page lists, teasers, article lists, galleries etc.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

Pagelist

Packagist Software License Brightside

TYPO3 CMS extension to list pages, news, events, products etc.

Adds new content elements and page types to create different lists.

Front-end Demo

System requirements

  • TYPO3 8.7 LTS – 9.5 LTS
  • fluid_styled_content

Features

  • Custom page types for articles, events and products
  • List of sub pages
  • List of selected pages
  • List of pages in category
  • Set start from, limit and sort options
  • Enable pagination with items per page
  • Dedicated page types for news, events and products
  • Connection to ext:Personnel for authors and contact persons
  • ext:Personnel fields can be enabled/disabled per page type
  • Easy to add custom templates
  • Exclude pages from lists

Installation

  • From TER: pagelist, or composer: t3brightside/pagelist
  • Include static template
  • Enable page types for news, events, and products from extension configuration
  • Recommended for author records ext:Personnel / t3brightside/personnel

Usage

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

Admin

Add custom template

PageTS

Add new template number '2' and name it:

TCEFORM.tt_content.tx_pagelist_template.addItems {
  2 = My New Template
}

TypoScript

Change constants:

pagelist.styles = EXT:pagelist/Resources/Public/Styles/pagelist.css
pagelist.templateRootPaths = EXT:pagelist/Resources/Private/Templates/
pagelist.partialRootPaths = EXT:pagelist/Resources/Private/Partials/

Fluid

Add new section wheres IF condition determines template nr '2' to: Resources/Private/Templates/Pagelist.html

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

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

Sources

Development and maintenance

Brightside OÜ – TYPO3 development and hosting specialised web agency