Solved

CFTREE

Posted on 2006-07-06
4
174 Views
Last Modified: 2013-12-24
I am using cfdirectory to list all of my files and folders in a root folder. I need to differentiate between the files and folders, and make it so the user can click on the file to see it and click on the folder to expand it (to see other files and folders, etc). I think a tree directory would be best. All of the files are PDF and/or MS .DOC. None are listed in the DB, so cfdirectory is required I believe.

These directories could recurse to up to 5 levels, and some directories could have both files and folders.

500 points to the best solution (and a virtual beer too!).
0
Comment
Question by:ocguy
  • 2
4 Comments
 
LVL 13

Accepted Solution

by:
usachrisk1983 earned 500 total points
ID: 17059177
Good old Ben has covered this one for you:
http://www.forta.com/blog/index.cfm?mode=e&entry=1615

You may just need to customize it for the files you want to pull, the folder you're pulling it from, and what should be done onclick. It sounds like you have a good handle on CFDIRECTORY already since you're using it, but us know if any other parts don't fit what you're looking for.
0
 
LVL 13

Expert Comment

by:usachrisk1983
ID: 17125021
Did this help you?
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In our day to day coding, how many times have we come across a necessity to check whether a URL is a broken link or not? For those of you that answered countless and are using ColdFusion like myself, then this article is for you.  It will show yo…
One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question