Editing this site with Dreamweaver
Please review the www.soe style guidelines before editing or adding pages on www.soe.ucsc.edu.
Editing content on www.soe.ucsc.edu follows six steps:
- connect to development server
- lock file
- edit file
- unlock file
- proof file on www-dev.soe.ucsc.edu
- publish to www.soe.ucsc.edu
You may also:
- create new pages from existing SOE templates
- upload existing content
- delete existing content from both www.soe and www-dev.soe
You must have a site definition for www-dev in Dreamweaver before using these instructions. Dreamweaver 4.01 or above is required (to use WebDAV).
Drag this "SOE Web Publish" bookmarklet link to your browser toolbar to use for "one-click" publishing. (Or right click on this link "SOE Web Publish" and choose "Add to Favorites...", "Bookmark This Link" or whatever will create a bookmark for this link.)
1. Connect to development server (www-dav.soe.ucsc.edu)
WebDAV is enabled on www-dav.soe.ucsc.edu. A Dreamweaver site definition will allow you to connect, and display the site files.
Connect using the 'Connect' button on the site window (
), or from the 'Site' menu
'Connect'.
www-dav to edit and www-dev.soe.ucsc.edu point to the same files. Two servers were required to edit files without including the server-side includes (SSI's). After editing files on www-dav, they may be proofread from the www-dev site. Permission to lock and upload files is set by the .
2. Lock file
Locate the file you wish to edit in the site window. You can lock files from the site window by using the 'Check out' button (
), or from the 'Site' menu
'Check out', or from the 'File Management' menu (
) on any open page. A green check will appear in the site window next to the document icon once the file is locked.
You are advised not to use the 'Get' button (
) or command, as this does not lock the file on the server. Locking is required to keep two editors from making changes at the same time.
3. Edit file
Double click the document icon in the site window to open the file for editing.
4. Unlock file
After editing, be sure to unlock the file using the 'Check In' button (
) or command. Failing to check in a file will prevent others from editing it. The can break locks if needed.
5. Proof your edits
Any changes can be browsed from the www-dev.soe.ucsc.edu site. The pages will display the same as on www.soe.ucsc.edu. You should proof your pages on the production site also, however.
6. Publish to www.soe.ucsc.edu
If a ".autopublish" file exists in the directory of the page or file you're editing, which includes just ".+", the the file will be automatically published to www.soe.ucsc.edu when the file is UNLOCK'd ("Checked In").
Drag this "SOE web publish" bookmarklet link to your browser toolbar to use for "one-click" publishing. This toolbar button will publish pages from www-dev to www.soe.
Any file can be published from www-dev to www.soe by adding "//update" to the end of its address on www-dev. For example:
http://www-dev.soe.ucsc.edu/path/to/file.html//update
The trailing '//update' causes the URL to be rewritten, in turn providing the path to a CGI script which copies and modifies the file, updating it from www-dev to www.soe.
Using "//update" on a directory will publish that directory and everything it contains, including other directories recursively.
Only HTML pages that include the global header and footer will be uploaded.
Your file is now publicly accessible from www.soe.ucsc.edu.
Creating new pages from templates
Templates for www.soe pages are located in the /Templates directory. They are used by choosing 'New from Template...' from the 'File' menu. Save the new file to the appropriate location in your local cache (which mirrors the www-dev site structure), and 'Check In' once finished. After checking in, be sure to check out the file before editing.
Upload existing content
Place existing files in the appropriate location in your local site cache, and use 'Check In' to upload.
Only HTML pages that include the global header and footer can be published to the www.soe site.
Delete existing content
Files can be deleted from both www.soe and www-dev.soe by using the following URL convention:
http://www-dev.soe.ucsc.edu/path/to/file.html//delete
Any type of file can be deleted, and will be removed from both www.soe and www-dev.soe. Once deleted, files can only be recovered from " _versions" directories.
Or, WITH CAUTION!, use this bookmarklet: SOE Web Delete

