macromedia.coldfusion.cfml_general_discussion
[Top] [All Lists]

Listing Files and Directories

Subject: Listing Files and Directories
From: "Vidikron" <webforumsuser@xxxxxxxxxxxxxx>
Date: Wed, 30 Jul 2008 16:39:41 +0000 (UTC)
Newsgroups: macromedia.coldfusion.cfml_general_discussion

On our internal web page we have some links to various areas like Office Forms, 
Safety, etc... The supervisors that maintain these documents have access to 
shares that allow them add, remove, and update the files as needed.  Since the 
content in each changes fairly often we're currently using CFDIRECTORY with the 
LIST action to display the contents to the users on the web page.

 Some of the areas now contain quite a few documents and the supervisors would 
like to be able to group their documents in subdirectories.  I know I can I can 
use RECURSE="yes" to have the web page list the contents of these folders, but 
the supervisors would like the end users to see the subdirectories as well so 
things are less confusing and cluttered on both ends.  

 So is there any way in CF to set up these pages so that subdirectories can can 
be navigated and the documents selected?  If possible, I'd like something that 
can handle this dynamically so that I don't have to constantly change the code 
every time a supervisor decides to add/remove a directory. 

 We're currently running CF8 Standard. 

 Thanks!


<Prev in Thread] Current Thread [Next in Thread>