[TYPO3] FE-Logout in Menu

FEZ (Felix Kratzer) fez at stoccer.de
Wed Feb 1 08:47:14 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.
> 
oooookay...
so that is why it did not work....

thanks...

I'll start to learn IProcFunc RIGHT away!

FEZ

> "FEZ (Felix Kratzer)" <fez at stoccer.de> wrote in message 
> 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
>>
>>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?
>>>
>>>FEZ 
> 
> 
> 



More information about the TYPO3-english mailing list