Am 10. Juli 2014 09:33 schrieb Christian Stern <
christian.st...@pornofilm-produzent.de>:

> Die Änderung dieser Konfiguration könnte dir helfen.
>
> $TCA['sys_file_collection']['columns']['category']['config']['maxitems'] =
> 1;
>

Das ist leider nicht alles, was man machen muss. Jetzt kann man zwar
mehrere Kategorien auswählen, jedoch wird nur eine abgespeichert.
Zusätzlich müsste man die Kategorie-Auswahl so konfigurieren, dass es wie
in der Kategorie-Auswahl in einem tt_content Element funktioniert:

$TCA['tt_content']['columns']['categories']
[config]
[autoSizeMax]=50
[foreign_table]=sys_category
[foreign_table_where]= AND sys_category.sys_language_uid IN (-1, 0) ORDER
BY sys_category.sorting ASC
[maxitems]=9999
[MM]=sys_category_record_mm
[MM_match_fields]
[fieldname]=categories
[tablenames]=tt_content
[MM_opposite_field]=items
[renderMode]=tree
[size]=10
[treeConfig]
[appearance]
[parentField]=parent
[type]=select
[exclude]=1
[label]=LLL:EXT:lang/locallang_tca.xlf:sys_category.categories


Eventuell muss man noch [SYS][defaultCategorizedTables]  um die Tabelle
sys_file_collection erweitern?
_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

Antwort per Email an