Tải bản đầy đủ (.pdf) (7 trang)

adobe dreamweaver cs5 on demand part 12 ppsx

Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (703.57 KB, 7 trang )

ptg
After you create a Web site, you can use the Files panel to quickly and
easily manage individual Web pages, files and folders. If a file or folder
name is not exactly what you want, you can quickly rename it. You can
create and name a new folder and move pages to a different location. If
you no longer need or want a file or folder, you can remove it. In addi-
tion, you can move files and folders around in the same way you can in
Windows Explorer (Win) or Finder (Mac). If you no longer need a file,
you can quickly delete it.
74 Chapter 4
Managing Files and
Folders in the Files
Panel
Rename a Site File or Folder in
Files Panel
Select the Web site with the file or
folder you want to rename.
Click the Window menu, and then
click Files to display the Files
panel.
Right-click (Win) or Control-click
the file or folder icon you want to
rename, point to Edit, and then
click Rename.
TIMESAVER
Click the file
name in the Files panel, and then
click the file again to highlight it.
Type a new name, and then press
Enter (Win) or Return (Mac).
4


3
2
1
3
Did You Know?
You can delete a site file or folder.
In
the Files panel, right-click (Win) or
Control-click (Mac) the file or folder
you want to delete, click Delete, and
then click Yes.
From the Library of Wow! eBook
ptg
Chapter 4 Managing Web Site Files 75
Create a New Site Folder in
Files Panel
Select the Web site where you
want to create a new folder.
Click the Window menu, and then
click Files to display the Files
panel.
Locate and select the file or folder
where you want to place the new
folder.
Right-click (Win) or Control-click
(Mac), and then click New Folder.
Enter a name for the file or folder,
and then press Enter (Win) or
Return (Mac).
Move a Site File or Folder in

Files Panel
Select the Web site with the file or
folder you want to move.
Click the Window menu, and then
click Files to display the Files
panel.
In the Files panel, display the file
or folder you want to use.
Drag the page icon to the position
where you want it to occupy on
your site.
4
3
2
1
5
4
3
2
1
4
3
From the Library of Wow! eBook
ptg
76 Chapter 4
If you can find a file on your site, you can use the Files panel to help
you locate it. The Files panel allows you to quickly find files in your site.
If you have a file open and your not sure which site it belongs to, you
can find it using the Locate in Site command. If you want to find the
newest files in your local or remote site, you can select them using

commands on the Options menu in the Files panel. As you work on files,
you can also use find commands to locate currently checked out or
recently modified files.
Finding Files in the
Files Panel
Find Files in a Site
Select the Web site with the files
you want to find.
Click the Window menu, and then
click Files to display the Files
panel.
Use any of the following methods
to find a file:
◆ Open File In Site. Open the file
in the Document window, click
the Site menu, and then click
Locate In Site, or click the
Options menu, point to Edit, and
then click Locate In Local Site.
The file appears selected in the
Files panel.
◆ Newer Local Files. Click the
Options menu, point to Edit, and
then click Select Newer Local.
◆ Newer Remote Files. Click the
Options menu, point to Edit, and
then click Select Newer on
Remote Server.
◆ Checked Out Files. Click the
Options menu, point to Edit, and

then click Select Checked Out
Files.
3
2
1
Options menu
3
See Also
See “Checking Site Files In and Out”
on page 498 for information on check-
ing out files.
From the Library of Wow! eBook
ptg
Chapter 4 Managing Web Site Files 77
Find Recently Modified Files
in a Site
Select the Web site with the files
you want to find.
Click the Window menu, and then
click Files to display the Files
panel.
Click the Options menu in the Files
panel, point to Edit, and then click
Select Recently Modified.
Do either of the following to
indicate search dates you want:
◆ To repor t on all files modi fi ed i n
the last several dates, click the
Files Created Or Modified In
The Last option, and then enter

the number of days you want.
◆ To repor t on all files modi fi ed
within a specific time, click the
Files Created Or Modified
Between option, and then
specify a data range.
If you are working on an Adobe
Contribute site, enter a user name
to limit your search to files
modified by a specific user.
Click the option you want to
specify where to view the files
listed.
◆ Local Machine. Select if the
site uses static pages.
◆ Testing Server. Select if the site
uses dynamic pages.
◆ Other Location. Use to enter a
specific location path.
Click OK.
Dreamweaver saves your settings
and highlights the files based on
the search criteria.
7
6
5
4
3
2
1

