|
Flynsarmy
|
 |
« on: February 09, 2007, 10:27:52 AM » |
|
Any chance we could get a [Filelist] field that would allow us to create a page containing the files list? At the moment it's relatively useless.
|
|
|
|
« Last Edit: February 10, 2007, 08:54:56 AM by That_Stevens_Guy »
|
Logged
|
|
|
|
|
TSG
|
 |
« Reply #1 on: February 09, 2007, 10:46:30 AM » |
|
The idea behind this is that maybe we can show the files, on the click of a link or button, as a list of url-links styled to the template in place of the ToG table. We are unsure how to go about this atm. Something similar (not exactly of course) to what i've whipped up here in my image editor. One shows the ToG as it is now. And the other shows the ToG after the button is pressed. with a file-list of url's which also link to download the file  Please share your ideas on this. [attachment deleted by admin]
|
|
|
|
|
Logged
|
|
|
|
|
Giant Eagle
|
 |
« Reply #2 on: February 11, 2007, 06:33:45 AM » |
|
....  Why dont you use filelist.tpl and configure it to look like the ToG. Make a button link to ( http://%host%)%folder%~files.lst and you're done  Or am i getting the wrong idea now?..
|
|
|
|
|
Logged
|
Rest in peace 500mhz server, you served me well... New 1500mhz server DOA'ed on me >_> New 2400mhz server up and running again  
|
|
|
|
TSG
|
 |
« Reply #3 on: February 11, 2007, 08:56:21 AM » |
|
only problem with that is users will have to implement yet another thing to run the ToG template, i suppose this is possible tho... i have never even attempted to edit the filelist.tpl before.... Ok i have decided that editing the filelist.tpl is the best idea, but how do i get to the default filelist.tpl  ....
|
|
|
|
« Last Edit: February 11, 2007, 09:50:48 AM by That_Stevens_Guy »
|
Logged
|
|
|
|
|
Garphy
|
 |
« Reply #4 on: February 11, 2007, 10:41:21 AM » |
|
this is default one: %files%
[files] %list%
[file] http://%host%%encoded-folder%%item-url%<br>
|
|
|
|
|
Logged
|
|
|
|
|
TSG
|
 |
« Reply #5 on: February 11, 2007, 10:43:41 AM » |
|
Thnx for the help, i forgot to post back, Giant Eagle helped me over MSN.
|
|
|
|
|
Logged
|
|
|
|
|
rejetto forum
|
 |
« Reply #5 on: February 11, 2007, 10:43:41 AM » |
|
Do you like this software?
Consider even $2
|
|
|
|
|
Logged
|
|
|
|
rejetto
Administrator
Insane programmer
Offline
 Italy
Posts: 11829
|
 |
« Reply #6 on: May 01, 2007, 10:23:44 AM » |
|
so you would like to be able to include the filelist.tpl in the main template?
|
|
|
|
|
Logged
|
|
|
|
|
TSG
|
 |
« Reply #7 on: May 01, 2007, 10:50:36 AM » |
|
man this was ages ago... i kind of remember, i think the general idea was to have a button that we could open the file list inside the template, and the links would actually function properly to download the file. This could be achieved by user sections though i think... i don't know  i just find the file list kind of useless as a text file and think it would be better like this for my template, of course i would still provide a default file list link  anyhoo sleep tiem
|
|
|
|
|
Logged
|
|
|
|
rejetto
Administrator
Insane programmer
Offline
 Italy
Posts: 11829
|
 |
« Reply #8 on: May 01, 2007, 10:53:25 AM » |
|
i know it's old, better late than never.  just tell me if you need the thing i said, because i didn't understand this from the reply.
|
|
|
|
|
Logged
|
|
|
|
|
TSG
|
 |
« Reply #9 on: May 01, 2007, 11:03:06 AM » |
|
ye it would be cool to have it in the main template  so long as it achieves the ability to edit it without having a seperate file, and of course give us the ability to be able to make something identical to the image i made... i have a day off university tomorrow so i'll jump back on then, its 2am  and i got up yesterday at 5:30am >_<
|
|
|
|
|
Logged
|
|
|
|
rejetto
Administrator
Insane programmer
Offline
 Italy
Posts: 11829
|
 |
« Reply #10 on: May 01, 2007, 11:11:12 AM » |
|
to achieve that result, the better thing is to: - add a <script> to the [file] section, where you have a filelist var that appends the new file, like filelist += "the new text<br>" - document.getElementById('innerBoxDiv').innerHTML = fileList
no page reloading
|
|
|
|
|
Logged
|
|
|
|
|
Giant Eagle
|
 |
« Reply #11 on: May 01, 2007, 11:22:09 AM » |
|
You need <script> for every single file.. makes it a bit useless tho
|
|
|
|
|
Logged
|
Rest in peace 500mhz server, you served me well... New 1500mhz server DOA'ed on me >_> New 2400mhz server up and running again  
|
|
|
lica
Guest
|
 |
« Reply #12 on: January 16, 2009, 12:40:14 AM » |
|
I want invitation? 
|
|
|
|
|
Logged
|
|
|
|
rejetto
Administrator
Insane programmer
Offline
 Italy
Posts: 11829
|
 |
« Reply #13 on: January 20, 2009, 11:32:10 AM » |
|
please explain better
|
|
|
|
|
Logged
|
|
|
|
|