SSI Directory Listing Template

 
Post new topic   Reply to topic    Aprelium Forum Index -> Tutorials
View previous topic :: View next topic  
Author Message
Tim1681
-


Joined: 17 Jan 2005
Posts: 160
Location: Bristol, CT, USA

PostPosted: Sun Apr 24, 2005 2:52 am    Post subject: SSI Directory Listing Template Reply with quote

This isnt really a Tutorial but this is a link to a webpage on our server that has an SSI Directory Listing template you can use. Pretty easy setup from the instructions on the site.

http://server2.zerogroundz.com/archive/ssitemplate/ - Link to the Page
http://server2.zerogroundz.com/archive/ssitemplate/model/ - Example


Last edited by Tim1681 on Mon Apr 03, 2006 1:14 am; edited 2 times in total
Back to top View user's profile Send private message AIM Address
awanagana
-


Joined: 15 May 2005
Posts: 1

PostPosted: Sun May 15, 2005 6:01 am    Post subject: Reply with quote

It's brillant!!!!

Is there a way to implement a "save object as" triggered by the right click too?

Thank you in advance!
Back to top View user's profile Send private message
Tim1681
-


Joined: 17 Jan 2005
Posts: 160
Location: Bristol, CT, USA

PostPosted: Sun May 29, 2005 8:15 pm    Post subject: Reply with quote

You could implement one in by putting in an HREF to 'Save' the file.

Just change the body line from what it is on the site to:
Code:

<tr onMouseOver="this.style.backgroundColor='#252525'" onMouseOut="this.style.backgroundColor=''" onclick="location.href='<!-- #echo var="DIRLIST_FILE_URL" -->'">
<td><!-- #echo var="DIRLIST_FILE_NAME" --></td>
<td><!-- #echo var="DIRLIST_FILE_SIZE" --></td>
<td><!-- #echo var="DIRLIST_FILE_MIME_TYPE" --></td>
<td><!-- #echo var="DIRLIST_FILE_DATE" --></td>
<td><a href="<!-- #echo var="DIRLIST_FILE_NAME" -->">Save</a></td></tr>


If you click on the "Save" with the left mouse button it will act as normal but now the Right Click is available. The only other thing u might wanna do is alittle cosmetics on it to make it look pretty.
Back to top View user's profile Send private message AIM Address
wheelerk
-


Joined: 20 Feb 2005
Posts: 15

PostPosted: Tue May 31, 2005 6:37 pm    Post subject: Reply with quote

that not a good tut so i don't know how to put it in
Back to top View user's profile Send private message Send e-mail
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Wed Jun 01, 2005 1:03 pm    Post subject: Reply with quote

wheelerk wrote:
that not a good tut so i don't know how to put it in

Go to Console > Hosts - Configure > Directory Listing.
Press Edit in front of Template to enter the SSI template. Press OK and set Listing Type to "From Template". Press OK and restart the server.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Tim1681
-


Joined: 17 Jan 2005
Posts: 160
Location: Bristol, CT, USA

PostPosted: Sun Feb 12, 2006 2:58 am    Post subject: Reply with quote

*Links Updated*
_________________
mysql> SELECT * FROM users WHERE clue > 0;
0 rows returned.

Back to top View user's profile Send private message AIM Address
brokensaber
-


Joined: 27 Feb 2007
Posts: 15

PostPosted: Wed Feb 28, 2007 11:52 am    Post subject: Reply with quote

Tim1681 wrote:
*Links Updated*



2007 - links are dead. Any info on templets?
Back to top View user's profile Send private message
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3718
Location: USA, GA

PostPosted: Thu Mar 01, 2007 1:53 am    Post subject: Reply with quote

This is Zerogroundz Directory Listing:
http://trustabyss.com/mods/dir_list_mod_08.php
_________________
Computer Programmer & Networking Specialist

Back to top View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> Tutorials All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group