Edit the default login.html felogin plugin in my own fluid extension

1.1k views Asked by At

I use typo 10 and add the Felogin extension, but I want to customize / edit the login template as I want it in my own fluid extension

I have tried adding

plugin.tx_felogin_pi1 {
  templateFile = EXT: my_extension/Resources/Private/Templates/Pages/Login.html
}

but instead the default template appears. is there still less code?

2

There are 2 answers

0
Florian Rival On BEST ANSWER

In order to use new Fluid templates with feLogin, you have to add this Typoscript Setup :

plugin.tx_felogin_login {
    view {
        templateRootPaths.1 = EXT:site_package/Resources/Private/Templates/
    }
}
2
Thomas Löffler On

first, you need to look if the feature toggle is set correctly. If you activated "Extbase" for felogin, the customization is done different (with plugin.xxx.view.templateRootpaths like in other Extbase/Fluid extensions).

Just take a look at the TypoScript code of Fluid and the small documentation of the change: https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/10.2/Feature-88102-FrontendLoginViaFluidAndExtbase.html