Changing paths of the templateΒΆ

Please do never change templates directly in the Ressources folder of the extensions, since your changes will get overwritten by extension updates.

Configure your TypoScript setup like shown below (note the plural of the path-name):

plugin.tx_sfeventmgt {
  view {
    templateRootPaths {
      0 = {$plugin.tx_sfeventmgt.view.templateRootPath}
      1 = fileadmin/templates/events/Templates/
    }
    partialRootPaths {
      0 = {$plugin.tx_sfeventmgt.view.partialRootPath}
      1 = fileadmin/templates/events/Partials/
    }
    layoutRootPaths {
      0 = {$plugin.tx_sfeventmgt.view.layoutRootPath}
      1 = fileadmin/templates/events/Layouts/
    }
  }
}

Doing so, you can just override single files from the original templates.