Solved

Pages attached to a DWT not updating

Posted on 2007-11-14
5
204 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

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

This article provides a case study on how our local youth baseball league deployed a new website, including the platform selection, implementation and benefits to the league.
Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
The purpose of this video is to demonstrate how to connect a WordPress website to Google Analytics. This will be demonstrated using a Windows 8 PC Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php :…
The purpose of this video is to demonstrate how to exclude a particular blog category from the main blog page. This is can be used when a category already has its own tab, or you simply want certain types of posts not to show up on the main blog. …

628 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