Bug #29785
closed
felogin redirect Error with showLogoutFormAfterLogin
Added by Gernot Ploiner almost 13 years ago.
Updated about 9 years ago.
Description
If in typoscript this ist set:
plugin.tx_felogin_pi1 {
showLogoutFormAfterLogin = 1
}
then the Login Redirect does not work in all variants.
Usualy this isn't a problem, because when you redirect to anothe page there is automatically the logout view.
But if there are 2 felogin-plugins on one page (Login in the Content area, Logout in the Top of the Webpage) an there is a login based on usergroups (one group redirects, and another not), then the problem appears.
I hope you understand my bad english. If not, i can write better in native german.
the redirect seems to be disabled explicitly, when setting the "showLogoutFormAfterLogin".
If you have two different usergroups, which should behave different, a work around might be setting the "showLogoutFormAfterLogin" depending on the usergroup:
[usergroup = 12]
plugin.tx_felogin_pi1.showLogoutFormAfterLogin = 1
[global]
- Priority changed from Must have to Should have
Ok, you should add this to the manual, because there are a lot of Postings in Forums.
Also that redirection does not work, when the content element is hidden when logged in. Solution:
plugin.tx_felogin_pi1 {
templatefile =
}
- Assignee set to Steffen Kamper
Gernot Ploiner wrote:
Ok, you should add this to the manual, because there are a lot of Postings in Forums.
Yes. The documentation about this feature is really bad. I was looking for hours for a solution, why redirect doesn't work at all on my installation.
And the only reason was, that I activated showLogoutFormAfterLogin because the docu told me "If set, you see direct the logout form after successful login". This sound reasonable to me but disables indeed the redirection :-(
Alexander
- Target version changed from 4.5.7 to 4.5.8
- Target version changed from 4.5.8 to 4.5.11
There is another Problem with redirection, when you have more than one Storagefolders:
If you use the recursive Setting in Typoscript or in the Contentelement, the userLogin-redirection does not work.
Also when you add more than one Storage Pages in the Content Element.
It only works, when you add more pages with Typoscript:
Working Example:
storagePid = 972,41
Tested with TYPO3 4.5.10
- Target version changed from 4.5.11 to 4.5.12
- Assignee deleted (
Steffen Kamper)
- Status changed from New to Closed
Some releases ago a note was added to the showLogoutFormAfterLogin option to warn about the effects for the redirect feature.
@Gernot Krause: please open a new issue for other bugs.
Yes, there is a hint in the documentation. But this behaviour isn't locial for me, at least from the non-technical point of view.
Why isn't it possible to enable the option to show the logout form after login and use this as default, if no redirect is set? Are there technical reasons or anything in the logic I don't see?
Also available in: Atom
PDF