[TYPO3-mvc] New record and pid, how to change?
Franz Koch
typo3.RemoveForMessage at elements-net.de
Sat Sep 18 17:16:01 CEST 2010
Hey,
> I know I read some post recently about this and someone that sent a
> patch but cannot find it anymore.
>
> Problem: I have my plugin with a given storage folder and recursive set.
> All works correctly however I'd like to have new "sub objects" stored in
> same sysfolder as their aggregate. ATM they are stored on the "global"
> sysfolder.
>
> IIRC there was a patch to apply to Extbase to allow pid column to be
> manually set. Could someone enlighten me? Thanks.
Does it work for you to define a "newRecordStoragePid" for each domain
model via TS in the mapping configuration?
config.tx_extbase.persistence.classes {
Tx_YourExt_Domain_Model_FooBar {
newRecordStoragePid = 123
}
}
--
kind regards,
Franz Koch
More information about the TYPO3-project-typo3v4mvc
mailing list