Upload more then 1 file

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
peugeot-304

Upload more then 1 file

Post by peugeot-304 »

First, a happy new year to the CMSMS community from the NL.

Now my question: I'm using CMSMS 1.0.2 and the Uploads module 1.2.3. I would like to offer visitors to my site the possibility to upload some pictures and/or files.
The uploads module off course makes it possible however only 1 picture/file at a time. Is there a way to extend the number of files/pictures to be uploaded?

I stripped the upload-template to my needs and tried to create more input fields - that worked out fine.


{$startform}{$input_key}
{if $noauthor }
{$input_author}
{else}
{$prompt_author}    {$input_author}
{/if}
{$prompt_upload}{$hidden}{$input_browse}
{$prompt_upload}{$hidden}{$input_browse}
{$prompt_upload}{$hidden}{$input_browse}
{$input_submit}
{$endform}


Unfortunately only the last file is uploaded after hitting the "submit" button even though all fields were populated.

If anybody could advise me how to solve that problem would be great.

Thanks in advance

Dieter
cyberman

Re: Upload more then 1 file

Post by cyberman »

peugeot-304 wrote: Unfortunately only the last file is uploaded after hitting the "submit" button even though all fields were populated.
Can't be done with current upload module.

You can place more than one {$input_browse} in your template but {$input_browse} can have only one value so system accept only the last value ...
peugeot-304

Re: Upload more then 1 file

Post by peugeot-304 »

>:( Too bad.....  ???


anyway thanks Cyberman for the quick response.

Would be a good idea to add to a future release of the Uploads module.
So that the admin can indicate in preferences the number of files that visitors can upload in one go.

Dieter
cyberman

Re: Upload more then 1 file

Post by cyberman »

peugeot-304 wrote: Would be a good idea to add to a future release of the Uploads module.
Feel free to add a feature request on project page  :D ...
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am
Location: Deatsville, AL

Re: Upload more then 1 file

Post by Elijah Lofgren »

The FileManager module (a replacement for the built in FileManager) has the ability to upload up to 10 files a time: http://dev.cmsmadesimple.org/projects/filemanager

Maybe the code from that could be adapted to be used in the Uploads module.
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
Locked

Return to “Modules/Add-Ons”