Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Pages attached to a DWT not updating

Posted on 2007-11-14
5
Medium Priority
?
209 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 1000 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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

Objective of This Article In 1990’s, when I was a budding software professional, I had a lot of confusion about which stream or technology, I had to choose to build my career. In those days, I had lot of confusion like whether to choose System so…
Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
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 integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…
Suggested Courses

926 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