|
Alons0
|
 |
« on: December 23, 2006, 08:04:06 AM » |
|
When my users successfully upload files, they see the page where is displayed "The file is succesfully uploaded. Back to the folder..." And I want when the users upload file after that in "page of results" to display the link of the uploaded file. What to paste in section "upload-results" or in "upload-success"? P.S.: Sorry for my poor English 
|
|
|
|
« Last Edit: December 23, 2006, 11:24:57 AM by Alons0 »
|
Logged
|
|
|
|
|
Alons0
|
 |
« Reply #1 on: December 23, 2006, 09:34:09 AM » |
|
I tried %item-link%, but it doesn's work 
|
|
|
|
|
Logged
|
|
|
|
|
TSG
|
 |
« Reply #2 on: December 23, 2006, 09:38:18 AM » |
|
So you want this section allow the user to be able to open the file? I found that this here works quite nicely. Using the target to open a new window gives the user the ability to still return to the upload section of your server, without the use of the back button. As you can see it goes into this section  [upload-success] <li><b>SUCCESS!</b> Uploaded: <a href="%item-name%" target=_blank>%item-name%</a> --- %item-size% (Speed: %speed% KB/s)
|
|
|
|
|
Logged
|
|
|
|
|
Alons0
|
 |
« Reply #3 on: December 23, 2006, 09:43:03 AM » |
|
So you want this section allow the user to be able to open the file? I found that this here works quite nicely. Using the target to open a new window gives the user the ability to still return to the upload section of your server, without the use of the back button. As you can see it goes into this section  [upload-success] <li><b>SUCCESS!</b> Uploaded: <a href=" %item-name%" target=_blank>%item-name%</a> --- %item-size% (Speed: %speed% KB/s) But this shows link to file in my computer, no in my site  I tried with %item-url%, but it displays ex.: http://10.6.13.25/Upload/%item-url%
|
|
|
|
« Last Edit: December 23, 2006, 09:46:43 AM by Alons0 »
|
Logged
|
|
|
|
rejetto
Administrator
Insane programmer
Offline
 Italy
Posts: 11829
|
 |
« Reply #4 on: December 23, 2006, 09:46:27 AM » |
|
%item-name% is not encoded, not good for every character in next build %item-url% will be available published in few hours
|
|
|
|
|
Logged
|
|
|
|
|
TSG
|
 |
« Reply #5 on: December 23, 2006, 09:47:44 AM » |
|
oh ok nice, i did try this, the first time, but i found it did not work... didn't realise it wasn't available yet in HFS 
|
|
|
|
« Last Edit: December 23, 2006, 09:50:28 AM by That_Stevens_Guy »
|
Logged
|
|
|
|
|
rejetto forum
|
 |
« Reply #5 on: December 23, 2006, 09:47:44 AM » |
|
Do you like this software?
Consider even $2
|
|
|
|
|
Logged
|
|
|
|
|
|
|
Alons0
|
 |
« Reply #7 on: December 23, 2006, 11:13:57 AM » |
|
%item-url% will works in the next beta version. OK. If I upload for ex. 2-3 files, can the command displays the links of the all files?
|
|
|
|
|
Logged
|
|
|
|
rejetto
Administrator
Insane programmer
Offline
 Italy
Posts: 11829
|
 |
« Reply #8 on: December 23, 2006, 11:17:08 AM » |
|
|
|
|
|
|
Logged
|
|
|
|
|
Alons0
|
 |
« Reply #9 on: December 23, 2006, 11:21:03 AM » |
|
Don't worry. I use damn template(edited of course).
|
|
|
|
|
Logged
|
|
|
|
|
|
|
Alons0
|
 |
« Reply #11 on: December 23, 2006, 02:59:03 PM » |
|
Rejetto please help
|
|
|
|
|
Logged
|
|
|
|
rejetto
Administrator
Insane programmer
Offline
 Italy
Posts: 11829
|
 |
« Reply #12 on: December 23, 2006, 03:04:52 PM » |
|
|
|
|
|
|
Logged
|
|
|
|
|
Alons0
|
 |
« Reply #13 on: December 23, 2006, 03:12:25 PM » |
|
|
|
|
|
|
Logged
|
|
|
|
|