Bug #17324
closedNo function of the --plugin.tx_newloginbox_pi1.detailsPage--
0%
Description
The via TS configurable value of:
plugin.tx_newloginbox_pi1.detailsPage has no effect in the Frontend.
I think it was lost during the "templating" process.
In the "class.tx_newloginbox_pi1.php" line 219 is the logic for the detailsPage.
It seems the "$wrapArray" is never read.
To match the Documentation I have changed the code to the following:
--- line 219
if ($this->conf['detailsPage']) {
$markerArray['###USERNAME###'] = $this->pi_linkToPage($GLOBALS['TSFE']->fe_user->user['username'],$this->conf['detailsPage']);
//$usernameInfo = $this->pi_linkToPage($usernameInfo, $this->conf['detailsPage'], '', array('tx_newloginbox_pi3[showUid]' => $GLOBALS['TSFE']->fe_user->user['uid'], 'tx_newloginbox_pi3[returnUrl]' => t3lib_div::getIndpEnv('REQUEST_URI')));
//$wrapArray['###DETAILS_LINK###'] = '<a href="' . $this->pi_linkToPage($this->conf['detailsPage'], '', array('tx_newloginbox_pi3[showUid]' => $GLOBALS['TSFE']->fe_user->user['uid'], 'tx_newloginbox_pi3[returnUrl]' => t3lib_div::getIndpEnv('REQUEST_URI'))) . '">|</a>';
} else {
//$wrapArray['###DETAILS_LINK###'] = '|';
$markerArray['###USERNAME###'] = $GLOBALS['TSFE']->fe_user->user['username'];
}
$markerArray['###ACTION_URI###'] = htmlspecialchars($this->pi_getPageLink($GLOBALS['TSFE']->id, '_top'));
$markerArray['###LOGOUT_LABEL###'] = $this->pi_getLL('logout', '', 1);
$markerArray['###NAME###'] = $GLOBALS['TSFE']->fe_user->user['name'];
$markerArray['###STORAGE_PID###'] = intval($spid['_STORAGE_PID']);
$markerArray['###USERNAME_LABEL###'] = $this->pi_getLL('username', '', 1);
(issue imported from #M5669)