[TYPO3-irre] IRRE Problem with tree tables in combination: parent-child-subchild

Stefan Frömken firma at sfroemken.de
Tue May 20 11:40:03 CEST 2008


Stefan Frömken schrieb:

>>
>> printer_head_rel --[1:n]--> printer_head_type_rel
>>   ^           ^               ^
>>   |1:n        |1:n            |1:n
>> *printer*   *printerHead*   *printerHeadType*
>>

After several tests and configuration changes I now know, what you meen 
with this diagram.

A very good idea. It works now. And it works with useCombination=1.

I little tip:
table printerHeadTyp and printerHeadTyp_rel have both a field called 
"typid".

To differ them you have to add the tablename to this property. But don't 
add the tablefield to the property foreign_label!

"config" => Array (
	"type" => "inline",
	"foreign_table" => "tx_sfebshaslo_printerheadtyp_rel",
	"foreign_field" => "headid",
	"foreign_selector" => "tx_sfebshaslo_printerheadtyp_rel.typid",
	"foreign_sortby" => "headsorting",
	"foreign_label" => "typid",
	"appearance" => Array (
		"collapseAll" => 1,
		"expandSingle" => 1,
		"useCombination" => 1,
	),
	"maxitems" => 1,
)

Many thanks

Stefan Frömken


More information about the TYPO3-project-irre mailing list