Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

how to find nested editable regions

Participant ,
Jan 15, 2024 Jan 15, 2024

When I attempt to apply a newly edited template to File.html, I'm getting an error that says 

There is an error at line 241, column 30 (absolute position 6751) of File.html. Nested editable regions. I don't whether that means there is an error in the template or the File.html, but in either case, how can I find the nested editable region to fix it? I've looked at line 241 of both the template and the file with no clue. I do notice that there are many lines of code in File.html which are a part of template and should be gray, but they're not. That makes me think that the error is in the file, but how do I find it?

1.2K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Jan 15, 2024 Jan 15, 2024

The online version has

<!-- InstanceBegin template="/public_html/templates/basic_template_2024.dwt" codeOutsideHTMLIsLocked="false" -->

Add that line to just above the <head> tag in File.html and all should be well

Translate
Community Expert ,
Jan 15, 2024 Jan 15, 2024

I am sorry, but I do not see what you are seeing. Hence your story makes no sense to me.

 

Do you have a URL to an online site that we can see? Alternatively, please paste the code of the document here. That way we are on level playing fields and will be able to help you.

 

Having said that, the templates that you are using is a Dreamweaver proprietory software and can only be used in Dreamweaver. When Dreamweaver is finally put to rest (which should be sooner than later), your website will become useless to anyone wanting to maintain it using another program.

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jan 15, 2024 Jan 15, 2024

Could you please be more specific? I can't upload .dwt or .html files to the forum. I can copy and paste them into pdf files and upload those, if that's what will help you. Here's the HTML page and template that I'm having trouble with.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 15, 2024 Jan 15, 2024

PDF is a print file. It doesn't help us.

 

Please upload your files to a web server you control and post the URL. That's the only way we can determine if your web page is performing properly.

 

Nancy O'Shea— Product User, Community Expert & Moderator
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jan 15, 2024 Jan 15, 2024

Here's the URL of the file. I do not know how to find or create a URL for a template. In the File Manager of our hosting server, the template is there as a .dwt file

https://boonerta.org/membersonly/Videos/video_index.html

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 15, 2024 Jan 15, 2024

I see that File.html is not attached to any Template. It has been a long time since I used Templates in Dreamweaver so that I cannot help any further. I'll call out to @Nancy OShea to help you out.

 

