Feature #29565
closedEpic #92641: felogin feature collection
It is not possible to force felogin into a certain display mode
0%
Description
felogin decides what to display according to the passed pivars, in the following code section in tx_felogin_pi1
:
// What to display $content=''; if ($this->piVars['forgot']) { $content .= $this->showForgot(); } elseif ($this->piVars['forgothash']) { $content .= $this->changePassword(); } else { if($this->userIsLoggedIn && !$this->logintype) { $content .= $this->showLogout(); } else { $content .= $this->showLogin(); } }
This makes it impossible to have, for example, a login form (LF) and a "forgot password" form (FP) on the same page because even when setting default pivars from typoscript, the LF will turn into a "forgot password" when the FP form is submitted, because it sets the "forgot" pivar.
My idea would be to introduce a "mode" config variable, so that you can force the mode like this:
plugin.tx_felogin_pi1.mode = forgot
Updated by Lucas Jenß about 13 years ago
I incorrectly set the Typo3 version to 4.7, it should be 4.5.
Updated by Chris topher about 13 years ago
- TYPO3 Version changed from 4.7 to 4.5
Updated by Mathias Schreiber almost 10 years ago
- Category set to felogin
- Target version set to 7.2 (Frontend)
Updated by Benni Mack over 9 years ago
- Target version changed from 7.2 (Frontend) to 7.4 (Backend)
Updated by Susanne Moog over 9 years ago
- Target version changed from 7.4 (Backend) to 7.5
Updated by Benni Mack about 9 years ago
- Target version changed from 7.5 to 8 LTS
Updated by Riccardo De Contardi over 7 years ago
- Target version changed from 8 LTS to 9.0
Updated by Markus Klein over 6 years ago
- Related to Epic #84262: [FEATURE] Update felogin to extbase added
Updated by Christian Kuhn over 2 years ago
- Status changed from New to Closed
Hey. I hope it's ok to close here for now: the felogin extension has been rewritten to exbase meanwhile so a lot of the surrounding code changed meanwhile. In case this is still an issue, we should proceed with a fresh ticket and describe what it still needed.