As it is not very nice to have to look in the sourcecode for some documentation I post here a mini-doc for you may start testing as soon as possible ;-)
Redirection may be configured in different ways, already implemented are:
- Typoscript on login, on error and on logout
plugin.tx_newloginbox_pi1.redirPageLogin = 123
plugin.tx_newloginbox_pi1.redirPageLoginError = 123
plugin.tx_newloginbox_pi1.redirPageLogout = 123
- Flexform (on login)
- redirection-setting from usergroup
- redirection-setting from user
- referrer (page originally requested, no domain-configuration necessary; it exists also an option with Domain-configuration for backwards-compatibility)
- redirect_url through GET/POST
Which methods apply and the order they apply is to be set in Typoscript:
- !! There is at the moment no default-setting here, therefore none of the methods will work before you configure it here !! Shure there will be a default on publishing this feature on TER ...
- here an example-configuration with all methods, just set it like that for testing:
plugin.tx_newloginbox_pi1.redirMethods=typoscriptLogin,typoscriptLoginError,typoscriptLogout,getpost,referrer,referrerDomains,flexformLogin,groupLogin,userLogin
- the last method "wins" (overwrites methods before); if you want the first method that finds some configuration being the winner, set plugin.tx_newloginbox_pi1.redirFirstMethod=1
This should be enough for getting started.
Please use for feedback our newsgroup at [1]. It is IMHO the better place to discuss changes than here in the bugtracker.
[1] typo3.projects.newloginbox on news://news.netfielders.de (only newsgroup, not a mailing list)