0
votes

I try to create an TYPO3 extension with multiple Plugins in TYPO3 8.7 using EXTBASE (With and without Extensionbuilder).

I don't understand why, but the following TypoScript doesn't work: (Error no Template found...)

plugin.tx_test_pi1 {
  view {
    templateRootPaths.0 = EXT:test/Resources/Private/Templates/
...
}
plugin.tx_test_pi2 {
  view {
    templateRootPaths.0 = EXT:test/Resources/Private/Templates/
}

However, if I made the following changes all PlugIn's will work:

plugin.tx_test {
      view {
        templateRootPaths.0 = EXT:test/Resources/Private/Templates/
    }

What I'm missing?

1

1 Answers

0
votes

Extbase uses the general TypoScript configuration. The plugins are not separated any more by classes. You can use three plugins and only one controller.

Maybe have a look at this page: https://docs.typo3.org/typo3cms/ExtbaseFluidBook/4-FirstExtension/7-configuring-the-plugin.html