How to Customize the Latest News Template in TYPO3
Your news section should look like part of your website, not an add-on. A TYPO3 Latest News Template helps you create a tailored layout for recent articles while keeping the underlying EXT:news setup easy to manage.
Requirements
Before you begin, prepare:
- TYPO3 13.4 LTS or 14.x
- EXT:news extension
- News records and a Storage PID
- News Detail page
- Custom site package
Configure the News Plugin
Set up the News List plugin with the correct storage folder and detail page. Select News Date as the sorting field and use descending order to keep the newest articles at the top.
You can also limit the number of displayed records or use categories to control which news items appear.
Add a Custom Template Layout
Register the layout through Page TSConfig:
tx_news.templateLayouts {
10 = Latest News Layout
}After clearing the cache, you can select the new layout from the News plugin's Template Layout option.
Override Templates Safely
Do not change the original EXT:news files. Place your custom Fluid templates and partials inside the site package so your changes remain available after extension updates.
Design the Latest News Section
The custom Fluid partial defines how your articles look on the page. You can display the title, date, image, teaser, category, and detail link according to your design.
Use responsive CSS Grid or Flexbox to ensure the section adapts well to different screen sizes without creating layout issues on mobile.
Troubleshooting
If the custom layout is not working, check the:
- Page TSConfig
- Template and partial paths
- Layout ID
- Storage PID
- Detail page
- News sorting and visibility
- TYPO3 cache
Final Check
Test the section across desktop and mobile devices and confirm that the correct articles, images, and links are displayed. Also verify that the standard EXT:news layout remains unaffected.
Conclusion
Setting up a custom Latest News Template in EXT:news provides a practical way to control your news presentation in TYPO3. With a clean Fluid structure and update-safe customization, you can maintain a flexible and reliable latest news section.

Comments
Post a Comment