[TYPO3] FE-Logout in Menu
Peter Klein
peter at umloud.dk
Mon Jan 30 12:35:51 CET 2006
Hi Felix. here's a 100% typoscript solution..
-- cut --
[loginUser = *]
lib.logoutbutton = COA_INT
lib.logoutbutton {
10 = TEXT
10.value = Logout
10.typolink.parameter.data = page:uid
10.typolink.additionalParams.cObject = COA
10.typolink.additionalParams.cObject {
10 = TEXT
10.value = &logintype=logout
20 = TEXT
20.data = GPvar : L
20.wrap = &L=|
20.required = 1
}
}
[GLOBAL]
-- cut --
Just create a marker in your template for the logoutlink, and then copy
lib.logoutbutton into that marker.
--
Peter Klein/Umloud Untd
"FEZ (Felix Kratzer)" <fez at stoccer.de> skrev i en meddelelse
news:mailman.1.1138614224.23300.typo3-english at lists.netfielders.de...
> how can I do this?
> The external URL is a field in the page header!
>
> Any code for that?
>
> FEZ
>
> Peter Klein wrote:
>> "FEZ (Felix Kratzer)" <fez at stoccer.de> skrev i en meddelelse
>> news:mailman.1.1138609719.23300.typo3-english at lists.netfielders.de...
>>
>>>Yeah!
>>>We thought about that too!
>>>But this will lose ALL Parameters which were attached to the URL (such as
>>>L=3 for language)
>>>And as we need at least the language this is a way we cannot do it!
>>>
>>
>>
>> Why not? Just create some Typoscript that passes along all the other
>> parameters to the logout url..
>>
More information about the TYPO3-english
mailing list