[TYPO3] FE-Logout in Menu

tapio tapio.markula at dnainternet.net
Mon Jan 30 19:20:56 CET 2006


FEZ (Felix Kratzer) wrote:
> Thanks for the code...
> 
> For the suggested solution: Any code/hint on that?

Below is EDITPANEL in menu - basically with the same principle you
can put logout link.


[globalVar = TSFE : beUserLogin]
temp.newpage >
[else]

temp.newpage = COA
temp.newpage {
...
[end]

// use instead FE-login condition [loginUser = *]

  CUR < .NO
...
    CUR.after.cObject < temp.newpage_after
}

That adds an edit panel after the link, which relates with the current page.

you need an extra condition to set after the correct page
because the control, which I have used doesn't work with you.

[globalVar = TSFE:id = 52]
loginbox < temp.something
[else]

[end]


...

  NO.after.cObject < loginbox

Should work at that principle - not tested anyway



More information about the TYPO3-english mailing list