Re: Frontpage Dynamic Web Templates Lose Links When Files Moved

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Thomas A. Rowe (tarowe_at_mvps.org)
Date: 12/06/04


Date: Mon, 6 Dec 2004 06:12:49 -0500

Ok, then do a search and replace in HTML/Code View to correct the path in just the DWTs.

-- 
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)
http://www.ycoln-resources.com
FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
To assist you in getting the best answers for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
"Myron Johnson" <mljohns@iname.com> wrote in message 
news:c3f0210.0412052337.553f3e50@posting.google.com...
> "Thomas A. Rowe" <tarowe@mvps.org> wrote in message 
> news:<eAQHigy2EHA.3132@TK2MSFTNGP14.phx.gbl>...
>> Did you open the DWT and make a change, then save it and let FP update all pages using the DWT?
>
> First, there are around ten DWTs that I'm dealing with and around 100
> .htm pages that are associated with the various DWTs. All of the DWTs
> use these same graphics files in their banners. The graphics files are
> part of the non-editable regions of all the DWTs.
>
> I tried moving the graphics files with one of the DWTs open. When I
> move the graphic files (inside of Frontpage 2003), there isn't even an
> OPTION to save the DWT. As far as Frontpage is concerned, the DWT
> didn't change. Frontpage DID change ALL the .htm files that were
> affected by the change.
>
> Whether the DWT is open or closed made no difference. Frontpage will
> NOT change the graphics file links within the DWT. Frontpage DOES
> change all the affected .htm files. So you end up with a web site that
> looks great...but the .dwt Templates are missing the relocated files.
> So next time you use the .dwt, you will create an .htm file that has
> bad links and missing graphics.
>
> Again, this was all done working on a local disk-based web using
> Frontpage 2003. The result was then published to a Windows 2003
> Server. All of the pre-existing .htm pages look OK. But any NEW pages
> that are generated are missing the graphics files.
>
> So, basically, it appears that Frontpage does not change links in .dwt
> pages when files are moved within Frontpage. I even tried
> "recalculating links" after the file moves to no avail. If you move a
> file that is referenced in a non-editable region of a DWT, you have to
> manually change the link in the DWT. Frontpage won't do it for you.
>
> Also, I have found that if you RENAME a file (without changing its
> location) Frontpage WILL change any DWTs that are OPEN during the
> renaming. However, Frontpage will NOT change any DWTs that are not
> open.
>
> Thanks, Myron 


Relevant Pages

  • Re: Bookmark in uneditable DWT space
    ... However the error doesn't make sense, but I will leave help for actual using the DWT to someone else ... FrontPage Resources, WebCircle, MS KB Quick Links, etc. ... If I place a bookmark called #Top at the top of the page in the ... >>>>> from the depths of the editable space return to the top of the editable page ...
    (microsoft.public.frontpage.client)
  • Re: dynamic web template
    ... Update from a central place (DWT or Include Page) and have *every* link ... FrontPage cannot manage these ... Ron Symonds (Microsoft MVP - FrontPage) ... > to look how I want it to look, so I don't want to use a link bar, correct? ...
    (microsoft.public.frontpage.client)
  • Re: updating templates
    ... The problem is that the FrontPage 2002 Server Extensions (the most ... Open the DWT, make any changes you like, and save the DWT. ... Microsoft FrontPage MVP ...
    (microsoft.public.frontpage.programming)
  • Re: Bookmark in uneditable DWT space
    ... scroll is going to the base of that image - this happens in Netscape, ... Seeing a page that has the DWT attached may shed more light on the mystery. ... Ron Symonds (Microsoft MVP - FrontPage) ... >>> If I place your code in the editable section, with a bookmark #Top at ...
    (microsoft.public.frontpage.client)
  • Re: Newbie DWT Questions - Removing DWT?
    ... FrontPage Resources, WebCircle, MS KB Quick Links, etc. ... > When you detach a DWT from a page, any content that was applied via the DWT or that was entered ... > Thomas A. Rowe (Microsoft MVP - FrontPage) ... >> Again, all of this is with pages sitting on my hard drive, not on a server. ...
    (microsoft.public.frontpage.client)