Issue Bug Closed

#76476Fluid templateRootPaths can not be overriden once set

Morton Jonuschat 06/07/16, 06:47 updated 10/02/18, 11:10

Description

Fluid templateRootPaths (as well as partialRootPaths and the like) can not be overriden using TypoScript once set.

A plugin configuration like this won’t take effect as the key 0 has already been set by default.

plugin.tx_myplugin {
  view {
    templateRootPaths {
      0 = {$plugin.tx_myplugin.view.templateRootPath}/Plugins/
    }

    partialRootPaths {
      0 = {$plugin.tx_myplugin.view.partialRootPath}/Plugins/
    }

    layoutRootPaths {
      0 = {$plugin.tx_myplugin.view.layoutRootPath}/Plugins/
    }
  }

Changing the index key to something higher (and unused works).

Reviews 1