Dynamic Web Templates

G

Guest

I'm testing dwt's to see if I can get it to work for me. When I remove a
template to add a different one, it puts the new template above or below the
old one. Isn't there a way to remove the old template so that all that is in
each page is the content?? Or isn't there a way so that when I detach the
old template and attach a new one, that the old template is completely
replaced by the new template with the content intact?

Hey all
 
A

Andrew Murray

You need to remove the code manually - it's a pain and a very big oversight
on Microsoft's part. - go to code view, and remove all the code that is
hilighted in yellow.

Then switch back to design view and attach the new template.

Perhaps Jimco could make an addin to remove the dwt's code (??). :)) or
"detach" it from a current (or all) pages using that DWT.
 
T

Thomas A. Rowe

Andrew, it is not an oversight, it was a design decision which may or may not be changed in future
versions.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
R

Ronx

Create a new DWT with the same editable regions as the original, but
leave all the non-editable regions blank (except for standard tags
like <html>, <head>, </head>, <body>, </body> etc.
Attach this to the page you wish to remove the original DWT from - the
non-editable regions (apart from that content you have retained) will
be deleted, and the page ready for the next DWT.
 

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

Top