Inline login¶
If you want to use the login template directly inside a fluid template, for example to use it in a popup, you can do so by creating a lib element.
Got to your typoscript configuration and add & edit the following code.
lib.login = USER
lib.login{
userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run
vendorName = Antwerpes
extensionName = Typo3Docchecklogin
pluginName = DocCheckAuthentication
controller = DocCheckAuthentication
features.requireCHashArgumentForActionArguments = 0
view =< plugin.tx_typo3docchecklogin.view
settings =< plugin.tx_typo3docchecklogin.settings
settings.loginId = <yourLoginId>
settings.loginLayout = xl
settings.customLayout =
settings.language = de
settings.redirect = 1
}
Afterwards you can use the code in the fluid template like the following:
<f:cObject typoscriptObjectPath="lib.login"/>