Save site structure, Rename site structures – Adobe Dreamweaver CC 2015 User Manual

Page 380

Advertising
background image

373

Coding

Last updated 6/3/2015

Note: The code hints you create are specifically for the site selected in the Dreamweaver Files panel. In order for the code
hints to display, the page you are working on must reside in the currently selected site.

1

Select Site > Site-Specific Code Hints.

By default, the Site-Specific Code Hints feature scans your site to determine which Content Management System
(CMS) framework you’re using. Dreamweaver supports three frameworks by default: Drupal, Joomla, and
Wordpress.

The four buttons to the right of the Structure pop-up menu let you import, save, rename, or delete framework
structures.

Note: You cannot delete or rename the existing default framework structures.

2

In the sub-root text box, specify the sub-root folder where you store your framework’s files. You can click the folder
icon next to the text box to browse to the framework files’ location.

Dreamweaver displays a file tree structure of folders that contain your framework files. If the folders and/or files you
want to scan are all displayed, click OK to run the scan. If you want to customize the scan, go on to the next steps.

3

Click the plus (+) button above the Files window to select a file or folder that you want to add to the scan. In the Add
Files/Folders dialog box, you can specify particular file extensions that you want to include.

Note: Specifying particular file extensions speeds up the scanning process.

4

To remove files from the scan, select the files you don’t want scanned, and then click the minus (-) button above the
Files window.

Note: If Drupal or Joomla is the selected framework, the Site-Specific Code Hints dialog box displays an additional path
to a file within your Dreamweaver configuration folder. Don’t delete this—it’s required when using these frameworks.

5

To customize how the Site-Specific Code Hints feature treats a particular file or folder, select it from the list and do
one of the following:

• Select Scan This Folder to include the selected folder in the scan.

• Select Recursive to include all files and folders within a selected directory.

• Click the Extensions button to open the Find Extensions dialog box, where you can specify the file extensions

you want included in your scan for a particular file or folder.

Save site structure

You can save the customized site structure you’ve created in the Site-Specific Code Hints dialog box.

1

Create the structure of files and folders as you want it, adding and deleting files and folders as necessary.

2

Click the Save Structure button in the upper right-hand corner of the dialog box.

3

Specify a name for your site structure and click Save.

Note: If the name you specify is already in use, Dreamweaver prompts you to enter a different name, or to confirm that you
want to overwrite the structure with the same name. You cannot overwrite any of the default framework structures.

Rename site structures

When renaming your site structure, keep in mind that you cannot use the names of any of the three default site
framework structures, or the word “custom”.

1

Display the structure that you want to rename.

2

Click the Rename Structure icon button in the upper right-hand corner of the dialog box.

Advertising
This manual is related to the following products: