Feature #16645
closedIntegrating functionality of extension bzb_newloginbox_redirect
0%
Description
Short description of the extension bzb_newloginbox_redirect:
A user calls a url to a restricted page. He gets the page with the login-form (newloginbox). After positive authentification (user gives correct username and password) he will be redirected to the page, he tried to call directly.
I think it is a very useful functionality and i have integrated it in the current version on my server. It is deactivated by default and can be activated through a checkbox in the Flexform.
Maybe it can be integrated in future Versions of newloginbox?
class.tx_newloginbox_pi1.php.diff:
266,269c266
< //2006/10/16 Jens Hirschfeld - begin - Integrated Function of the Extension bzb_newloginbox_redirect by Christian Zenz
< $markerArray['###ACTION_URI###'] = htmlspecialchars(($this->pi_getFFvalue($this->cObj->data['pi_flexform'], 'redirect_directCalledPage', 'sDEF') && t3lib_div::GPvar('id') && $logintype != "logout")?$this->pi_getPageLink(t3lib_div::GPvar('id'),'_top'):$this->pi_getPageLink($GLOBALS['TSFE']->id, '_top'));
< // $markerArray['###ACTION_URI###'] = htmlspecialchars($this->pi_getPageLink($GLOBALS['TSFE']->id, '_top'));
< //2006/10/16 Jens Hirschfeld - end - Integrated Function of the Extension bzb_newloginbox_redirect by Christian Zenz
---
$markerArray['###ACTION_URI###'] = htmlspecialchars($this->pi_getPageLink($GLOBALS['TSFE']->id, '_top'));
locallang_db.php.diff:
26d25
< 'tt_content.pi_flexform.redirect_directCalledPage' => 'Redirect User to called Page (if given in the calling URL):',
57d55
< 'tt_content.pi_flexform.redirect_directCalledPage' => 'Benutzer auf aufgerufene Seite weiterleiten (wenn in der aufrufenden URL angegeben):',
flexform_ds.xml.diff:
26,33d25
< <redirect_directCalledPage>
< <TCEforms>
< <label>LLL:EXT:newloginbox/locallang_db.php:tt_content.pi_flexform.redirect_directCalledPage</label>
< <config>
< <type>check</type>
< </config>
< </TCEforms>
< </redirect_directCalledPage>
(issue imported from #M4394)
Files
Updated by Stefan Strasser almost 18 years ago
Good idea, I missed this also. I'd like to integrate several existing ways of redirecting in the future.