Overriding Templates¶
EXT:feed_display
is using Fluid as template engine.
This documentation won't bring you all information about Fluid but only the most important things you need for using it. You can get more information in the section Fluid templates of the Sitepackage tutorial. A complete reference of Fluid ViewHelpers provided by TYPO3 can be found in the ViewHelper Reference
Change the templates using TypoScript constants¶
As any Extbase based extension, you can find the templates in the directory
Resources/Private/
.
By default, the following Fluid template files of this directory are used:
EXT:feed_display/Resources/Private/
¶.
├── Layouts
│ └── General.html
├── Partials
│ ├── Feed
│ │ ├── Authors.html
│ │ ├── Categories.html
│ │ ├── Contributors.html
│ │ ├── Copyright.html
│ │ ├── Description.html
│ │ ├── Image.html
│ │ ├── Links.html
│ │ └── Title.html
│ ├── Feed.html
│ ├── Item
│ │ ├── Authors.html
│ │ ├── Categories.html
│ │ ├── Content.html
│ │ ├── Contributors.html
│ │ ├── Copyright.html
│ │ ├── Date.html
│ │ ├── Enclosures.html
│ │ ├── Latitude.html
│ │ ├── Links.html
│ │ ├── Longitude.html
│ │ ├── Source.html
│ │ ├── Title.html
│ │ └── UpdatedDate.html
│ └── Item.html
└── Templates
└── Feed
└── Display.html
If you want to change a template, copy the desired files to the directory where you store the templates.
We suggest that you use a sitepackage extension. Learn how to Create a sitepackage extension.
Tip
Make sure that you only copy the files for which you want to make changes. This has the advantage that the remaining files will be automatically updated with future extension updates. This way you only have to worry about updating the files you have copied.
In the constant editor under Web
→ Template
→ Constant Editor
you can
define your own fluid paths in addition to the default paths.

Constant Editor: Fluid Template Paths¶
Alternatively you can define the following TypoScript constants directly:
plugin.tx_feeddisplay_pi1 {
view {
templateRootPath = EXT:your_sitepackage/Resources/Private/Templates/FeedDisplay/
partialRootPath = EXT:your_sitepackage/Resources/Private/Partials/FeedDisplay/
layoutRootPath = EXT:your_sitepackage/Resources/Private/Layouts/FeedDisplay/
}
}