[TYPO3] FE-Logout in Menu
tapio
tapio.markula at dnainternet.net
Mon Jan 30 12:36:21 CET 2006
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