[TYPO3-irre] 1:n Relation to the same table

Malte Jansen mail at maltejansen.de
Mon Oct 29 12:51:54 CET 2007


Hi!

I'm just trying to create a structure like the page-tree or categories 
of the tt_news with IRRE. But when ever I change the config from 
"select" to "inline" it I get a Timeout. I have checked the 
documentation, but there is nothing about a 1:n relation to itself.

Here is the TCA: (I have tested some other variantes, but nothing worked...)
$TCA["tx_my_table"] = array (
"columns" => array (
     "parentuid" => Array (
         "config" => Array (
             "type" => "passthrough",
             "foreign_table" => "tx_my_table"
         )
     ),
     "field1" => Array (
         "exclude" => 1,
         "config" => Array (
             "type" => "inline",
             "foreign_table" => "tx_my_table",
             "foreign_field" => "parentuid",
             "maxitems" => 3,
         )
     ),
),
);

Regards,

Malte


More information about the TYPO3-project-irre mailing list