Reputation: 46
I would like to have a custom view of the news listing in the backend module. My own extension has custom layouts and partials but TYPO3 doesn't use them.
setup.txt
module.tx_news {
view {
templateRootPaths.0 = EXT:news_review/Resources/Private/Templates/
partialRootPaths.0 = EXT:news_review/Resources/Private/Partials/
layoutRootPaths.0 = EXT:news_review/Resources/Private/Layouts/
}
Here's my file structure: file structure
Versions used:
Following has been consulted but didn't work for me: https://stackoverflow.com/a/33775089/7566899 and https://forge.typo3.org/issues/66306
edit: Fixed the paths (without /Administration/)
Upvotes: 0
Views: 377
Reputation: 31068
templateRootPaths.0 = EXT:news_review/Resources/Private/Templates/Administration/
The news template file paths are appended to this path.
So if news
includes Administration/Index.html
, the full path would be
EXT:news_review/Resources/Private/Templates/Administration/Administration/Index.html
(double Administration/
)
I don't think you wanted that.
Upvotes: 1