[TYPO3-dev] Create new page

Tapio Markula tapio.markula at dnainternet.net
Wed Aug 9 14:19:14 CEST 2006


Hi

I found this difference in Typo3 3.8.1 and 4.0.1
in alt_doc.php

3.8.1
$this->elementsData[]=array(									'table' => $table,								'uid' 
=> $rec['uid'],								'cmd' => $cmd,									'deleteAccess' => 
$deleteAccess							);								if ($cmd=='new')	{									$rec['pid'] = 
$theUid=='prev'?$thePrevUid:$theUid;
		}

4.0.1.
if ($cmd=='new')	{									$rec['pid'] = 
$theUid=='prev'?$thePrevUid:$theUid;
		}

$this->elementsData[]=array(									'table' => $table,								'uid' 
=> $rec['uid'],								'pid' => $rec['pid'],							 
'cmd' => $cmd,									'deleteAccess' => $deleteAccess							);	
at least this change in tm_contentaccess caused incorrect
result.
  new page went always as root page and creating some new content
elements didn't work.

I must use the version of Typo 3.8.1




More information about the TYPO3-dev mailing list