No of upload fields

5 posts by 3 authors in: Forums > CMS Builder
Last Post: May 12, 2009   (RSS)

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 :).
-----------------------------------------------------------
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

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!
Cheers,
Damon Edis - interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Damon] No of upload fields

By avrom - May 12, 2009

Damon, Perfecto ! Thanks...

Avrom