[TYPO3-dam-devel] RFC: Bugfix: 5698: Upload Number of Files Has not Affect

georg kuehnberger gk at plan2.net
Mon Oct 29 03:46:39 CET 2007


Michiel
+ 1
- however, using SVN trunk, I cant reproduce this, see below;
regards georg

reproduction:
---
Media >> File >> choose a Folder > TAB: Upload:
   Selection: 5 or 10 or 15:
will show the chosen # of upload fields;
---
as coming from:
---
dam/modfunc_file_upload/class.tx_dam_file_upload.php
---
l 122
	function modMenu()    {
			'tx_dam_file_uploadFields' =>  array(
						5 => '5 
'.$LANG->sL('LLL:EXT:lang/locallang_core.xml:file_upload.php.files'),
						10 => '10 
'.$LANG->sL('LLL:EXT:lang/locallang_core.xml:file_upload.php.files'),
						15 => '15 
'.$LANG->sL('LLL:EXT:lang/locallang_core.xml:file_upload.php.files'),
					),
			'tx_dambatchprocess_setup' => '',


Michiel Roos wrote:
> This is a svn patch request.
> 
> Type: bugfix
> 
> Problem:
> The uploads dropdown menu that allows the user to select 5, 10, or 15
> has no affect on the number of, "browse", fields that show up. If 10 or
> 15 is selected the number of browse fields remains at 5.
> 
> Solution:
> Modify lib/class.tx_dam_scbase.php to include the following (near line 
> 347):
>          'tx_dam_file_uploadFields' => array(
>              5 => '5',
>              10 => '10',
>              15 => '15',
>            ),
>          'tx_dam_file_upload_overwrite' => '',
> 
> Branches:
> Head
> 
> Bugtracker reference: http://bugs.typo3.org/view.php?id=5698
> 
> Kind regards,
> 
> 
> Michiel Roos
> 
> _______________________________________________
> TYPO3-team-dam mailing list
> TYPO3-team-dam at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-team-dam


More information about the TYPO3-team-dam mailing list