Adobe Dreamweaver Forums



Last 10 THreads :         Problem with navigateToURL to a certain frame (Last Post : Ibsie - Replies : 0 - Views : 1 )           »          html view - how to wrap the text (Last Post : lmckh - Replies : 1 - Views : 2 )           »          Help! Prob with CSS display (Last Post : hnajskmei - Replies : 0 - Views : 1 )           »          DW help urgently needed, lost my connection to site (Last Post : Ronnie MacGregor - Replies : 11 - Views : 12 )           »          Connecting to a Database (Last Post : Ronnie MacGregor - Replies : 11 - Views : 12 )           »          application.cfm/webservice (Last Post : BKBK - Replies : 1 - Views : 2 )           »          Random positions for Movieclips (Last Post : arnhemcs - Replies : 4 - Views : 8 )           »          Generating LEGAL size Word doc (Last Post : BKBK - Replies : 2 - Views : 3 )           »          This Tough Economy and Flex/AIR (Last Post : LuigiL - Replies : 2 - Views : 109 )           »          Fireworks images seem jaggy or kind of blurry (Last Post : azmatswabi - Replies : 5 - Views : 7 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Dreamweaver: Main > Dreamweaver General
 
Tags: ,



Reply
  #1 (permalink)  
Old 09-04-2008, 07:16 AM
lachy455
 
Posts: n/a
Diggs:
Default file directory.

Hey Guys, i dont know if this is possible, but im building an intranet and
there a page thats is going to link to lots of files, but these file will be
contantly changing, adding and removing. i am wondering on that page is it
possible to have a little window with a directory browser to go through the
files?.

Thanks



Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 09-04-2008, 07:16 AM
Alan
 
Posts: n/a
Diggs:
Default Re: file directory.



> but im building an intranet


Is it a web server?
If yes- then enable directory browsing for that folder. Use options to
pretty it up.

--
Alan
Adobe Community Expert, dreamweaver

http://www.adobe.com/communities/experts/



Reply With Quote
  #3 (permalink)  
Old 09-04-2008, 07:16 AM
lachy455
 
Posts: n/a
Diggs:
Default Re: file directory.

Yes that probally is an option but not quite answering my question which was
was, is it possible to have a browsing window displayed on a webpage. that
would show the contents,

if this is not , what is the best way to link documents to be
downloaded/viewed from a webpage and update based on new documents added to the
directory, without me having to create a link.

Thanks

Reply With Quote


  #4 (permalink)  
Old 09-04-2008, 07:16 AM
bregent
 
Posts: n/a
Diggs:
Default Re: file directory.

I'm not sure what a 'browsing window' is exactly, but if you want to display
files dynamically then you will need to use a server side script. Any scripting
language you use will have the capability to read the server file system and
then create a list of those files and allow the visitor to click on the link to
open the file.

Reply With Quote
  #5 (permalink)  
Old 09-04-2008, 02:51 PM
Hunter Elliott
 
Posts: n/a
Diggs:
Default Re: file directory.


"lachy455" <webforumsuser@macromedia.com> wrote in message
news:g9nrv2$5bs$1@forums.macromedia.com...
> Yes that probally is an option but not quite answering my question which
> was
> was, is it possible to have a browsing window displayed on a webpage. that
> would show the contents,


what do you mean by "browsing window"? If you allow directory listing for
that folder, it will list all files in that folder; it's a "live" view.


> if this is not , what is the best way to link documents to be
> downloaded/viewed from a webpage and update based on new documents added
> to the
> directory, without me having to create a link.


that sounds like you're wanting more of a document management system and not
an intranet - they're not really the same thing. Perhaps if you explained
more of what you're wanting to accomplish, the purpose for this listing,
people can give you better answers.


Reply With Quote
  #6 (permalink)  
Old 09-08-2008, 02:01 AM
lachy455
 
Posts: n/a
Diggs:
Default Re: file directory.

http://www.elkingtonparkltd.com

Here is my own private web site, note that this is just for illustrative
purposes it wont even be this directory.

Ok but as you can see it is what i would like but interactive, users will be
constantly uploading new files , so creating links is to hard, or i need
something that can display links and atomically update based on new files.

So is anything like this possible??

Thanks

Reply With Quote


  #7 (permalink)  
Old 09-08-2008, 02:01 AM
bregent
 
Posts: n/a
Diggs:
Default Re: file directory.

>So is anything like this possible??

I already answered that it is - using server side scripting.
Reply With Quote
  #8 (permalink)  
Old 09-08-2008, 02:01 AM
lachy455
 
Posts: n/a
Diggs:
Default Re: file directory.

Well can you explain further or give me some reference links, sorry i am bit of a noob when it comes to this.
Reply With Quote
  #9 (permalink)  
Old 09-08-2008, 02:01 AM
bregent
 
Posts: n/a
Diggs:
Default Re: file directory.

What scripting language will you be using? Just search the web for examples, like 'asp list files' or 'php list files' or something similar.
Reply With Quote


  #10 (permalink)  
Old 09-08-2008, 02:01 AM
lachy455
 
Posts: n/a
Diggs:
Default Re: file directory.

I will probably go PHP, but i am lost at how to customize these codes any hints?

<?php
if ($handle = opendir('.')) {
while (false !== ($file = readdir($handle)))
{
if ($file != "." && $file != "..")
{
$thelist .= '<a href="'.$file.'">'.$file.'</a>';
}
}
closedir($handle);
}
?>
<P>List of files:</p>
<P><?=$thelist?></p>

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 12:26 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Inactive Reminders By Mished.co.uk