Feature #16650 » storagePidFlex.diff
locallang_db.php (working copy) | ||
---|---|---|
'tt_content.pi_flexform.sheet_logout' => 'Logout',
|
||
'tt_content.pi_flexform.show_forgot_password' => 'Show "Forgot password?" link:',
|
||
'tt_content.pi_flexform.show_permalogin' => 'Show "Stay logged in" checkbox (if switched on for the installation):',
|
||
'tt_content.pi_flexform.storagePid' => 'User Storage Page',
|
||
'tt_content.pi_flexform.field_manualOrder' => 'Using fieldlists below:',
|
||
'tt_content.pi_flexform.field_orderList' => 'User Fields/list:',
|
||
'tt_content.pi_flexform.field_orderDetails' => 'User Fields/details:',
|
pi1/class.tx_newloginbox_pi1.php (working copy) | ||
---|---|---|
// Get storage PIDs:
|
||
if ($this->conf['storagePid']) {
|
||
$spid['_STORAGE_PID'] = $this->conf['storagePid'];
|
||
} elseif ($this->pi_getFFvalue($this->cObj->data['pi_flexform'],'storagePid','sDEF')) {
|
||
$spid['_STORAGE_PID'] = $this->pi_getFFvalue($this->cObj->data['pi_flexform'],'storagePid','sDEF');
|
||
} else {
|
||
$spid = $GLOBALS['TSFE']->getStorageSiterootPids();
|
||
}
|
flexform_ds.xml (working copy) | ||
---|---|---|
</config>
|
||
</TCEforms>
|
||
</show_permalogin>
|
||
<storagePid>
|
||
<TCEforms>
|
||
<label>LLL:EXT:newloginbox/locallang_db.php:tt_content.pi_flexform.storagePid</label>
|
||
<config>
|
||
<type>group</type>
|
||
<internal_type>db</internal_type>
|
||
<allowed>pages</allowed>
|
||
<size>1</size>
|
||
<maxitems>1</maxitems>
|
||
<minitems>0</minitems>
|
||
<show_thumbs>1</show_thumbs>
|
||
</config>
|
||
</TCEforms>
|
||
</storagePid>
|
||
</el>
|
||
</ROOT>
|
||
</sDEF>
|