[TYPO3-german] Fluid Partials überschreiben

Mikel lists at con-version.com
Tue Nov 14 16:52:44 CET 2017


Hi Lukas,

was für eine TYPO3-Version?

In 8.7 kannst Du unter sysext/fluid_styled_content/Configuration/TypoScript/Helper/ContentElement.txt das Default-Setup sehen.

Richtig müsste es also heißen: lib.contentElement anstatt lib.fluidContent

Siehe hier:
lib.contentElement {
    templateName = Default
    templateRootPaths {
        0 = EXT:fluid_styled_content/Resources/Private/Templates/
        10 = {$styles.templates.templateRootPath}
    }
    partialRootPaths {
        0 = EXT:fluid_styled_content/Resources/Private/Partials/
        10 = {$styles.templates.partialRootPath}
    }
    layoutRootPaths {
        0 = EXT:fluid_styled_content/Resources/Private/Layouts/
        10 = {$styles.templates.layoutRootPath}
    }
Da hier bereits eine Konstante abgefragt und berücksichtigt wird, reicht es aber einfach auch, diese entsprechend anzupassen.
Hierzu musst Du unter Constants einfach
styles.templates.templateRootPath = path/to/your/templates/ setzen

Mikel


More information about the TYPO3-german mailing list