Solved

Pages attached to a DWT not updating

Posted on 2007-11-14
5
193 Views
Last Modified: 2013-12-24
Hi,

First off, apologies for posting this in the Front Page forum, I couldn't find one dedicated to Expression Web (too new I guess).  

I have a new website for which I am creating a menu in the DWT.  

The problem: after creating the menu <div> in the DWT and then saving it, the changes are not reflected in the documents attached to the DWT.  This despite EW asking me if the attached pages should also be updated.

The xhtml:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="ltr" xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- #BeginEditable "doctitle" -->
<title>Untitled 1</title>
<!-- #EndEditable -->
<link rel="stylesheet" type="text/css" href="TT.css" />
</head>
<body>
<!-- #BeginEditable "body" -->
<div id="menu">
      <a href="index.htm">Home.</a>
      <a href="kilimanjaro.htm">Kilimanjaro</a>
      <a href="safari.htm">Safari</a>
      <a href="preparation.htm">Preparation</a>
      <a href="contact.htm">Contact</a>
      <a href="about_us.htm">About Us</a>
      <a href="disclaimer.htm">Disclaimer</a>
</div>
<!-- #EndEditable -->
</body>
</html>

Many thanks for any tips.
Jens
0
Comment
Question by:jgerbitz
  • 3
  • 2
5 Comments
 
LVL 31

Expert Comment

by:James Murrell
ID: 20283187
if pages are open you will need to save all....close all pages except dwt> then save
0
 

Author Comment

by:jgerbitz
ID: 20283310
Tried that already... I closed all the pages except the DWT, then Format --> Dynamic Web Template --> Update All Pages...

A dialog box appears stating: (7 of 7) files updated.  The log shows all pages that were updated, confirming the update.  But when I then open any of the 7 pages, they only show this:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="ltr" xmlns="http://www.w3.org/1999/xhtml">
<!-- #BeginTemplate "TT.dwt" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- #BeginEditable "doctitle" -->
<title>Safari</title>
<!-- #EndEditable -->
<link rel="stylesheet" type="text/css" href="TT.css" />
</head>
<body>
<!-- #BeginEditable "body" -->
<div id="menu">
      <a href="index.htm">Home</a>
</div>
<div>
</div>
<!-- #EndEditable -->
</body>
<!-- #EndTemplate -->
</html>


As you can see, the rest of the menu <div> is missing.

Thanks-
0
 
LVL 31

Accepted Solution

by:
James Murrell earned 250 total points
ID: 20283474
could it be because it is in a editable tag?
0
 

Author Comment

by:jgerbitz
ID: 20283556
Yup, that was it... thanks!
0
 
LVL 31

Expert Comment

by:James Murrell
ID: 20283567
glad to help

0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Web Developer 7 274
ASP.NET Fix Column Width 7 210
How does Amazon build their pages? 3 76
How to setup a password to enter my web page? 3 117
When deciding to adopt any help desk solutions many factors should be explored before taking decisions. This will change from business to another but in general there are some kind of rule of thumb. Here are some quick tips: Do we need only ticket…
Now that Expression Web 4.0 (http://www.microsoft.com/expression/products/Upgrade.aspx) is free if you buy or have the full version of Expression Web 3.0, now is the best time to  migrate from FrontPage to Expression Web (http://www.frontpage-to-exp…
The purpose of this video is to demonstrate how to reset a WordPress password if you are locked out and cannot reset the password. A typical use would be if you cannot access the email to which WordPress would send the password recovery email to…
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…

789 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question