Solved

Pages attached to a DWT not updating

Posted on 2007-11-14
5
198 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

Report: Liquid Web beats Amazon, Rackspace & More

A study by performance analyst firm Cloud Spectator finds that Liquid Web beats rivals Amazon, Rackspace and DigitalOcean when it comes to website and cloud application performance.

Question has a verified solution.

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

Turn A Profile Picture Into A Cartoon Using Photoshop And Illustrator This tutorial will teach you how to make a cartoon style image out of a regular picture. I have tried to keep the tutorial as simple as possible. I used Adobe CS4 for this tuto…
This guide will walk you through the essential considerations and tech stack for building scalable websites. Know how to grow your business the smart way!
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. …
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…

759 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