Solved

Pages attached to a DWT not updating

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

In this short web based tutorial, I wanted to show users how they can still use the powers of FrontPage in conjunction with Expression Web 3.  Even though Microsoft eliminated the use of Web components, we can still use them with FrontPage and edit …
When setting up new project requests for our site, one of the most powerful tools our team has available to use is Axure (http://www.axure.com/). It’s a tool for creating software and web prototypes that can function and interact as if it were the a…
The purpose of this video is to demonstrate how to automatically show related posts at the bottom of a blog post in WordPress. This will be demonstrated using a Windows 8 PC. Plugin “Yet Another Related Posts Plugin” will be used. Go to your…
The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…

760 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now