[TYPO3-english] Re: header/ footer/ menu

Christian Hackl hackl.chris at googlemail.com
Sat May 27 21:50:44 CEST 2017


can you show us your TS?
If you want to override a Fluid Template,

You have to spezify the new and the old Folder Path:

like in the previous thread:

lib.fluidContent {
templateRootPaths {
20 = PATH_TO_ORIGINAL_FLUID_TEMPLATES
30 = fileadmin/templates/YOUR_NEW_TEMPLATE_FILES/
}
partialRootPaths {
20 = PATH_TO_ORIGINAL_PARTIAL
30 = fileadmin/templates/YOUR_NEW_PARTIAL_FILES/
}
layoutRootPaths {
20 = PATH_TO_ORIGINAL_LAYOUT
30 = fileadmin/templates/YOUR_NEW_LAYOUT_FILES/
}
}


than, Typo3 Looks in the Paths of ID 30 and searched for a HTML File like header.html if no one found, Typo3 looks in the Path of ID 20 and searches there.
But you need the same folder structure!
So if you want to change one File like header.html and this file is original in "something/Fluid_Styled_Content/Partial/Header/header.html" than you need your own header.html file in e. g. "YOUR_PATH/Partial/Header/header.html" and in TS than:

partialRootPaths {
20 = something/Fluid_Styled_Content/Partial/
30 = YOUR_PATH/Partial/
}


More information about the TYPO3-english mailing list