[TYPO3-core] RFC #13279: defaults are not applied using "page after" in "new element wizard"
Steffen Kamper
info at sk-typo3.de
Mon Jan 18 11:00:39 CET 2010
Hi,
wait a moment.
If there is a negative pid this means "after" abs(pid). But reading
PageTS has to be done from parent instead from pid. Example:
// Negative PID values is pointing to a page on the same level as the
current.
if ($positionPid < 0) {
$pidRow = t3lib_BEfunc::getRecordWSOL('pages', abs($positionPid), 'pid');
$parentPageId = $pidRow['pid'];
} else {
$parentPageId = $positionPid;
}
this is the equivalent in TV, so we need the same check here.
vg Steffen
More information about the TYPO3-team-core
mailing list