[Typo3-dev] $TCA['config'] with type =group and minitems=1 and uploadfolder=somefolder

Martin T. Kutschker Martin.no5pam.Kutschker at blackbox.n0spam.net
Mon Aug 30 09:57:13 CEST 2004


Stanislas Rolland wrote:
> Perhaps my problem was not clearly stated. I will use an example.
> 
> I published an extension that creates a  type of content element
>  allowing to display a QuickTime movie. Since it does not make sense
>  to create such a content element without specifying a movie file,
>  I specified in the $TCA entry a config of type group with minitems=1.
> 
> The result is that the BE user is able to to browse /fileadmin to
>  select  an already uploaded QuickTime file, but is not able to
>  upload a new one. The backend form just refuses, indicating that
>  the minimum requirement is not fulfilled.
> 
> How could this behaviour be corrected?

By changes made to t3lib_tceforms.php?

But I know what you mean. The BE doesn't handle required singe-file 
upload fields well.

Besides fixing the bug mentioned above I'd like to see a *real* 
single-file upload field. No min/max-item stuff no misleadg UI (list 
when only one value is valid!).

Masi





More information about the TYPO3-dev mailing list