---
title: "How to setup Latest News Template into EXT:news?"
url: "https://nitsantech.de/en/blog/how-to-setup-latest-news-template-into-extnews"
description: "Are you in needs of ‘Latest News’ custom template & layout at news TYPO3 Extension? This post might useful for TYPO3 beginners. Unfortunately, default news only provides like Listing & Detail template."
image: "https://nitsantech.de/fileadmin/_processed_/d/1/csm_How-to-setup-Latest-News-Template-into-EXTnews_0d8cd0660a.jpg"
author: Sanjay Chauhan - TYPO3 Technopreneur
date: 2019-10-04
modified: 2025-11-07
lastUpdated: 2026-02-25
keywords:
  - TYPO3 News Template
  - "EXT:news"
  - News Template
  - TYPO3 News Theme
  - typo3 news template layout
  - News website templates
categories:
  - Extensions
---

# How to setup Latest News Template into EXT:news?

How to setup Latest News Template into EXT:news?
================================================

 12 Aug 2019

 [![](https://nitsantech.de/fileadmin/ns_theme_nitsan/About_Us_De/About_Us/Mihaela..jpg)](https://nitsantech.de/en/blog/author/mihaela-angelova)

 [Mihaela Angelova](https://nitsantech.de/en/blog/author/mihaela-angelova)

 [ Extensions ](https://nitsantech.de/en/categories/extensions)

Are you in needs of ‘Latest News’ custom template & layout at news TYPO3 Extension? This post might useful for TYPO3 beginners who is not much aware with one of the most popular TYPO3 Extension:news. Unfortunately, default news only provides like Listing & Detail template selection at their plugin configuration, As of course each site require Latest news display like at landing/home page.

 ![How to setup Latest News Template into EXT:news?](https://nitsantech.de/fileadmin/ns_theme_ns2019/blog/_live/TYPO3-Extension-NewsComments/How_do_I_set_up_a_news_template_in_EXT-news_.jpg)

   Table of content

 <a id="c21169"></a>

 <a id="c1354"></a>Are you in needs of ‘Latest News’ custom template & layout at tx\_news TYPO3 Extension? This post might useful for TYPO3 beginners. Unfortunately, default tx\_news only provides like Listing & Detail template selection at their plugin configuration, As of course each site require Latest news display like at landing/home page.

No worries, It’s quite easy to setup with few line of code with [**TypoScript**](https://nitsantech.de/en/typoscript-conditions-with-symfony-expression-language) & Fluid. Here is the step by step details to setup [**Custom template**](https://nitsantech.de/typo3-entwicklung) & layout for news [**TYPO3 Extension**](https://nitsantech.de/en/blog/typo3-extensions). Let’s consider the example which require ‘Latest News’ Layout & Template selection at news.

 <a id="c1378"></a>Add below TSConfig code at your [**TYPO3**](https://nitsantech.de/en/blog/typo3) Root Page > Edit > Preferences > Resources > Page TSConfig

tx\_news.templateLayouts {
latestNewsLayout = Latest News Layout
}

 <a id="c1379"></a>Our new template layout will automatically displaying at each News plugin configuration. Just open news plugin and go at Template > Template Layout and select ‘Latest News Layout’

  ![Template layout selection at News plugin options](https://nitsantech.de/fileadmin/ns_theme_ns2019/blog/live/How_to_setup_Latest_News_Template_into_EXT_news.jpg "Template layout selection at News plugin options")

 <a id="c1380"></a>It’s time to setup our new template code into news Fluid template. Just open your extension template folder Partials/List/ and copy Item.html to the LatestNews.html

Now edit the Templates/News/List.html as follows:

<f:for as="newsItem" each="{news}">
 <f:render arguments="{newsItem: newsItem, settings:settings, className:className, view:'list'}" partial="List/Item">
 </f:render>
</f:for>

<f:for as="newsItem" each="{news}">
 <f:if condition="{0:settings.templateLayout} == {0:'latestNewsLayout'}">
 <f:then>
 <f:render arguments="{newsItem: newsItem, settings:settings, className:className, view:'list'}" partial="List/LatestNews">
 </f:render>
 </f:then>
 <f:else>
 <f:render arguments="{newsItem: newsItem, settings:settings, className:className, view:'list'}" partial="List/Item">
 </f:render>
 </f:else>
 </f:if>
</f:for>

Of course, Now you just need to adjust your needed HTML wrapper to display proper layout at Partials/List/LatestNews.html

That’s it, The Latest news template has been ready to be rendering at your awesome site, with the expertise of [**TYPO3 Agency**](https://nitsantech.de/en/typo3-agency).

 <a id="c21275"></a>

![](https://nitsantech.de/fileadmin/ns_theme_nitsan/About_Us_De/About_Us/Mihaela..jpg)

### Mihaela Angelova

Project Manager

- [](https://www.linkedin.com/in/mihaela-n-angelova/ "linkedin")

Mihaela keeps technology projects on track and ensures to meet business goals. She specializes in coordinating teams, optimizing workflows, and delivering projects. At NITSAN, she works closely with clients to transform ideas into actionable solutions. Outside of work, she enjoys exploring new hiking trails.

  <a id="c9786"></a>Comments and Responses
----------------------

 Thank you for your comment. Your Comment Added Successfully.

Thank you for your comment. Your Comment Will Be Visible After Approval.

Oops! Something went wrong, please try again later.

##### **Be the First to Comment**

  <a id="c9787"></a> ### Related Blogs

 [ ![](https://nitsantech.de/data:,)

#### TYPO3 Extensions Developed & Managed by NITSAN

 ](https://nitsantech.de/en/blog/typo3-extensions)

 [ ![](https://nitsantech.de/data:,)

#### How to Install and Uninstall TYPO3 Extensions?

 ](https://nitsantech.de/en/blog/how-to-install-and-uninstall-typo3-extensions)