dwt question

B

Brian

when i detach a dwt from my page, should all i be left
with is that page? reason i ask is i have a blank white
page with text that i attached a dwt to. when i detach
it, the body of the dwt (tables and such) is left behind,
and the original page still looks like the dwt is
attached. i have chosen "format|detach dwt". i am doing
this on my local machine, i have FP 2003 and windows XP.
I don't know what else to do to get it back to just the
original page. thank you
 
J

John Jansen \(MSFT\)

Hi Brian,

That is actually the design of DWTs. We went back and forth on that, but
based on Beta feedback decided that MOST people wanted to leave the content
behind when they detached.

What 'detach' means is that any changes you make to the DWT in the future
will not affect that page anymore. The scenario is when you apply on DWT to
a bunch of pages, but then decide that one or two of those pages should no
longer get updated along with the other ones.

In order to workaround this behavior, you can cut all of the content from
your DWT file, update all pages, detach this page from that DWT, paste the
content back into the DWT and update all pages again. Unfortunately, since
you already detached from the DWT, this workaround is not relevant this
time, just for future reference.

This time, I'm afraid you will have to remove the content by hand.
 
G

Guest

I just purchased my first DWT package. I wanted to test it, so I created a one page web and attached the DWT. I was also surprised that when I detached it, the page looked just like it did with the DWT. If I attached the DWT again, I got 2 banners across the top.

So, what is the procedure if I wanted to attach a different DWT to a page that already had a DWT attached to it?

Adela
 
T

Thomas A. Rowe

Updating a DWT that is already attach to pages should update the pages. This is different from
removing a DWT and then applying another DWT.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================


Adela D said:
I just purchased my first DWT package. I wanted to test it, so I created a one page web and
attached the DWT. I was also surprised that when I detached it, the page looked just like it did
with the DWT. If I attached the DWT again, I got 2 banners across the top.
 
G

Guest

By "updating" I assume you mean making some small change to the DWT (e.g., changing a logo or picture in the banner).

Yes, my question was about adding a whole new DWT. What has to be done to a page that has a DWT attached when I want to totally change the look of the page by attaching a new DWT? I don't "detach" the DWT? Do I have to resort to "stripping" all the pages? That can't be right, can it? it seems that would defeat the whole purpose of using DWTs -- to easily change the look of the site.
 
T

Thomas A. Rowe

You would have to modify the currently attached DWT, otherwise you would have to strip the prior DWT
content from all pages first.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================


Adela D said:
By "updating" I assume you mean making some small change to the DWT (e.g., changing a logo or picture in the banner).

Yes, my question was about adding a whole new DWT. What has to be done to a page that has a DWT
attached when I want to totally change the look of the page by attaching a new DWT? I don't
"detach" the DWT? Do I have to resort to "stripping" all the pages? That can't be right, can it?
it seems that would defeat the whole purpose of using DWTs -- to easily change the look of the site.
 
R

Ronx

You have to remove the first DWT before applying the new.
One way to achieve this is:

Create a new, blank page and save as a DWT (strip.dwt)
Create editable regions to match those on your original DWT (original.dwt)
Do not place any other content on the page.
Apply strip.dwt to the page(s) you want to remove original.dwt from.
Then detach the DWT from the page.

Result: All traces of original.dwt removed.

Ron
--
Reply only to group - emails will be deleted unread.


Adela D said:
I just purchased my first DWT package. I wanted to test it, so I created
a one page web and attached the DWT. I was also surprised that when I
detached it, the page looked just like it did with the DWT. If I attached
the DWT again, I got 2 banners across the top.
So, what is the procedure if I wanted to attach a different DWT to a page
that already had a DWT attached to it?
 
S

Stefan B Rusynko

That won't strip the original content of the page, or areas added by the prior DWT
- unless you 1st delete all the old DWT content from each of the pages that used the former DWT

When you detach a DWT, the content added by the DWT becomes hard code Html in the pages that used the old DWT
When you attach a new DWT, it respects the existing html (especially in the <Body> tag area in the affected page and does not strip
it
(it will change any HEAD section

To remove that Html, go into the actual affected page and manually delete it

Or

Do Not Detach the 1st DWT template, and in your new DWT (or strip.dwt) make Only the regions you want to preserve in the page (not
the other editable regions from your old template)
Then select Attach DWT and select your new DWT
- in the Choose Editable Regions for Content Dialog select each Old region and Modify to select (none) for the New Region (and make
sure the Old / New for the areas you want to preserve are matched





| You have to remove the first DWT before applying the new.
| One way to achieve this is:
|
| Create a new, blank page and save as a DWT (strip.dwt)
| Create editable regions to match those on your original DWT (original.dwt)
| Do not place any other content on the page.
| Apply strip.dwt to the page(s) you want to remove original.dwt from.
| Then detach the DWT from the page.
|
| Result: All traces of original.dwt removed.
|
| Ron
| --
| Reply only to group - emails will be deleted unread.
|
|
| | > I just purchased my first DWT package. I wanted to test it, so I created
| a one page web and attached the DWT. I was also surprised that when I
| detached it, the page looked just like it did with the DWT. If I attached
| the DWT again, I got 2 banners across the top.
| >
| > So, what is the procedure if I wanted to attach a different DWT to a page
| that already had a DWT attached to it?
| >
| > Adela
| >
| > "John Jansen (MSFT)" wrote:
| >
| > > Hi Brian,
| > >
| > > That is actually the design of DWTs. We went back and forth on that,
| but
| > > based on Beta feedback decided that MOST people wanted to leave the
| content
| > > behind when they detached.
| > >
| > > What 'detach' means is that any changes you make to the DWT in the
| future
| > > will not affect that page anymore. The scenario is when you apply on
| DWT to
| > > a bunch of pages, but then decide that one or two of those pages should
| no
| > > longer get updated along with the other ones.
| > >
| > > In order to workaround this behavior, you can cut all of the content
| from
| > > your DWT file, update all pages, detach this page from that DWT, paste
| the
| > > content back into the DWT and update all pages again. Unfortunately,
| since
| > > you already detached from the DWT, this workaround is not relevant this
| > > time, just for future reference.
| > >
| > > This time, I'm afraid you will have to remove the content by hand.
| > > --
| > > Thanks!
| > > John Jansen
| > > Microsoft Office FrontPage
| > > This posting is provided "AS IS" with no warranties, and confers no
| rights.
| > > | > > > when i detach a dwt from my page, should all i be left
| > > > with is that page? reason i ask is i have a blank white
| > > > page with text that i attached a dwt to. when i detach
| > > > it, the body of the dwt (tables and such) is left behind,
| > > > and the original page still looks like the dwt is
| > > > attached. i have chosen "format|detach dwt". i am doing
| > > > this on my local machine, i have FP 2003 and windows XP.
| > > > I don't know what else to do to get it back to just the
| > > > original page. thank you
| > >
| > >
| > >
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

dwt after crash 6
Trouble with .dwt 2
dwt after crash: it's still a mess 1
Problems with DWT 8
DWT 1
Manage Editable Regions - DWT 3
Protect Dynamic Web Template 1
Incorrect DWT being used by page 1

Top