For Nancy's benefit, this is the code for File.html

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <base href="/">
    <!-- Google tag (gtag.js) -->
    <script async src="https://www.googletagmanager.com/gtag/js?id=G-ZF8ST3ZRVP"></script>
    <script>
        window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-ZF8ST3ZRVP');
    </script>
    <meta name="Keywords" content="retired teacher, MRTA, Boone County Unit, Missouri Retired Teachers Association, BooneRTA" />
    <meta name="Description" content="The Boone County Unit of the Missouri Retired Teachers Association is an association of retired educators whose purpose is to promote the professional, social, and economic welfare of all retired school employees in Boone County" />
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Video Links</title>
    <style type="text/css">
        <!--
        body {
            text-align: center;
            /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
            color: #aaaaaa;
            font-family: Verdana, Arial, Helvetica, sans-serif;
            font-size: 100%;
            background-image: url(../../Images/Backgrounds/marble-07.jpg);
            background-repeat: repeat;
            margin-top: 100;
            margin-right: 0;
            margin-bottom: 0;
            margin-left: 0;
        }

        .twoColFixLtHdr #container {
            width: 780px;
            /* the auto margins (in conjunction with a width) center the page */
            border: 10px ridge #aaaaaa;
            text-align: left;
            /* this overrides the text-align: center on the body element. */
            z-index: 11;
            background-color: #AC946F;
            margin-top: 100;
            margin-right: auto;
            margin-bottom: 100;
            margin-left: auto;
        }

        dividing_lines1 {
            margin: 0px;
            padding: 2px;
            z-index: 2;
            position: absolute;
            clear: both;
            height: 5px;
        }

        dividing_lines2 {
            padding: 2px;
            z-index: 2;
            position: absolute;
            clear: both;
            height: 5px;
            float: left;
        }

        .twoColFixLtHdr #container {
            width: 780px;
            /* the auto margins (in conjunction with a width) center the page */
            border: 10px ridge #aaaaaa;
            text-align: left;
            /* this overrides the text-align: center on the body element. */
            z-index: 11;
            background-color: #AC946F;
            margin-top: 100;
            margin-right: auto;
            margin-bottom: 100;
            margin-left: auto;
        }

        .twoColFixLtHdr #header {
            background-color: #AC946F;
            color: #faf2e6;
            padding: 0;
            height: 550px;
            margin-top: 15px;
        }

        .twoColFixLtHdr #header h1 {
            margin: 0;
            /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
            padding: 10px 0;
            /* using padding instead of margin will allow you to keep the element away from the edges of the div */
            font-family: Arial, Helvetica, sans-serif;
            font-size: 48pt;
            line-height: 48pt;
            font-weight: normal;
            text-align: center;
        }

        .twoColFixLtHdr #sidebar1 {
            color: #AC946F;
            width: 100px;
            background-color: #F9EBB2;
            border-top-width: small;
            border-right-width: medium;
            border-bottom-width: medium;
            border-left-width: small;
            border-top-style: dotted;
            border-right-style: dotted;
            border-bottom-style: dotted;
            border-left-style: dotted;
            padding-top: 15px;
            padding-right: 35px;
            padding-bottom: 12px;
            padding-left: 4px;
            height: auto;
            z-index: 2;
            margin-top: 10px;
            margin-right: 0px;
            margin-bottom: 10px;
            margin-left: 8px;
            float: left;
        }

        .twoColFixLtHdr #mainContent {
            padding-top: 00px;
            padding-right: 20px;
            padding-bottom: 20px;
            padding-left: 20px;
            float: none;
            background-color: #f4eee4;
            z-index: 2;
            margin-top: 10px;
            margin-right: 10px;
            margin-bottom: 10px;
            margin-left: 160px;
            border: 15px ridge #AAAAAA;
        }

        .twoColFixLtHdr #footer {
            padding-bottom: 1000px;
            background-position: top;
            vertical-align: top;
            height: 300px;
            z-index: 2;
        }

        .meeting {
            border: 10px ridge #FF0000;
            background-position: center;
            float: none;
            margin-left: .8in;
        }

        .button1 {
            border: 5px solid #AC946F;
            width: 110px;
            height: 40px;
            display: inline-block;
            font: normal 700 18px/40px "Calibri", sans-serif;
            text-align: center;
            vertical-align: middle;
        }

        .button2 {
            border: 5px solid #AC946F;
            width: 110px;
            height: 40px;
            display: inline-block;
            font: normal 700 18px/25px "Calibri", sans-serif;
            text-align: center;
            white-space: normal;
            vertical-align: middle;
        }

        .style2 {
            font-family: Arial, Helvetica, sans-serif;
            font-size: 30pt;
            color: #faf2e6;
            line-height: 18pt;
            font-weight: bold;
        }

        .style3 {
            font-size: 80%;
            font-weight: bold;
            color: white;
        }

        .style10 {
            font-family: "Times New Roman", Times, serif;
            font-size: 40px;
            font-weight: bold;
            color: #615138;
        }

        .style11 {
            font-size: 24px;
            font-weight: bold;
            color: #615138;
        }

        .style12 {
            font-size: 110%;
            color: #615138;
        }

        .style13 {
            font-size: 90%;
            line-height: 16px;
            color: #615138;
            font-weight: bold;
        }

        .style15 {
            font-family: 'Gill Sans', 'Gill Sans MT', 'Myriad Pro', 'DejaVu Sans Condensed', Helvetica, Arial, 'sans-serif'Times, serif;
            font-size: 16px;
            font-weight: bold;
            color: #615138;
        }

        .style16 {
            font-size: 16pt;
            font-weight: bold;
            line-height: 25%;
            font-style: normal;
            color: #615138;
        }

        .style18 {
            line-height: 25%;
            font-style: normal;
            font-size: 16pt;
            color: #615138;
        }

        a:link {
            color: #615138;
        }

        a:visited {
            color: #615138;
        }

        </style>< !--[if IE 5]><style type="text/css">

        /* place css box model fixes for IE 5* in this conditional comment */
        .twoColFixLtHdr #sidebar1 {
            width: 230px;
        }

        </style>< ![endif]
        -->
    <!--[if IE]>
