TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv

Die TYPO3 Mailingliste - nicht fragen: lesen!

[TYPO3] New felogin extension configuration question

This is a discussion on [TYPO3] New felogin extension configuration question within the typo3-english@lists.netfielders.de forums, part of the TYPO3-Mailinglists: ENGLISH category; Hi all, I have a question regarding the new felogin system extension. It has a sophisticated redirection system whose configuration ...


Zurück   TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv > TYPO3-Mailinglists: ENGLISH > typo3-english@lists.netfielders.de

Registrieren Hilfe Benutzerliste Kalender Suchen Heutige Beiträge Alle Foren als gelesen markieren
  #1  
Alt 20.08.2008, 16:56
Francois Suter
Gast
 
Beiträge: n/a
Standard [TYPO3] New felogin extension configuration question

Hi all,

I have a question regarding the new felogin system extension. It has a
sophisticated redirection system whose configuration by TypoScript is
possible, but not described in the manual. I tried to guess from the
source code, but I'm stuck with one thing.

I have the following configuration:

plugin.tx_felogin_pi1 {
storagePid = 5
redirectMode = groupLogin,logout
redirectPageLogout = 39
_LOCAL_LANG.fr.ll_welcome_header = Connexion
}

For the login, it works as expected. For the logout not. What would be
the corect configuration?

Cheers

--

Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch
_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #2  
Alt 20.08.2008, 22:30
ben van 't ende [netcreators]
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] New felogin extension configuration question

Francois Suter wrote:
> Hi all,
>
> I have a question regarding the new felogin system extension. It has a
> sophisticated redirection system whose configuration by TypoScript is
> possible, but not described in the manual. I tried to guess from the
> source code, but I'm stuck with one thing.
>
> I have the following configuration:
>
> plugin.tx_felogin_pi1 {
> storagePid = 5
> redirectMode = groupLogin,logout
> redirectPageLogout = 39
> _LOCAL_LANG.fr.ll_welcome_header = Connexion
> }
>
> For the login, it works as expected. For the logout not. What would be
> the corect configuration?


No answer from me ;-), but it would be cool if this is documented. We are also
investigating some stuff that is not documented for the crawler extension.

gRTz

ben
--
netcreators :: creation and innovation
www.netcreators.com - www.TYPO3.nl

Interesse in werken bij Netcreators?
http://www.netcreators.com/bedrijf/vacatures/
_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #3  
Alt 22.08.2008, 19:23
Steffen Kamper
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] New felogin extension configuration question

Francois Suter schrieb:
> Hi all,
>
> I have a question regarding the new felogin system extension. It has a
> sophisticated redirection system whose configuration by TypoScript is
> possible, but not described in the manual. I tried to guess from the
> source code, but I'm stuck with one thing.
>
> I have the following configuration:
>
> plugin.tx_felogin_pi1 {
> storagePid = 5
> redirectMode = groupLogin,logout
> redirectPageLogout = 39
> _LOCAL_LANG.fr.ll_welcome_header = Connexion
> }
>
> For the login, it works as expected. For the logout not. What would be
> the corect configuration?
>
> Cheers
>

Hi,

i try to explain:

there are some redirect methods possible. With redirectMode you specify
all methods you want to use.
Now there are 2 options
1) normal (default
last fitting method will be used.
Example: redirectMode = groupLogin, userLogin, logout
If user login extension checks:
groupLogin - has the group a pid configured ? If yes, set redirect
userLogin - has the user a pid configured? If yes, set redirect
So userLogin has higher priority

2) additional config: redirectFirstMethod = 1
Now first method will be used, now groupLogin has higher priority.


The method logout is only used with logout (sounds logic )
So in your case it should work.
I've seen some installations where logout redirect isn't working when
used from an access restricted page. Imho this should work with TS
configuration, at least in my installation this works.

I will complete the manual, but will update if some issues are done (one
is still open in core list)
If something not work as expected feel free to contact me, you should
know where i am

vg Steffen
_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #4  
Alt 25.08.2008, 10:09
Francois Suter
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] New felogin extension configuration question

Hi,

> I've seen some installations where logout redirect isn't working when
> used from an access restricted page. Imho this should work with TS
> configuration, at least in my installation this works.


I have tracked down the problem, but I don't know how to solve it.
Here's what happens:

1) the user logs in and moves (or is redirected) to an access-restricted
page
2) from that page, the user logs out
3) TYPO3 kills the FE session
4) TYPO3 then refuses access to that page, since it is access-restricted
and the user is not logged in
5) if a pageNotFound_handling has been defined (as is my case), the user
is redirected to that page before felogin is called (since rendering of
the access-restricted page has not even started)
6) the user arrives at the pageNotFound_handling page, which (in my
case) also contains felogin, but since a redirection took place in
between, the logintype is empty. No logout redirection takes place.

