[TYPO3-dam] List > Process does not respect TCA options
Jan Wulff
janwulff at gmx.net
Thu Mar 26 15:14:59 CET 2009
Shouldn't it be at least possible, to import the most common options from
TCA (like 'required', 'trim', 'size' and so on) and use them with whatever
methods the process submodule uses? Also I've noticed that the indexing
submodule does not use the common TCEForms warning messages, but the
TCA option 'size' does work anyhow.
Kind Regards
Jan
Dan Osipov wrote:
> The Process submodule, much like many other sections of the DAM don't
> use TCEForms, and therefore ignore some TCA options. Fixing this is not
> easy...
>
> Dan Osipov
> Calkins Media
> http://danosipov.com/blog/
>
> Jan Wulff wrote:
>> Hi,
>>
>> I'm trying to limit the maximum allowed numbers of categories per file to
>> one. That should be quite easy by using:
>> $TCA['tx_dam']['columns']['category']['config']['maxitems'] = 1;
>>
>> This works with File->Indexing and List->List (edit), but is ignored in
>> List->Process, where I can still add more than one categories to a file.
>>
>> I checked the source of the page, but all the JS functions, which should
>> prevent the assignment of more than one category, are there.
>>
>> Does anyone have an idea? I just disabled the process feature
>> (mod.txdamM1_list.menu.function.tx_dam_list_batch = 0) for now, but that
>> isn't really a solution.
>>
>> I filled a bug request, too:
>> http://bugs.typo3.org/view.php?id=10778
>>
>> Kind Regards
>> Jan
More information about the TYPO3-project-dam
mailing list