[TYPO3-mvc] [FYI] Autopopulation of PID - or: Where should my records be placed?

Bastian Waidelich bastian at typo3.org
Fri Jul 31 11:01:02 CEST 2009


Sebastian KurfŸürst wrote:

Hi Sebastian,

> I've been thinking a lot how to deal with PIDs, and how to determine 
> where records are fetched from and where they should be stored to.

Sounds good, though I have two concerns:

1. For a small extension that simply displays records I would like the 
fallback to select records recursively in the general storage folder so 
I don't have to configure anything If I don't need constraints. What do 
you think?

2. Tx_Extbase_Configuration_Manager::getDefaultStoragePageId() should 
return a string containing a comma separated list of PIDs, but you have:
if (TYPO3_MODE === 'FE') {
	return $GLOBALS['TSFE']->getStorageSiterootPids();
}

and

tslib_fe::getStorageSiterootPids() seems to return an array!

Bastian


More information about the TYPO3-project-typo3v4mvc mailing list