Project

General

Profile

Actions

Feature #16645

closed

Integrating functionality of extension bzb_newloginbox_redirect

Added by Jens Hirschfeld over 17 years ago. Updated almost 16 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
felogin
Target version:
-
Start date:
2006-10-16
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

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

class.tx_newloginbox_pi1.php.diff (4.3 KB) class.tx_newloginbox_pi1.php.diff Administrator Admin, 2006-10-16 16:11
locallang_db.php.diff (283 Bytes) locallang_db.php.diff Administrator Admin, 2006-10-16 16:11
flexform_ds.xml.diff (2.32 KB) flexform_ds.xml.diff Administrator Admin, 2006-10-16 16:12
Actions #1

Updated by Stefan Strasser over 17 years ago

Good idea, I missed this also. I'd like to integrate several existing ways of redirecting in the future.

Actions #2

Updated by Steffen Kamper almost 16 years ago

fixed in felogin

Actions

Also available in: Atom PDF