[TYPO3-english] Re: Override Header section for CCE in Default fluid_styled_content template

Christian Hackl hackl.chris at googlemail.com
Fri May 19 17:17:45 CEST 2017


at the moment i dont know the "new" fluid templates, sry. :)

To use the old ones:

1. copy the old fluid_styled_content folder from typo3 7 source, lokated in typo3/sysext/ and place it like you want e. g. fileadmin/templates/
2. in your TS you can do something like:

lib.fluidContent {
  templateRootPaths {
    30 = fileadmin/templates/Extensions/fluid_styled_content/Resources/Private/Templates/
  }
  partialRootPaths {
    30 = fileadmin/templates/Extensions/fluid_styled_content/Resources/Private/Partials/
  }
  layoutRootPaths {
    30 = fileadmin/templates/Extensions/fluid_styled_content/Resources/Private/Layouts/
  }
}


3. thats it.


If you use the new fluid-templates and try to override a part of it like your header:

1. copy the html you would like to change and paste it in e. g. your fileadmin folder
2. same as above:
 lib.fluidContent {
  templateRootPaths {
    30 = fileadmin/templates/YOUR_NEW_TEMPLATE_FILES/
  }
  partialRootPaths {
    30 = fileadmin/templates/YOUR_NEW_PARTIAL_FILES/
  }
  layoutRootPaths {
    30 = fileadmin/templates/YOUR_NEW_LAYOUT_FILES/
  }
}



e. g. in your own partial folder you must set the same folders of the orginal file. So if your header.html is original in Partials/Header/Header.html
than you must have this path in your own folders to.


More information about the TYPO3-english mailing list