<style type="text/css">
/* place css fixes for all versions of IE in this conditional comment */
.twoColFixLtHdr #sidebar1 { padding-top: 30px; }
.twoColFixLtHdr #mainContent { zoom: 1; }
/* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
</style>
<![endif]-->
    <script type="text/javascript">
        var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-25851673-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src=('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
    </script>
    <!-- begin #body -->

<body class="twoColFixLtHdr">
    <!-- begin #container -->
    <div id="container">
        <div id="header">
            <h1><strong>Boone County Unit </strong></h1>
            <p align="center" class="style2">of the</p>
            <p align="center" class="style2">Missouri Retired Teachers Association</p>
            <p align="center" class="style2">and School Personnel</p>
            <p align="center" class="style2"><img src="../../Images/school-house-01.gif" width="200" height="200" alt=""></p>
        </div>
        <!-- end #header -->
        <div id="dividing_lines1">
            <table>
                <tr>
                    <td bgcolor="#F0D73A"><img src="../../Images/transparent.gif" alt="" width="775" height="5" /></td>
                </tr>
                <tr>
                    <td bgcolor="#003300"><img src="../../Images/transparent.gif" alt="" width="775" height="3" /></td>
                </tr>
                <tr>
                    <td bgcolor="#F0D73A"><img src="../../Images/transparent.gif" alt="" width="775" height="5" /></td>
                </tr>
            </table>
        </div>
        <div id="sidebar1">
            <table width="100" border="0" cellspacing="1" cellpadding="5" style="color:purple">
                <tr>
                    <td align="center" class="button1"><strong><a href="../../index.html">Home</a></strong></td>
                </tr>
                <tr>
                    <td class="button1"><a href="../../about.html">About Us</a></td>
                </tr>
                <tr>
                    <td class="button1"><a href="../../join.html">Join</a></td>
                </tr>
                <tr>
                    <td class="button2"><a href="../members_only_index.html">Members Only</a></td>
                </tr>
                <tr>
                    <td class="button1"><a href="../../news.html">News</a></td>
                </tr>
                <tr>
                    <td class="button1"><a href="../../calendar.html">Calendar</a></td>
                </tr>
                <tr>
                    <td class="button1"><a href="../../volunteerism.html">Volunteer</a></td>
                </tr>
                <tr>
                    <td class="button1"><a href="../../membersonly/Videos/video_index.html">Videos</a></td>
                </tr>
                <tr>
                    <td class="button2"><a href="../../SCHOLARSHIP/scholarship.html">Scholarship Info</a></td>
                </tr>
                <tr>
                    <td class="button1"><a href="../../SCHOLARSHIP/scholarship_donations.html">Donate</a></td>
                </tr>
                <!-- <tr>
<td class="button1"><a href="../legislative/legislative.html">Legislative</a></td>
</tr>-->
                <tr>
                    <td class="button1" align="center"><a href="../../links.html">Links</a></td>
                </tr>
                <tr>
                    <td class="button1" align="center"><a href="../../contacts.html">Contact Us</a></td>
                </tr>
            </table>
            <!-- end #sidebar1 -->
        </div>
        <!-- InstanceBeginEditable name="ContentArea" -->
        <div id="mainContent">
            <p align="center" class="style10">Video Links</p>
            <p align="center" class="style11" style="color: #009933"><em>Monthly member meetings</em>
            <h3 align="center" style="color: #EA0C0C;"> Click on the underlined link to open each video</span></a></h3>
            </p>
            <ul>
                <li>
                    <h3 style="color: #615138">November, 2023 --<span style="color: #EA0C0C;"> Unavailable</span></a></h3>
                </li>
                <li>
                    <h3 style="color: #615138">October, 2023 -- <a href="../../membersonly/Speaker_recordings_2023/OCTOBER 17/speakers.mp4">AMBA representative and the Mid-Missouri Woodcarvers</a></h3>
                </li>
                <li>
                    <h3 style="color: #615138">September, 2023 -- <a href="../../membersonly/Videos/Speaker_recordings_2023/SEPTEMBER 19 SPEAKER/Karen Piper.mp4">Karen Piper</a> (partial)</h3>
                </li>
                <li>
                    <h3 style="color: #615138">May, 2023 -- <a href="../../membersonly/Videos/Speaker_recordings_2023/MAY 16 SPEAKER/Heather Hargrove_Feeding Missouri.mp4">Heather Hargrove</a></h3>
                </li>
                <li>
                    <h3 style="color: #615138">April, 2023 -- <a href="../../membersonly/Videos/Speaker_recordings_2023/APRIL 18 SPEAKER/Chris Starbuck.mp4">Chris Starbuck</a></h3>
                </li>
                <li>
                    <h3 style="color: #615138">March, 2023<span style="color: #EA0C0C;"> Unavailable</span></h3>
                </li>
                <li>
                    <h3 style="color: #615138">April, 2023 -- <a href="../../membersonly/Videos/Speaker_recordings_2023/FEBRUARY 21 SPEAKER/Gary Moreau_Mobility_Worldwide.mp4">Gary Moreau</a></h3>
                </li>
                <li>
                    <h3 style="color: #615138">January, 2023<span style="color: #EA0C0C;"> Unavailable</span></h3>
                </li>
                <li>
                    <h3><a href="video_index_2022.html">2022</a></h3>
                </li>
                <li>
                    <h3><a href="video_index_20-21.html">2020-21</a></h3>
                </li>
            </ul>
            <p align="center"><img src="../../Images/newwildline.gif" alt="ornamental design" width="350" height="13" /></p>
            <p align="center" class="style11" style="color: #009933"><em>Retirement Workshop Sept. 30, 2023</em></p>
            <ul>
                <li>
                    <h3><a href="../../RETIREMENT WORKSHOP/2023 WORKSHOP/VIDEOS/PSRS_version.mp4">PSRS version</a></h3>
                </li>
                <li>
                    <h3><a href="../../RETIREMENT WORKSHOP/2023 WORKSHOP/VIDEOS/PEERS_version.mp4">PEERS version</a></h3>
                </li>
            </ul>
            <!--<p align="center"><img src="Images/newwildline.gif" alt="ornamental design" width="350" height="13" /></p>
</ul><p align="left" class="style11"><em>Chalk Talks</em></p>
<ul>
<li>
<h3><a href="/membersonly/Videos/Chalk Talks/Hap Hairston.mp4">Gale (Hap) Hairston</a></h3>
</li>
-->
            </ul>
            <!--<p align="center"><img src="Images/newwildline.gif" alt="ornamental design" width="185" height="13" /></p><p align="center" class="style11"><u>MRTA videos</u></p>-->
        </div>
        <div id="dividing_lines2">
            <table>
                <tr>
                    <td bgcolor="#F0D73A"><img src="../../Images/transparent.gif" alt="" width="775" height="5" /></td>
                </tr>
                <tr>
                    <td bgcolor="#003300"><img src="../../Images/transparent.gif" alt="" width="775" height="3" /></td>
                </tr>
                <tr>
                    <td bgcolor="#F0D73A"><img src="../../Images/transparent.gif" alt="" width="775" height="5" /></td>
                </tr>
            </table>
        </div>
        <!-- begin #footer -->
        <div align="center">
            <br><br>
            <p>
            <h3 style="color:white">Copyright &copy; 2008-2024 Boone County Unit &#8212; MRTA</h3>
            <h3 style="color:white">All rights reserved</h3>
            </p>
            <p style="color:greenyellow">For problems with this Web site, contact the <a style="color:powderblue" href="mailto:webmaster@boonerta.org">Webmaster</a>.</p>
            <p> <a href="http://www.bannerzrusgraphics.com" style="color:white">Some Graphics from Bannerzrusgraphics.com</a></p>
            <br><br><br><br>
        </div>
        <!-- end #footer -->
    </div>
    <!-- end #container -->
    </div>
    <!-- end #body -->
</body>
</style>

</html>
Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 15, 2024 Jan 15, 2024

The online version has

<!-- InstanceBegin template="/public_html/templates/basic_template_2024.dwt" codeOutsideHTMLIsLocked="false" -->

Add that line to just above the <head> tag in File.html and all should be well

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jan 15, 2024 Jan 15, 2024
LATEST

Thanks, Ben. At least you were willing to be helpful instead of critical.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 15, 2024 Jan 15, 2024

What can I say?  😱

1999 code in 2024. See screenshot.

https://validator.w3.org/check

image.png

 

@BenPleysier is correct, this is neither a site template nor a child page spawned from a site template.  File > New > Site Templates > HTML > Create...

 

Nancy O'Shea— Product User, Community Expert & Moderator
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 15, 2024 Jan 15, 2024

In the absence of a URL, I'm guessing that you're working with more than one Template which makes things unnecessarily complicated.  Don't nest Templates inside other Templates. 

 

You'll need to open all related Templates (.dwt files), primary as well as ancillary to find all the coding errors.

Run Validation on all related files and fix reported errors.  Window > Results > Validation....

 

I can't be more specific without seeing the code. Sorry.

 

 

Nancy O'Shea— Product User, Community Expert & Moderator
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jan 15, 2024 Jan 15, 2024

I'd be happy to do it, but how do I send you the URL of a template?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 15, 2024 Jan 15, 2024

Upload it to your remote web server.

 

 

Nancy O'Shea— Product User, Community Expert & Moderator
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jan 15, 2024 Jan 15, 2024

The remote server has the template file as a dwt file, but this forum will not allow that file type to be uploaded.

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