3
Options menu
5
7
4
From the Library of Wow! eBook
ptg
78 Chapter 4
A file type specifies the file format (for example, a Web page .htm or
.html) as well as the program and version in which the file was created
(for example, Dreamweaver). You might want to change the type if
you’re creating a custom template or sharing files with someone who
needs them for use in another program. You can use the Save As dialog
box to change the file type for a page. The Save As Type list arrow dis-
plays a list of the available formats for the program or current
selection.
Saving a File with
Different Formats
Save a File as a Different Type
Open and display the file you want
to save in a different format.
Click the File menu, and then click
Save As.
Locate the drive and folder
location where you want to save
the file.
Type a name for the file, or use the
suggested name.
Click the Save As Type list arrow,
and then click the file type you

want.
Click Save.
6
5
4
3
2
1
3
5
4
6
See Also
See “Identifying Dreamweaver File
Formats” on page 79 for information on
selecting the right file format.
From the Library of Wow! eBook
ptg
Chapter 4 Managing Web Site Files 79
Identifying Dreamweaver File Formats
File type Extension Used to open or save
All Documents *.* Complete Web site
HTML Files .htm, .html Web pages as an HTML file
Server-Side Includes .shtm, .shtml, .stm, .ssi, .inc Web pages with incorporated files from a Web server
JavaScript Files .js Scripts in the JavaScript language
XML .xml, .xsd,.xsl, .xslt, .dtd, .rss Web pages as an XML file
Library Files .lbi Web page elements as a reusable file
Template Files .dwt Web pages as a changeable Dreamweaver template
Style Sheets .css Web pages as a cascading style sheet
Active Server Pages .asp, .asa Web pages as a Microsoft Active Server Page

Active Server Plus Pages .aspx, .aspcx, .asmx, .cs, Web pages as a changeable Microsoft Active
.vb, .config, .master Server Page that utilizes ActiveX scripting usually
VB Script or Jscript code
ColdFusion Templates .ctm, .ctml, .cfc Web pages as a changeable ColdFusion template that
integrates databases and Web pages
ActionScript .as, .asc, .asr Scripts in the Flash scripting language, including
Communication and Remote (Open only) files
Text .txt Web pages as a text file
PHP .php Web pages as a PHP script file
Lasso Files .lasso Scripts for internet applications development which use
browsers to connect to HTTP and database servers
Java Server Pages .jsp, .jst Web pages as a JavaScript script file
Fireworks Script .jsf Scripts in the Fireworks scripting language (Open only)
Tag Library Descriptor Files .tld Tag library files (Open only)
Java Files .java Scripts in the Java language
WML .wml Web pages as an XML language used to specify
content and user interface for WAP devices; WML
(Wireless Markup Language)
EDML .edml Scripts for server behavior code
VB Script Files .vbs Scripts in the Visual Basic for Applications language
VTML .vtm, .vtml Tag library files that list every installed tag; VTML (Visual
Tool Mar ku p Lang ua ge )
Dreamweaver Open and Save File Formats
From the Library of Wow! eBook
ptg
80 Chapter 4
A home page is the first page visitors see when they visit your site. The
home page for a Web site is typically named
index.htm
or

index.html
.
When you type a URL, such as
www.perspection.com
, most Web
servers look for a Web page name
index.htm
or
index.html
. Check with
your Web hosting service to determine how you should name your
home page. If you need to change the name of your home page, you
can do it directly within Dreamweaver using the Files panel.
Setting the Home
Page
Rename a Web Page as the
Home Page
Select the Web site with the Web
page you want to change.
Click the Window menu, and then
click Files to display the Files
panel.
Right-click (Win) or Control-click
the file icon you want to rename,
point to Edit, and then click
Rename.
TIMESAVER
Press F2 or click
the file name in the Files panel,
and then click the file again to

highlight it.
Type a new name, such as
index.htm or index.html, and then
press Enter (Win) or Return (Mac).
4
3
2
1
3
From the Library of Wow! eBook

×