Actually I have an idea for a solution, but I wanted to check with you
first: the solution would to use the logout redirect page as the action
URI for the logout form. Of course this means there must be felogin on
that page, but I don't see another way out. Or maybe is there a hook
that felogin could use *before* the redirection takes place?

Cheers

--

Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch
_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #5  
Alt 25.08.2008, 12:28
Steffen Kamper
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] New felogin extension configuration question

Hi,

Francois Suter schrieb:
> Hi,
>
>> I've seen some installations where logout redirect isn't working when
>> used from an access restricted page. Imho this should work with TS
>> configuration, at least in my installation this works.

>
> I have tracked down the problem, but I don't know how to solve it.
> Here's what happens:
>
> 1) the user logs in and moves (or is redirected) to an access-restricted
> page
> 2) from that page, the user logs out
> 3) TYPO3 kills the FE session
> 4) TYPO3 then refuses access to that page, since it is access-restricted
> and the user is not logged in
> 5) if a pageNotFound_handling has been defined (as is my case), the user
> is redirected to that page before felogin is called (since rendering of
> the access-restricted page has not even started)
> 6) the user arrives at the pageNotFound_handling page, which (in my
> case) also contains felogin, but since a redirection took place in
> between, the logintype is empty. No logout redirection takes place.
>
> Actually I have an idea for a solution, but I wanted to check with you
> first: the solution would to use the logout redirect page as the action
> URI for the logout form. Of course this means there must be felogin on
> that page, but I don't see another way out. Or maybe is there a hook
> that felogin could use *before* the redirection takes place?
>
> Cheers
>


that was my idea too to use the action for logout. There is no plugin
needed on the redirect PID as logout is done by core and not the plugin.
You always can logout by append this to any link: &logintype=logout

vg Steffen
_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #6  
Alt 25.08.2008, 16:19
Steffen Kamper
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] New felogin extension configuration question

Steffen Kamper schrieb:
> Hi,
>
> Francois Suter schrieb:
>> Hi,
>>
>>> I've seen some installations where logout redirect isn't working when
>>> used from an access restricted page. Imho this should work with TS
>>> configuration, at least in my installation this works.

>>
>> I have tracked down the problem, but I don't know how to solve it.
>> Here's what happens:
>>
>> 1) the user logs in and moves (or is redirected) to an
>> access-restricted page
>> 2) from that page, the user logs out
>> 3) TYPO3 kills the FE session
>> 4) TYPO3 then refuses access to that page, since it is
>> access-restricted and the user is not logged in
>> 5) if a pageNotFound_handling has been defined (as is my case), the
>> user is redirected to that page before felogin is called (since
>> rendering of the access-restricted page has not even started)
>> 6) the user arrives at the pageNotFound_handling page, which (in my
>> case) also contains felogin, but since a redirection took place in
>> between, the logintype is empty. No logout redirection takes place.
>>
>> Actually I have an idea for a solution, but I wanted to check with you
>> first: the solution would to use the logout redirect page as the
>> action URI for the logout form. Of course this means there must be
>> felogin on that page, but I don't see another way out. Or maybe is
>> there a hook that felogin could use *before* the redirection takes place?
>>
>> Cheers
>>

>
> that was my idea too to use the action for logout. There is no plugin
> needed on the redirect PID as logout is done by core and not the plugin.
> You always can logout by append this to any link: &logintype=logout
>
> vg Steffen


I made a patch which is in BT and in core list

vg Steffen

http://bugs.typo3.org/view.php?id=8677
_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
 

Themen-Optionen Thema durchsuchen
Thema durchsuchen:

Erweiterte Suche
Ansicht Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an


Ähnliche Themen

Thema Autor Forum Antworten Letzter Beitrag
[TYPO3] felogin / TS login box hidden when first log in Daniel Huf typo3-english@lists.netfielders.de 0 29.07.2008 10:01
[TYPO3-templavoila] Question regarding BE TV configuration andlocalization Simon Tuck typo3-project-templavoila@lists.netfielders.de 3 08.08.2007 11:11
[TYPO3] Cant FELogin after upgrade to 4.1.2 Pawe³ Stanis³awczuk typo3-english@lists.netfielders.de 1 06.08.2007 08:35
[TYPO3-dev] confidential extension configuration options Nikolas Hagelstein typo3-dev@lists.netfielders.de 3 18.04.2007 13:52
[TYPO3] Extension -- configuration issue Sylvain Gourvil typo3-english@lists.netfielders.de 0 06.03.2007 15:54


Alle Zeitangaben in WEZ +1. Es ist jetzt 01:27 Uhr.


Powered by vBulletin® Version 3.7.2 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74