Link to home
Start Free TrialLog in
Avatar of nsitedesigns
nsitedesignsFlag for United States of America

asked on

darn dw template - update problems

I inherited this site.  
http://www.windmillslatwall.com/index.html

I had to make changes to header (add phone icon, increase font size).  HEre is screenshot
http://screencast.com/t/5m9g3d3e1Q0J

When I made the change to the template, I clicked, modify/templates/modify pages. The change is displayed on the pages when I open them up on my computer in dw.  I uploaded template file and html files.  I emptied cache and tried different browsers.  Still do not see the change to the header other than seeing the phone icon.  Anyone have any ideas?  I am using a mac, DW CS6.
Avatar of Scott Fell
Scott Fell
Flag of United States of America image

Dreamweaver 101 - just because they made a function available does not mean you should use it and I think the dreamweaver dwt is one of those things.

Uploading your dwt file does not do anything and I would not recommend it.  Basically, the DWT file is nothing more then a sometimes confusing option for find and replace.  I have seen more people make mistakes because of it.  

For something like a header, I  prefer to use an include file http://www.htmlgoodies.com/beyond/webmaster/article.php/3473341/SSI-The-Include-Command.htm.  This allows you to update one file and upload one file and all your files that use it will be updated.  When the page loads, it is seamless.
Avatar of nsitedesigns

ASKER

As I mentioned earlier.  I inherited this site with it's templates.  I don't use them on sites that I design.  I find them cumbersome and much prefer find/replace.

That said, this site has nearly 300 files.  I have the update to the header done.  It shows up on the pages in DW.  All I am looking for right now is a solution as to why the pages don't work when I upload them to the server.  I am not interested in redoing the site with includes, although I appreciate your suggestion.
Make sure the portion you are trying to update by your dwt file are not set to "editable".  If they are, then your dwt file will not update to those pages.
But the pages ARE being updates.  I can look through the dw files (checked around 10 or so) and they ARE being updated.  What I am struggling with is that when I upload them to the server, I do not see the change.

Here is the link again to the screen shot showing you that the change is being displayed in dw file.

http://screencast.com/t/5m9g3d3e1Q0J
p.s.  How do I check to see if the template portion is set to editable?

p.s.s.  Aren't you supposed to edit the template so that all files attached to the template update?
ASKER CERTIFIED SOLUTION
Avatar of Scott Fell
Scott Fell
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I uploaded css, all .html files and dwt file.  The update was to the font size so no image was involved.
It looks like that should be controlled by your windmill.css where you have the font size set to .8 em.  Change just the css file so the font size is larger then .8em.

ul#utilitymenu li {
display: inline;
color: #d96303;
font-size: 0.8em;  
padding-left: 0.6em;
margin-left: 0.4em;
text-transform: uppercase;
font-weight: bold;
border-left: solid 1px #999;
}

Open in new window

Now this is really strange - - I DID update that file yesterday.  This is what it was updated to:

ul#utilitymenu li {
display: inline;
color: #d96303;
font-size: 1em;
padding-left: 0.6em;
margin-left: 0.4em;
font-weight: bold;
border-left: solid 1px #999;
}

When I look at the date of the file it doesn't show it was updated yesterday, YET, the DW files show the change!  I will resave css again and reupload it and see what happens.
OK. So I am not looney-bins.  I did a file/save as to see exactly where this phantom css file lives that I was changing yesterday.  Original programmer had it tucked into a folder.  It was NOT the css that was in the root.  At least the problem is solved!  Thanks for your help
I've requested that this question be closed as follows:

Accepted answer: 0 points for nsitedesigns's comment #a39164841

for the following reason:

I just needed a kick in the pants to make sure I was uploaded the correct css file.  Thanks
> I did a file/save as to see exactly where this phantom css file lives

Like I said, you probably did not have all of your files uploaded.  Something was out of place.
What the heck!?!

I clicked on your comment "Did you upload ALL supporting files - css, images etc?" and gave you the 500 points.  I did not ask that this question be closed.   Moderator, please reopen question and give points to padas.
Thanks!
I must have hit  the wrong comment.  Sorry will try again.