[TYPO3-irre] UID and TABLE information ist NOT stored
Markus Ablinger
marla80 at gmx.net
Tue Mar 13 11:39:55 CET 2007
Hi,
I try to create a new extension (-> winning game)
It should be possible to create as many questions as you like;
The child elements are stored but table and uid information are NOT stored.
As you can see below I configured the tables, but I cannot find any error
...
I do not know whats wrong, perhaps anybody can help me.
Thanks a lot
markus
$TCA["tx_mabwinninggame_games"] = array (
[...]
"questions" => Array (
"exclude" => 0,
"label" =>
"LLL:EXT:mab_winninggame/locallang_db.xml:tx_mabwinninggame_games.questions",
"config" => Array (
"type" => "inline",
"foreign_table" => "tx_mabwinninggame_questions",
"foreign_field" => "game_uid",
"foreign_table_field" => "parenttable",
"symmetric_sortby" => "",
"maxitems" => 10,
"appearance" => Array(
"collapseAll" => 1,
"expandSingle" => 1,
"newRecordLinkPosition" => "both",
"newRecordLinkAddTitle" => 1,
"useSortable" => 1,
),
)
),
...
$TCA["tx_mabwinninggame_questions"] = array (
[....]
"game_uid" => Array (
"config" => Array (
"type" => "passthrough",
)
),
"parenttable" => Array (
"config" => Array (
"type" => "passthrough",
)
),
);
More information about the TYPO3-project-irre
mailing list