-
1. Re: Changed file names, now can't update files
Zabeth69-YATPtk Oct 29, 2010 8:41 PM (in response to Budo Cat)Hey, Budo Cat,
What do you mean that you have changed your file names to match your domain name? Usually, pages sit within the domain, they don't bear the domain name itself.
Regarding actually changing filenames, you are best advised to do that in the Files Panel in Dreamweaver, so that DW can keep track of links, etc.
The actual name of the Template is immaterial. When you cast child pages from a Template, you give each of them a new name. Dreamweaver keeps track of which pages are made by which Template.
Why are you moving Templates out of the Templates folder? Beware; there be dragons...
I do think you will have to re-rename your pages to match what Dreamweaver thinks they are. Then, don't change page names anywhere but in the Files Panel.
Do you have a link so we can see what you are working with?
Beth
-
2. Re: Changed file names, now can't update files
Budo Cat Oct 30, 2010 12:13 AM (in response to Zabeth69-YATPtk)Hi Beth,
Frankly, I don't know what I did.I didn't rename the template, at least I don't think I did. I was trying to rename some of the files that hold the pages for the website. I got a new domain name, not the once that I thought I was going to use, so I was just trying to make everything consistent. I thought I could just rename files like I would in a wordprocessing program.
Now, I can't I can't modify>update my files. Dreamweaver says "2000," the origianl file name, doesn't exists. Says there's no template, although I can plainly see it in the files. I don't know what/where Derameweaver thinks
I speant hours trying to backtrack and fix my error, but couldn't figure out what to do. I've decided to just define a new site, copy the css page and what I can of the 60 or so HTML files. I dread the thought of starting over. But at least I have a general idea of what to do.
Thanks for helping out.
-
3. Re: Changed file names, now can't update files
mhollis55 Oct 30, 2010 8:29 AM (in response to Budo Cat)I think that what you may have done is either change the filename for your template outside of Dreamweaver or you have broken the link to the template.
I do rename some templates on my websites to keep things neat, as sometimes I "inherit" websites that are poorly constructed. I have two that are entirely tables-based and they are five-fingered boogers (the kind you can't just flick off easily). These tend to come complete with clients who don't want to pay to have their websites redesigned. No extra charge for that option.
You can try doing a Modify>Templates>Apply Template to page for all of your pages and it might help a lot to automate that: Open a page that needs to be attached to your template, Go to Commands>Start Recording, pull down Modify>Templates>Apply Template and choose the template, stop your recording then pull down Commands>Play recorded command for each page you need to reattach the renamed template to.
Another cause here is that you may have inadvertently changed the path to the template. If you do renaming and moving from within Dreamweaver the links to templates are not supposed to break -- but sometimes this does happen.
-
4. Re: Changed file names, now can't update files
Budo Cat Oct 30, 2010 8:59 PM (in response to mhollis55)Well, I don't know what I did, beyond making a big mess and a lot of work for myself. I think I have finally backed out of the mess, and have my pages talking to each other again. But in doing so, I have created a phantom CSS page.
Once I renamed my template and moved it back into position, I had to link the template to CSS. That got all the pages squared away, but now at the top of Dreamweaver, just below the Code, Split and Design, I have three tabs that read:
Source Code layout css layout css
The first and third tabs are valid. But when I click on the second tab, I get a long yellow strip that says,
" 'layout.css' cannot be found. If the file exists on the server, use the Files panel to get the file from the server. (close)"
Is there a way *safely* get rid of this tab? I've tried right-clicking on it, but it won't let me. After what I've already been through, I'm reluctant to try anything else lest I blow up my site again.
-
5. Re: Changed file names, now can't update files
Al Sparber Oct 30, 2010 9:05 PM (in response to Budo Cat)If layout.css is listed twice that probably means you have it linked
twice in the code of your document. Look in the head region of your
page's source code for a duplicate link. Make sure you delete the
duplicate with the incorrect file path.
--
Al Sparber - PVII
Dreamweaver Menus | Galleries | Widgets
http://www.projectseven.com/go/hgm
The Ultimate Web 2.0 Carousel
-
6. Re: Changed file names, now can't update files
Budo Cat Oct 30, 2010 10:02 PM (in response to Al Sparber)Thank you!




