Objective
To be introduced to Dreamweaver's templates system and power editing tools by editing an existing web site to match this version.
Discussion
A webmaster (or webmistress) is responsible for maintaining and updating web sites. The production-oriented task requires an understanding of the technology behind the web, attention to detail and a visual sensibility. Fortunately, Dreamweaver provides very powerful tools to make page editing and site management easier.
Important: When using Dreamweaver's templates, you MUST have a separate site definition for every site. There must be a separate TEMPLATE folder in the root directory of every site where templates are being used.
Note: Dreamweaver's template system also works seamlessly with Adobe Contribute (also see Wikipedia article).
Procedure
Overview: Download an exisiting web site. Set up Dreamweaver preferences. Edit text and images. Add new pages. Publish to server. Note: replace bold with personalized info.
Prepping for the exercise
- explore the finished web site (what might a site map look like?)
- download starter files (location: class/html/exercises)
- launch Dreamweaver
- define a new site (site > new site): name=ymca,
local root folder=class/html/exercises/ymca
- edit > preferences...
> CSS: open CSS file when modified=no
> invisible elements: all items=yes
> preview in browser: choose your primary/secondary browsers
> preview in browser: preview with temp file=no
Making text edits
- move new "ann2011.jpg" to "_images_contact"
- open "contact_us.html" (note locked areas, name of template)
- view > visual aids > show all (cmd+shift+I)
- click on Becca Guyette
- insert > table objects > row below
- add the following text:
Ann Rasmus,
Program Director,
337-1514,
ann@universityymca.org
- match formatting (use SHIFT+ENTER for line breaks)
- insert image "ann2011.jpg"
- crop image to match others
- file > preview in browser (opt+F12 and cmd+F12)
Replacing an image
- move new "affiliated2.jpg" to "_images"
- open "organizations.html"
- note image width
- replace image with "affiliated2.jpg" (double-click)
- scale to match width (note bold numbers for W/H)
- re-sample image (properties)
- file > preview in browser (opt+F12 and cmd+F12)
Search and replace
- window > files:
rename "organizations.html" to "affiliated_organizations.html"
- open "affiliated_organizations.html"
- change sublink to "Affiliated Organizations"
- open "mission.html"
- select link <a> "Organizations"; view > code
- select unique string, copy (cmd+C)
- edit > find and replace (cmd+F): replace "Organizations" with "Affiliated Organizations" (entire current local site)
- file > preview in browser (opt+F12 and cmd+F12)
Working with templates
- open "master.dwt"
- change footer copyright to "2011"
- add link "OUR BUILDING" (after "UI CERTIFIED HOUSING")
- link to "building.html"
-
add class="building" to <a> (in code view)
- repeat with "index.html"
Adding a new page
- move new "building1.jpg" to "images"
- file > new: from template "master.dwt"
-
file > save as "building.html"
- change <h1> to "Our Building"
-
change picture to "building1.jpg" (double-click)
-
replace placeholder text with copy from "building.doc"
-
format text per sample
- window > css: change style in header to "#menu .building"
- file > preview in browser (opt+F12 and cmd+F12)
Adding a slide to the home page
- open "new slide.jpg" in Photoshop
- crop to 580x420
- file > save for web: "04.jpg" (slides/580x420)
- open "slides/slideshow.html"
- replace caption #4 with the following text:
INTERNATIONAL WELCOME RECEPTION
Join us as we welcome all incoming international students. Light refreshments will be provided as well as live entertainment. (More...)
- format <h1>
- link "more" to "../international_programs.html"
- add link to "580x420/04.jpg" (code view)
- file > preview in browser (opt+F12 and cmd+F12)
Making a favicon
- open "ico48.ai" in Illustrator
- file > save for web: "ico48.png"
- go to tools.dynamicdrive.com/favicon
- options = yes (merge with both 32 and 48px icons)
- move "favicon.ico" to root folder
- open "master.dwt"
- add the following code to <header>
<link rel="icon" href="/favicon.ico" type="image/x-icon">
<link rel="icon" href="/favicon.ico" type="image/ico">
<link rel="shortcut icon" href="/favicon.ico">
- file > preview in browser (opt+F12 and cmd+F12)
Grading
- publish site (see separate lesson)
- make a link from your process page to this assignment