subhh / libconnect

Diese TYPO3-Extension ist von Avonis im Auftrag der Staats- und Universitaetsbibliothek Hamburg entwickelt worden. Mit ihr lassen sich Ergebnisse aus den Informationssystemen EZB und DBIS der Universitaet Regensburg direkt in das TYPO3-System einbinden.
GNU General Public License v2.0
8 stars 8 forks source link

Some templates can't be overwritten anymore #29

Open fzuerker opened 1 year ago

fzuerker commented 1 year ago

Hello,

I noticed that with version 9 of this extension it is no longer possible to overwrite some of the fluid templates by specifying 'templateRootPaths' in typoscript. This is due to hardcoded template paths in the controllers, which were introduced with this commit: https://github.com/subhh/libconnect/commit/2bbd0e82d535ab2e4250db2f7a3f8d2f9d471c61 In our instance I fixed this by xclassing the controller and reverting back to the use of 'buildControllerContext'. It is deprecated and will be removed with TYPO3 v12 but I didn't know any other method. Maybe someone knows a way to directly fix it in the controller, that will work with v12.