[TYPO3] Problem with TCAdefaults

Dmitry Dulepov [typo3] dmitry at typo3.org
Thu Jun 12 05:30:31 CEST 2008


Hi!

Brian Bendtsen wrote:
> I have made an extension where you can create a record with tt_news 
> items as childelement using IRRE. I have created at sysfolder for 
> holding these items, but I want all news records to be saved in a folder 
> with pid=13
> 
> I have inserted this in the pageTS on my sysFolder with the parent records:
> 
> TCAdefaults.tt_news.pid = 13
> 
> but it has no effect, the news items are still created in the same 
> folder at the parent record.

Firsts, pid for the record is always current page. Secondly, IRRE records should be on the same page or you may get problems with permissions (main item is available and related is not, etc).

-- 
Dmitry Dulepov
E-mail: dmitry at typo3.org
Skype: callto:liels_bugs
TYPO3 technical: http://typo3bloke.net/


More information about the TYPO3-english mailing list