بیشترلیست موضوعاتTen Ton DreamweaverBy
Geoff Blake...............................................Publisher: Peachpit PressPub Date: February 08, 2006Print ISBN-10: 0-321-37412-6Print ISBN-13: 978-0-321-37412-7Pages: 456Indexتوضیحاتافزودن یادداشت جدید
Think You've Seen the Sights? Here's Lookin' After Your Sites
You can use Dreamweaver's Manage Sites dialog box not only to create new sites, but also to manage, import, and remove existing sites. You can work with as many sites as you like, as long as they've all been configured in the Manage Sites dialog boxand all sites are always editable. Simply select the site in the list and click the Edit button to open that site's Site Definition dialog box. Here's a few other things you can do...
Been There, Done That: Duplicating a Site
If for any reason, you want to duplicate an existing Dreamweaver site, you can do so in the Manage Sites dialog box.Duplicate all the site's settings, including Local Info and Remote Info.
1.
Choose Site > Manage Sites.
2.
In the Manage Sites dialog box, select the site you want to duplicate.
3.
Click the Duplicate button on the right.Dreamweaver duplicates the site and adds "copy" to the site name. All the site's settings, including Local Info and Remote Info settings, are duplicated for the new site.
Move Along, Nothing to See Here: Deleting Sites
Once you're done with a site, you can remove it from Dreamweaver's Manage Sites dialog box. Don't freak. You're not nuking the entire site from your hard drive. All you're doing is removing the site from Dreamweaver. However, once you delete the site, all those settings in the Site Definition dialog box are lost, so be careful!You're not nuking the entire site. All you're doing is removing the site from Dreamweaver.
1.
Choose Site > Manage Sites.
2.
Select the site that you want to remove.
3.
Click the Remove button on the right.
4.
When Dreamweaver asks you to confirm, click Yes.
5.
In the Manage Sites window, click Done.
Imminent Doom
Make sure you export a site's settings before removing it from Dreamweaver in case you need the Remote Info settings down the road.
Bon Voyage: Importing and Exporting Sites
This is a neat feature. What if a co-worker has set up a site and now you want to import those same settings? Or what if you want to back up your site settings so you'll have them in case your machine blows up? This and more is possible in the Manage Sites dialog box. When you export a site, Dreamweaver saves all the site's settings in an XML file that you can then back up, move to another machine, or e-mail to someone else. That XML file can then be imported back into Dreamweaver, saving you and everyone else from having to reset all those options.Dreamweaver exports the site's settings in an XML file, which can then be imported back in.
Here's How to Export Your Site
It's a really good idea to export your site's settings whenever you're backing up your data, or even to share with others, as previously mentioned.
1.
Choose Site > Manage Sites.
2.
In the Manage Sites dialog box, click Export.Noteworthy
Paranoia is a sickness most designers suffer from. What if your office explodes? What if ants nest in your CPU? Back up your local sites on a regular basis, and don't forget to export each site's settings and back up those files, too.
If you have remote login and password info set for the site, a dialog box will appear asking you if you're backing up your site or sharing it with others. Essentially, it's giving you the option of exporting the site with or without the remote login info. If this dialog box appears, choose the option you want and click OK.[View full size image]In either case, the Export Site dialog box appears, with a field where you can tell Dreamweaver where you want to save the exported site.When you're exporting a site, Dreamweaver gives you the option of exporting with or without the remote login settingsa nice feature for thwarting evil-doers.
3.
In the Export Site dialog box, navigate to a location and click Save.The site will be saved with the .ste extension, so keep your eyes peeled for it.
And Here's How to Import
So using your computer for a skateboard ramp wasn't your most brilliant idea, huh? Lucky you backed up your stuff. Now be more careful with your new machine.Noteworthy
If you work with multiple sites at a time, as soon as a client's job is complete and you're ready to archive the project, export the site settings and save them in the site folder before removing the site from Dreamweaver's Manage Sites dialog box. That way, you'll always have the site settings if the client wants updates in the future.
1.
Open the Manage Sites dialog box and choose Site > Manage Sites.
2.
Click Import.The Import dialog box opens, where you can navigate to the site file (remember, .ste).[View full size image]
3.
In the Import dialog box, select the site file and click Open.The site is added to the Manage Sites dialog box, settings and all.
Define a Site? TommyrotConnect Directly Instead!
Sometimes, defining a site is not necessary in Dreamweaver, especially if you're working with individual pages rather than an entire site. If you find yourself as a part of a design team and your job is to update single pages, then all that's needed is a connection to the remote server.You manage individual server connections in a way similar to the way you handle sites: through Dreamweaver's Site Definition dialog box. If you want to set up a site-less server connection, follow these steps:
1.
From the Site menu, select Manage Sites.
2.
Click the New button; then choose FTP & RDS Server from the pop-up menu.Dreamweaver will display a message saying that the only two types of server connections allowed are FTP and RDS, and that sitewide functions will not be available.
3.
Click OK to close the warning message.
4.
In the Configure Server dialog box that appears, enter your server connection information.If you're connecting via FTP, enter a name for your connection, the FTP host name, the login name, and the password. If you're connecting via RDS, enter the URL prefix.
5.
Click OK when you're done.
The Manage Sites dialog box will list FTP and RDS connections along with any sites you've defined.You can use these connections just as you would a defined site.Once the connection has been made, the files on the remote server will be listed in the Files panel. Double-clicking a file will download the file (and all its dependent files) locally to your machine. You can then make your changes and save the document as you normally do. When the file is saved, it's magically transferred back to the remote site, and the local copy is deleted. This is all accomplished without a defined sitepretty spiffy, huh? Look ma, no site!