[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 258
  • Last Modified:

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.
0
nsitedesigns
Asked:
nsitedesigns
  • 9
  • 6
1 Solution
 
Scott Fell, EE MVEDeveloperCommented:
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.
0
 
nsitedesignsAuthor Commented:
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.
0
 
Scott Fell, EE MVEDeveloperCommented:
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.
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
nsitedesignsAuthor Commented:
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
0
 
nsitedesignsAuthor Commented:
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?
0
 
Scott Fell, EE MVEDeveloperCommented:
Did you upload ALL supporting files - css, images etc?
0
 
nsitedesignsAuthor Commented:
I uploaded css, all .html files and dwt file.  The update was to the font size so no image was involved.
0
 
Scott Fell, EE MVEDeveloperCommented:
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

0
 
nsitedesignsAuthor Commented:
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.
0
 
nsitedesignsAuthor Commented:
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
0
 
nsitedesignsAuthor Commented:
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
0
 
Scott Fell, EE MVEDeveloperCommented:
> 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.
0
 
nsitedesignsAuthor Commented:
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.
0
 
Scott Fell, EE MVEDeveloperCommented:
Thanks!
0
 
nsitedesignsAuthor Commented:
I must have hit  the wrong comment.  Sorry will try again.
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

  • 9
  • 6
Tackle projects and never again get stuck behind a technical roadblock.
Join Now