SMF Development > Applied or Declined Requests

[Request] Multiple attachments at once !!!

<< < (8/9) > >>

die2mrw007:

--- Quote from: hackrishna on March 18, 2012, 05:54:02 PM ---
--- Quote from: die2mrw007 on March 18, 2012, 05:32:12 PM ---
--- Quote from: niko on March 18, 2012, 03:31:04 PM ---in Post.template.php find
--- Quote ---type="file"
--- End quote ---
and replace with
--- Quote ---type="file" multiple="multiple"
--- End quote ---

Its there two times.

--- End quote ---
thanks buddy :)

--- End quote ---

Does that work in SMF 2.0.2 ??

--- End quote ---
yup, it do work fine :)

hackrishna:
in post.template.php .. i didn't find those  :(

It's something like this


--- Code: ---<input type="file" size="60" name="attachment[]" id="attachment\' + current_attachment + \'" class="input_file" />
--- End code ---

die2mrw007:

--- Quote from: hackrishna on March 18, 2012, 06:03:52 PM ---in post.template.php .. i didn't find those  :(

It's something like this


--- Code: ---<input type="file" size="60" name="attachment[]" id="attachment\' + current_attachment + \'" class="input_file" />
--- End code ---

--- End quote ---
yup instead of type="file"
change it to type="file" multiple="multiple"

Exactly like this:
--- Code: ---<input type="file" multiple="multiple" size="60" name="attachment[]" id="attachment\' + current_attachment + \'" class="input_file" />
--- End code ---

hackrishna:

--- Quote from: die2mrw007 on March 18, 2012, 06:05:22 PM ---
--- Quote from: hackrishna on March 18, 2012, 06:03:52 PM ---in post.template.php .. i didn't find those  :(

It's something like this


--- Code: ---<input type="file" size="60" name="attachment[]" id="attachment\' + current_attachment + \'" class="input_file" />
--- End code ---

--- End quote ---
yup instead of type="file"
change it to type="file" multiple="multiple"

--- End quote ---

lol ok :D

In all places ???

die2mrw007:

--- Quote from: hackrishna on March 18, 2012, 06:06:05 PM ---
--- Quote from: die2mrw007 on March 18, 2012, 06:05:22 PM ---
--- Quote from: hackrishna on March 18, 2012, 06:03:52 PM ---in post.template.php .. i didn't find those  :(

It's something like this


--- Code: ---<input type="file" size="60" name="attachment[]" id="attachment\' + current_attachment + \'" class="input_file" />
--- End code ---

--- End quote ---
yup instead of type="file"
change it to type="file" multiple="multiple"

--- End quote ---

lol ok :D

In all places ???

--- End quote ---
there are two places in total :)
check it...use "find" function of Notepad editor :P

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version