rejetto forum

Files List

0 Members and 1 Guest are viewing this topic.

Offline Flynsarmy

  • Occasional poster
  • *
    • Posts: 92
  • DENIED!
    • View Profile
    • Flynsarmy
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, 02:54:56 PM by That_Stevens_Guy »


Offline TSG

  • Operator
  • Tireless poster
  • *****
    • Posts: 1935
    • View Profile
    • RAWR-Designs
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 :D

Please share your ideas on this.



[attachment deleted by admin]


Offline Giant Eagle

  • Tireless poster
  • ****
    • Posts: 535
  • >=3 RAWR!
    • View Profile
    • RAWR-Designs.com
.... ???

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 :D

Or am i getting the wrong idea now?..


Offline TSG

  • Operator
  • Tireless poster
  • *****
    • Posts: 1935
    • View Profile
    • RAWR-Designs
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 :P....
« Last Edit: February 11, 2007, 03:50:48 PM by That_Stevens_Guy »


Offline Garphy

  • Occasional poster
  • *
    • Posts: 80
    • View Profile
this is default one:
Code: [Select]
%files%

[files]
%list%

[file]
http://%host%%encoded-folder%%item-url%<br>


Offline TSG

  • Operator
  • Tireless poster
  • *****
    • Posts: 1935
    • View Profile
    • RAWR-Designs
Thnx for the help, i forgot to post back, Giant Eagle helped me over MSN.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
so you would like to be able to include the filelist.tpl in the main template?


Offline TSG

  • Operator
  • Tireless poster
  • *****
    • Posts: 1935
    • View Profile
    • RAWR-Designs
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 :P 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


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
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.


Offline TSG

  • Operator
  • Tireless poster
  • *****
    • Posts: 1935
    • View Profile
    • RAWR-Designs
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 :P and i got up yesterday at 5:30am >_<


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
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


Offline Giant Eagle

  • Tireless poster
  • ****
    • Posts: 535
  • >=3 RAWR!
    • View Profile
    • RAWR-Designs.com
You need <script> for every single file.. makes it a bit useless tho



Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile