[TYPO3] FE-Logout in Menu
FEZ (Felix Kratzer)
fez at stoccer.de
Mon Jan 30 13:02:44 CET 2006
Thanks for the code...
For the suggested solution: Any code/hint on that?
tapio wrote:
> Peter Klein wrote:
>
>> 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.
>
>
> You can include that script also inside some menu - like Peter told me
> once and helped me including into a menu EDITPANEL object.
More information about the TYPO3-english
mailing list