t3brightside / pagelist
TYPO3 CMS extension to create page lists. comes with special page types for articles, events and products.
Installs: 2 540
Dependents: 0
Suggesters: 2
Security: 0
Stars: 5
Watchers: 2
Forks: 0
Open Issues: 2
Type:typo3-cms-extension
Requires
- typo3/cms-core: ^9.5 || ^10.4
- typo3/cms-fluid-styled-content: *
Suggests
- t3brightside/personnel: Contact lists with vCard support, and author records for Pagelist
Conflicts
- t3g/blog: >=0.0.1
README
TYPO3 CMS extension to list pages, news, events, products etc.
Adds new content elements and page types to create different lists.
System requirements
- TYPO3 8.7 LTS, since 2.2.0 9.5 & 10.4 LTS
- fluid_styled_content
Conflicts with
- t3g/blog
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
Route enhancers for pagination
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.
Sources
Development and maintenance
Brightside OÜ – TYPO3 development and hosting specialised web agency