Click to See Complete Forum and Search --> : Generating a list of links in dreamweaver


Alexpte
09-10-2008, 09:54 AM
Hello,

On my new site I've got a whole folder full of pages but its an html site. I've got a menu.php file and was wondering if there was any way to get dreamweaver to generate a simple link for each file in a folder so I don't have to go through and create each link individually. Is this possible? If not, is there a script that can do this?

Thanks,
Alex

said_fox
09-11-2008, 05:52 PM
You need to deal with file system functionality in PHP. As I know there is no free dreamweaver extensions that able to deal with file system.

However, if the folder that you had regarded, in-which HTML files are found, contains files named with regular based names, for example: page1.html, page2.html, page3.html and so on, it will be very easy to make such list even without using server-side scripting such as PHP, and javascript will be enough, but without SEO for the links.

If the above is not your situation, you should carry your question to the PHP forum (http://www.webdeveloper.com/forum/forumdisplay.php?f=16) asking them there how could you able to get files name in an folder into an array.