Author Topic: Number of Upload  (Read 2778 times)

0 Members and 1 Guest are viewing this topic.

Xnorky

  • Guest
Number of Upload
« on: January 20, 2007, 12:47:29 PM »
Hello,

Sorry for my english, i'm french...  :)

It is possible to have only one input for upload file ? (instead 10)...

Thanks

Online rejetto

  • Administrator
  • Insane programmer
  • *
  • Posts: 12461
    • View Profile
Re: Number of Upload
« Reply #1 on: January 20, 2007, 02:00:57 PM »
easy answer: no.

but there is a hard way, don't do it: recompiling sources, changing this piece
Code: [Select]
  for i:=1 to 10 do
    files:=files+ x_template(diffTpl['upload-file'], ['%idx%',intToStr(i)]);
with the number you want. forget about it.

Offline Giant Eagle

  • Insane poster
  • *****
  • Posts: 535
  • >=3 RAWR!
    • MSN Messenger - no.body056@gmail.com
    • View Profile
    • RAWR-Designs.com
Re: Number of Upload
« Reply #2 on: January 20, 2007, 03:14:17 PM »
 ??? ??? ???

why not?

find the %upload-files% thing inside the [upload] tag of your template

and replace it with this:
Code: [Select]
<input name=fileupload size=70 type=file><br />
Much easier then de- and recompiling ;D

Online rejetto

  • Administrator
  • Insane programmer
  • *
  • Posts: 12461
    • View Profile
Re: Number of Upload
« Reply #3 on: January 20, 2007, 07:38:40 PM »
yes, i forgot this solution
though i already gave it a long time ago

ebola

  • Guest
Re: Number of Upload
« Reply #4 on: December 31, 2007, 08:38:41 AM »
Hi

using v2.2b (150) and looks like

<input name=fileupload size=70 type=file><br />

instead of

%upload-files%

isn't working anymore.
Someone else same problem?