Page 1 of 2
Upload button not visible
Posted: 18 Nov 2011, 22:28
by Terr0r
Hello people
I have install this MOD it is working fine a nice MOD but I missing something
I have this
And on this forum you see this
I have install the MOD good I have do the edits good
But how is it possible that I missing something
Already thanks for the help
Greets Terr0r
Upload button not visible
Posted: 18 Nov 2011, 22:35
by Stoker
You have made an err0r in this file edit: styles/prosilver/template/posting_attach_body.html
Upload button not visible
Posted: 18 Nov 2011, 22:44
by Terr0r
what do you mean I have made a error in this file posting_attach_body.html
this is the part what you must set in the posting_attach_body.html
Code: Select all
<dd id="buttonsatt">
<input type="file" name="fileupload" id="fileupload" maxlength="{FILESIZE}" value="" class="inputbox autowidth" />
<input type="submit" name="add_file" value="{L_ADD_FILE}" class="button2" onclick="JavaScript:document.getElementById('buttonsatt').style.display='none';document.getElementById('processingatt').style.display='block';upload = true;" />
</dd>
And this is what I have in my posting_attach_body.html
Code: Select all
<dd id="buttonsatt">
<input type="file" name="fileupload" id="fileupload" maxlength="{FILESIZE}" value="" class="inputbox autowidth" />
<input type="submit" name="add_file" value="{L_ADD_FILE}" class="button2" onclick="JavaScript:document.getElementById('buttonsatt').style.display='none';document.getElementById('processingatt').style.display='block';upload = true;" />
</dd>
It is the same code what I have in posting_attach_body.html what you must add in posting_attach_body.html
Greets Terr0r
Upload button not visible
Posted: 18 Nov 2011, 22:56
by Stoker
Try this instead:
Code: Select all
<dd id="buttonsatt">
<input type="file" name="fileupload" id="fileupload" maxlength="{FILESIZE}" value="" class="inputbox autowidth" />
<input type="submit" name="add_file" value="{L_ADD_FILE}" class="button2" onclick="JavaScript:document.getElementById('buttonsatt').style.display='none';document.getElementById('processingatt').style.display='block';upload = true;" />
</dd>
<dd id="processingatt" style="display:none;">
<input type="button" class="button2" value="{L_AT_FILE_UPLOADING}" disabled="disabled" />
</dd>
Upload button not visible
Posted: 18 Nov 2011, 23:16
by Terr0r
Yes that is working thanks
I think you must update the install.xml from this MOD
And I missing the loading animation image how can add that ?
Already thanks
Greets Terr0r
Upload button not visible
Posted: 18 Nov 2011, 23:27
by Solidjeuh
That 'loading' image is not part of the mod .. at least not when I downloaded it
Upload button not visible
Posted: 18 Nov 2011, 23:30
by Stoker
Take a look at the paypal mod. The image is there so you sould be able to copy the code over.
Upload button not visible
Posted: 18 Nov 2011, 23:56
by Terr0r
I have found it and add it to the posting_attach_body.html and it is working
Upload button not visible
Posted: 19 Nov 2011, 00:01
by Stoker
Upload button not visible
Posted: 06 Apr 2012, 17:13
by mikef35
Stoker,
Can you tell if this is right?
Code: Select all
<dd id="buttonsatt">
<input type="file" name="fileupload" id="fileupload" maxlength="{FILESIZE}" value="" class="inputbox autowidth" />
<input type="submit" name="add_file" value="{L_ADD_FILE}" class="button2" onclick="JavaScript:document.getElementById('buttonsatt').style.display='none';document.getElementById('processingatt').style.display='block';upload = true;" />
</dd>
<dd id="processingatt" style="margin-top:8px; display:none;">
<img src="{ROOT_PATH}images/loader.gif" width="16" height="16" alt="" style="margin-bottom:-5px; padding-right:10px;" />
<input type="button" class="button2" value="{L_AT_FILE_UPLOADING}" disabled="disabled" />
</dd>