TYPO3 CMS extension to create page lists and add custom page types. Page lists from selected page records or subpages. Demo
composer req t3brightside/pagelist
or from TYPO3 extension repository pagelistAdd as any other content element. Select desired pages, template and options in content element settings.
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
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'
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}
Brightside OÜ – TYPO3 development and hosting specialised web agency