Highlighted

Problem updating pages with new template Re: "Unbalanced InstanceBegin" tag

New Here ,
Aug 02, 2018

Copy link to clipboard

Copied

Basically my website is screwed up.

The pages that don't accept the updates to the template start like this:

<!-- InstanceBegin template="/Templates/zaluckytemplate.dwt" codeOutsideHTMLIsLocked="false" --><!doctype html>

<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]-->

<!--[if IE 7]>    <html class="no-js ie7 oldie" lang="en"> <![endif]-->

<!--[if IE 8]>    <html class="no-js ie8 oldie" lang="en"> <![endif]-->

<!--[if gt IE 8]><!--> <html class="no-js" lang="en"><!-- InstanceBegin template="/Templates/zaluckytemplate.dwt" codeOutsideHTMLIsLocked="false" --> <!--<![endif]-->

<head>

And the pages that DO accept the updates start with this:

<!doctype html>

<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]-->

<!--[if IE 7]>    <html class="no-js ie7 oldie" lang="en"> <![endif]-->

<!--[if IE 8]>    <html class="no-js ie8 oldie" lang="en"> <![endif]-->

<!--[if gt IE 8]><!--> <html class="no-js" lang="en"><!-- InstanceBegin template="/Templates/zaluckytemplate.dwt" codeOutsideHTMLIsLocked="false" --> <!--<![endif]-->

<head>

How do I change the coding to the BAD changes to make them start like the GOOD pages? And is there a way to make this change universal? (So I don't have to do it manually, page-by-page?)

Views

307

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Problem updating pages with new template Re: "Unbalanced InstanceBegin" tag

New Here ,
Aug 02, 2018

Copy link to clipboard

Copied

Basically my website is screwed up.

The pages that don't accept the updates to the template start like this:

<!-- InstanceBegin template="/Templates/zaluckytemplate.dwt" codeOutsideHTMLIsLocked="false" --><!doctype html>

<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]-->

<!--[if IE 7]>    <html class="no-js ie7 oldie" lang="en"> <![endif]-->

<!--[if IE 8]>    <html class="no-js ie8 oldie" lang="en"> <![endif]-->

<!--[if gt IE 8]><!--> <html class="no-js" lang="en"><!-- InstanceBegin template="/Templates/zaluckytemplate.dwt" codeOutsideHTMLIsLocked="false" --> <!--<![endif]-->

<head>

And the pages that DO accept the updates start with this:

<!doctype html>

<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]-->

<!--[if IE 7]>    <html class="no-js ie7 oldie" lang="en"> <![endif]-->

<!--[if IE 8]>    <html class="no-js ie8 oldie" lang="en"> <![endif]-->

<!--[if gt IE 8]><!--> <html class="no-js" lang="en"><!-- InstanceBegin template="/Templates/zaluckytemplate.dwt" codeOutsideHTMLIsLocked="false" --> <!--<![endif]-->

<head>

How do I change the coding to the BAD changes to make them start like the GOOD pages? And is there a way to make this change universal? (So I don't have to do it manually, page-by-page?)

Views

308

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Aug 02, 2018 0
New Here ,
Aug 02, 2018

Copy link to clipboard

Copied

p.s. I should add that I can't seem to make changes to the BAD pages because the code is locked.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 02, 2018 0
Adobe Community Professional ,
Aug 02, 2018

Copy link to clipboard

Copied

In orderr too make changes to child pages, go to Tools > Templates > Detach from Template.   Repeat for other child pages.

You might want to consider using server-side includes.  They are a fast & flexible alternative to DW Templates.  All the magic happens on the server.

Alt-Web Design & Publishing: Server-Side Includes with PHP

Nancy O'Shea, ACP

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 02, 2018 0
New Here ,
Aug 02, 2018

Copy link to clipboard

Copied

Hi Nancy,

I followed your instructions, but I still can't seem to make any changes to the locked code.

Looks like all I need to do is delete that first tag <!--InstanceBegin...."false"-->

Any other suggestions?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 02, 2018 0
Adobe Community Professional ,
Aug 02, 2018

Copy link to clipboard

Copied

Open the child page in a plain text editor.

Nancy O'Shea, ACP

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 02, 2018 0
New Here ,
Aug 02, 2018

Copy link to clipboard

Copied

Not familiar with that - how do I do that in Dreamweaver?

I'm working in code view.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 02, 2018 0
Adobe Community Professional ,
Aug 02, 2018

Copy link to clipboard

Copied

Template DWT files are proprietarty to Dreamweaver.  They don't work in any other editor.   So you must use another plain text editor like Windows Notepad to fix your files.

Nancy O'Shea, ACP

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 02, 2018 1