Feature #19578
closedDon't show the logged-in message when I'm logged in
0%
Description
When a user is logged in he gets at first the Logged-In message until he reloads the page.
But I want to display the logout-form if the user is logged in.
Therefore I've added a TypoScript-variable where you can choose if you want to display the logged-in-message or not.
If not he'll show the logout-form.
Typo3 v.4.2.2
felogin v.1.0.0
(issue imported from #M9746)
Files
Updated by Simon Schick about 16 years ago
I've tested this additional parameter and I've found out that if you set a redirect-Url it didn't redirect to this url.
Therefore I've extendet the IF-condition.
Here is the new PatchFile.
Updated by Simon Schick over 15 years ago
I'm watching at this ticket for over 4 month - and nothing changed...
I'll write you a complete reason - why to implement this feature.
On my page I have a loginbox on the upper-left side of my webside.
Now if the user has logged in - I'll show him the Logout form directly and not a message that he has logged-in successfully...
If you want - here is my TypoScript for this box:
lib.login < plugin.tx_felogin_pi1
lib.login {
templateFile = fileadmin/templates/tx_felogin_pi1/boxed.html
redirectMode = loginError
- My Page for LoginErrors
redirectPageLoginError = 49
preserveGETvars = all
showForgotPasswordLink = 0
dontShowLoggedInMessage = 1
_LOCAL_LANG {de {
login = login
}
en {
login = login
}
}
}
[PIDinRootline = 49]
lib.login.redirectMode = login
- My LoginPage
lib.login.redirectPageLogin = 51
[end]
Updated by Simon Schick over 14 years ago
My solution was to rebuild the loginbox by clean TypoScript.
Here's a german tutorial how to realize this:
http://www.typo3wizard.com/de/snippets/cool-stuff-typoscript/loginbox-per-typoscript-mit-kb-md5feuser-und-newloginbox.html
So I think this ticket is closed.
Updated by Mathias Schreiber over 14 years ago
closed due to reporters request (if I got it wrong, please re-open)