[TYPO3-dev] Login box: Get storage id or use flexform starting point
Steffen Kamper
steffen at sk-typo3.de
Fri May 16 09:18:12 CEST 2008
"Antonio Willybiro" <keiser_soze at hotmail.com> schrieb im Newsbeitrag
news:mailman.1.1210921804.863.typo3-dev at lists.netfielders.de...
> Hi there,
>
> i am trying to understand how the loginbox work and how it can get the
> User storage ID either set by TS (styles.content.loginform.pid = X) or by
> using the flexform starting point.
>
> 1. is that code enoughto get the storagePid?: so far I only get the
> getStorageSiterootPid. any clue why?
> // Get storage PIDs:
> if ($this->conf['storagePid']) {
> $spid['_STORAGE_PID'] = $this->conf['storagePid'];
> } else {
> $spid = $GLOBALS['TSFE']->getStorageSiterootPids();
> }2. how do i get the extension to look at the flexform starting point
> instead of the storage id?Thanks in adavnce.Antonio
Hi,
if used in flexform it uses $this->pi_getPidList to get the pidlist.
look in function mergeflexFormValuesIntoConf where flex configuration is
merged with conf.
vg Steffen
More information about the TYPO3-dev
mailing list