No of upload fields
5 posts by 3 authors in: Forums > CMS Builder
Last Post: May 12, 2009 (RSS)
By avrom - May 8, 2009 - edited: May 8, 2009
Hi Dave, Hi Ross,
In the Upload dialog box, the number of upload fields is equivalent to the number of uploads allowed to a maximum of 10.
As I am launching a site where internet access is spotty at times, I only want to have one upload field displayed, so clients can only upload one file at a time, and don't try to upload too much kb all at once.
How would I change this to show just one upload field.
Thank you in advance,
Avrom :))
In the Upload dialog box, the number of upload fields is equivalent to the number of uploads allowed to a maximum of 10.
As I am launching a site where internet access is spotty at times, I only want to have one upload field displayed, so clients can only upload one file at a time, and don't try to upload too much kb all at once.
How would I change this to show just one upload field.
Thank you in advance,
Avrom :))
Re: [virgodesign] No of upload fields
By ross - May 11, 2009
Hi Avrom
Thanks for posting!
Want to make sure I am reading your question properly.
You want to let your people add more than one image over all but only want them to upload one at a time.
Does that sound about right?
Let me know what you think. This may end up being something that needs some code customized in the program itself.
I look forward to hearing from you :).
Thanks for posting!
Want to make sure I am reading your question properly.
You want to let your people add more than one image over all but only want them to upload one at a time.
Does that sound about right?
Let me know what you think. This may end up being something that needs some code customized in the program itself.
I look forward to hearing from you :).
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com
Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com
Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/
Re: [ross] No of upload fields
By avrom - May 11, 2009
Hi Ross,
Yes that is exactly right :)
Cheers
Avrom
Yes that is exactly right :)
Cheers
Avrom
Re: [virgodesign] No of upload fields
By Damon - May 12, 2009
Hi Avrom,
Open up this file to edit:
/cmsAdmin/lib/menus/default/uploadForm.php
On line 85 find this code:
<?php foreach (range(1, (int) min($uploadsRemaining, 10)) as $count): ?>
Change it to this:
<?php foreach (range(1, (int) min($uploadsRemaining, 1)) as $count): ?>
That's it!
Open up this file to edit:
/cmsAdmin/lib/menus/default/uploadForm.php
On line 85 find this code:
<?php foreach (range(1, (int) min($uploadsRemaining, 10)) as $count): ?>
Change it to this:
<?php foreach (range(1, (int) min($uploadsRemaining, 1)) as $count): ?>
That's it!
Cheers,
Damon Edis - interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
Damon Edis - interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/