[TYPO3-core] RFC: Bug #14121: [felogin] Use piVars instead of _GP
Sascha Egerer
seg at softvision.de
Thu Apr 15 11:21:34 CEST 2010
This is an SVN patch request.
Type: New feature / Bugfix
Bugtracker references:
http://bugs.typo3.org/view.php?id=14121
Branches:
4-3, trunk
Problem:
felogin is using t3lib_div::_GP(). The problem is that you can't use
_DEFAULT_PI_VARS in TypoScript.
Solution:
Change the t3lib_div::_GP() calls to $this->piVars[] and keep the _GP
stuff for compatibility
Notes:
Maybe you want a "logout" link in you menu. You can easily create a page
"logout" wich is displayed in you Menu. But you have to add a plugin on
this page and the user has to click on logut on this page again.
It would be much better if you can set this "logout" action by default
to this page with typoscript.
Something like this
# page 543 is the logout page wich is displayed in the menu
[globalVar = TSFE:id=543]
plugin.tx_felogin_pi1._DEFAULT_PI_VARS.logintype = logout
[global]
Cheers
Sascha Egerer
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: issue_14121.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100415/351e417d/attachment.txt>
More information about the TYPO3-team-core
mailing list