Search code examples
htmltypo3typoscripttypo3-10.xfelogin

How to render felogin with typoscript in Typo3 10.4 as content element at a certain spot in the template


I have used this method in typo3 v8.4. Here's my TypoScript:

lib.loginBox = plugin.tx_felogin_pi1
lib.loginBox.storagePid = 28

and in the Template I used this:

<f:cObject typoscriptObjectPath="lib.loginBox" />

But now in v10.4 it throws this error and says "No Content Object definition found at TypoScript object path "lib.loginBox"." When I change the < to = it just won't load the content element.

Any ideas what could be wrong here?


Solution

  • The plugin moved to extbase, so it is now

    lib.loginBox = USER
    lib.loginBox {
      userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run
      extensionName = Felogin
      pluginName = Login
      
      settings < plugin.tx_felogin_login.settings 
      settings {
        pages = 8
      }
    }