Lecture Notes
- Setting up a portable site for this class | a testing server definition & the textbook example files
- numediacareers.com
- Dreamweaver page layouts
- Grid systems & HTML5
- Dreamweaver HTML5 page layouts & Multiscreen viewing
- PHP and Webpages
Assignments | Due February 6, 2011
- Chapter 3 of Training from the Source
I am having some trouble keeping the links correct when using the book’s lesson files. My site is set up and works fine. The testing server works fine. Here is what happens.
I open one of the lesson files from my hard drive and save it to my local Dreamweaver site on my hard drive–any links in the page don’t automatically update. (such as a stylesheet or <form action link). They stay linked back to the original folder. I do click Update Links .
So things don't work like they should a first. I can easily change it in code view, but is there some setting in the Manage Sites dialog I am missing?
Hope this makes some sense. This is way too much fun.
Mark
You need to also copy the images and styles folders to your local site, which are used by the lesson files but not within the lesson folders. All the links in the lesson files are relative.
To expand on this, there are a few solutions – a) you can recreate a new site after recopying the example files with all three folders. b) you can use Sites->Change Links Sitewide but you’d have to do that for all links on the site.
That makes more sense now. Individual book example files do not automatically fit into an existing site with updated links, etc.
Thanks.
It should work OK if you move the files using the operating system and not the Dreamweaver Files Panel, which is designed to update the links when any files within the site are moved from one folder to another, or renamed.