Managing Files and Folders with the Files Panel
Dreamweaver’s Files panel provides a fast way to add blank web pages to your site. With one click, you can create a new page in any folder, saving you several steps compared to using the File menu. In addition, you can use the Files panel to add folders, rename files and folders, and move files into and out of folders on your site.
Adding Files
To create a new, blank web page, open the Files panel using one of the methods described on The Files Panel (for example, choose Window→Files), and then right-click (Control-click) on a file or folder in the Files panel. In the shortcut menu that appears, choose New File. Dreamweaver creates a new, empty page in the folder where the selected page resides or, if you selected a folder, Dreamweaver adds a new page there.
The type of file Dreamweaver creates depends on the type of site you’re creating. For a plain HTML site, Dreamweaver creates a blank HTML page. If you’re building a dynamic, database-driven site, however (like those described in Chapter 21 of this book), Dreamweaver creates a blank page based on the type of server model you select. For example, if you build a site using PHP and MySQL, Dreamweaver creates a blank PHP page (named untitled.php).
Note
The doctype (Document Types) of a new web page created with the Files panel depends on your Dreamweaver Preferences settings: Choose Edit→Preferences (Dreamweaver→Preferences on Macs), select the New Document category, and choose HTML5 (or ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access