[TYPO3] FE-Logout in Menu

FEZ (Felix Kratzer) fez at stoccer.de
Wed Feb 1 13:50:13 CET 2006

Peter Klein wrote:
> Hi Felix. It won't be possible using the "addParams", as that's a property 
> of the entire TMENU, and what you want is to put it on the TMENUITEM level..
> To do that, you'll have to create a small IProcFunc that adds the extra 
> parameter. (The best method.)
> Or turn off the default linking (doNotLinkIt=1) and then create your own 
> links by using the "stdWrap.typolink" property.
> That way you can use the "if" property at item level.
> ---
> Peter Klein / Umloud Untd.
> "FEZ (Felix Kratzer)" <fez at stoccer.de> wrote in message 

That was THE tip!
Also it's not a nice solution it finaly works now!!

THANKS to all for the help!


> news:mailman.1.1138708638.23300.typo3-english at lists.netfielders.de...
>>Just had another idead, how I could solve it.
>>I could use the IF function:
>>1: menu2.1{
>>2:   if.value = 127
>>3:   if.equals.field = uid
>>4:   addParams = &logintype=logout
>>5: }
>>The idea: IF the menuitem links to page with id=127 it should add the 
>>additional parameter.
>>Adding the param works just fine!
>>BUT: It now is added to ALL items.
>>it think the problem is in line 3!
>>I tried uid,id,pid,TSFE:uid,TSFE:id but none of these values worked! Does 
>>anybody have an idea what I should use instead?
>>Or is there any other error in my code/thinking?
>>FEZ (Felix Kratzer) wrote:
>>>Hi group!
>>>I'm looking for a way to create a menu-entry that logs out a FE-User! 
>>>(Without using the Form)
>>>Has anybody done this already?
>>>Any ideas?

More information about the TYPO3-english mailing list