[TYPO3-english] felogin via TS redirects

G.Unger skyfreak1 at gmx.net
Thu Oct 22 15:49:40 CEST 2009


I am still struggling and do not find any siutable tutorial for felogin.

maybe I should mention that I am using templavoila!?

rgds,
guido



On 2009-10-20 17:12:55 +0200, G.Unger <skyfreak1 at gmx.net> said:

> ... meanwhile I tried nearly any combination of TS settings I could 
> find on the web ... unfortunately without success :(
> 
> nobody an idea?
> 
> thx and rgds,
> guido
> 
> 
> 
> 
> On 2009-10-16 15:56:55 +0200, G.Unger <skyfreak1 at gmx.net> said:
> 
>> hello list
>> 
>> I do have a problem with felogin.
>> 
>> my setup:
>> - T3 4.2.9
>> - felogin 1.0.0
>> 
>> the page with the felogin plugin is uid 24 and uses the original 
>> unmodified template from the extension.
>> fileadmin/templates/tmpl/ext/felogin/right_col_loginbox.html is just 
>> the box without ###STATUS_HEADER### and ###STATUS_MESSAGE### etc just 
>> the inputs for password user and the button of the form.
>> 
>> the feusergoup has the 'Redirect at Login to Page (felogin):' set to 
>> page with uid 24
>> 
>> I want the loginbox on all pages by TS and have setup with Templavoila 
>> a mapping to lib.loginbox.
>> my typoscipt looks like this:
>> 
>> 
>> ****************************
>> 
>> lib.loginbox < plugin.tx_felogin_pi1
>> lib.loginbox{
>> 		#storagePid - where are the user records? use single value or a 
>> commaseperated list
>> 	storagePid = 25
>> 	
>> 		#Template File
>> 	templateFile = fileadmin/templates/tmpl/ext/felogin/right_col_loginbox.html
>> 	
>> 		#wrapContentInBaseClass
>> 	wrapContentInBaseClass = 0
>> 	
>> 	
>> 		#preserve GET vars - define "all" or commaseperated list of GET-vars 
>> that should be included by link generation
>> 	preserveGETvars = all
>> 	
>> 	
>> 		#additional fields
>> 	showForgotPasswordLink = 0
>> 	showPermaLogin = 0
>> 	
>> 	
>> 		#redirect
>> 	redirectMode = userLogin,groupLogin,login,logout,loginError
>> 	redirectPageLoginError = 24
>> 	redirectPageLogin = 24
>> 	redirectPageLogout = 24
>> 	
>> }
>> 
>> 
>> # hide loginbox on login page
>> [globalVar = TSFE:id = 24]
>> lib.loginbox >
>> [end]
>> 
>> 
>> ****************************
>> 
>> now the actions that happen:
>> 
>> 1) I login correctly through the loginbox and am redirected to page 24 
>> with the logged in status message, thats fine.
>> 2) I click some pages and then try to logout by the TS loginbox in the 
>> right column, nothing happens :(
>> 3) if I enter wrong credentials on the loginbox I am redirected to uid 
>> 24, but the errormessage does not appear, instead the loginpage with 
>> normal login is displayed.
>> 
>> who do I have to configure the loginbox to work correctly by TS?
>> the manual of felogin unfortunately does not show any hints to my problem
>> the uid 24 is a normal page 'not in menu'
>> 
>> to sum it up, I want to be able to login thogh the box in right column
>> - when correct credentials are given I want the login-success page to be shown
>> - when wrong credentials are given I want the login-errorpage page to be shown
>> - when login out through the box I want the logout-success page to be shown
>> 
>> any hints to where I am wrong?
>> 
>> thx and regards
>> 
>> GUIDO




More information about the TYPO3-english mailing list