5 Replies Latest reply: May 6, 2009 9:38 AM by MurraySummers RSS

    How to remove <!--InstanceBeginEditable name="docTitle"--> from title

    GlacierBay

      I just migrated an Adobe GoLive CS2 site with templates to Adobe Dreamweave CS4.  The conversion looks fine, except every page's title bar in a browser (IE or Firefox) shows <!--InstanceBeginEditable name="docTitle"--> preceding the title.  I appear to not be the only one since a google search turns up many websites with this same issue.  Following another thread, I was able to remove it by Modify>Templates>Export without Markup, but this appears to get rid of the connection to the template.

      I recognize this is a comment to delimit where edits can be made on a non-template page, but there must be a way to not have it appear in a browser.

       

      Here are a few of random websites that show the issue I'm facing in their title bar -

       

      http://www.unm.edu/grad/eforms/intentletter.html

      http://www.discovery.org/bioethics/links.php

      http://www.vpul.upenn.edu/alcohol/policy.html

       

      Thanks for help with this perplexing issue...

        • 1. Re: How to remove <!--InstanceBeginEditable name="docTitle"--> from title
          MurraySummers CommunityMVP

          This is a problem caused by someone running before they have learned to walk.  One of the pages you linked has this -

           

          <title><!-- InstanceBeginEditable name="DocTitle" -->Letter of Intent<!-- InstanceEndEditable --></title>

          The proper syntax for that *would* be this -

           

          <!-- InstanceBeginEditable name="DocTitle" --><title>Letter of Intent</title>
          <!-- InstanceEndEditable -->

          In other words, the <title> tag SHOULD be inside the Template markup, not the other way around.  DW doesn't do this.  Inexperienced operators do.

           

          If you are having the same problem, make this change in the TEMPLATE page -

           

          <!-- TemplateBeginEditable name="DocTitle" --><title>Letter of Intent</title>
          <!-- TemplateEndEditable -->

           

          and when you save the page, all of your child pages will be healed.

          • 2. Re: How to remove <!--InstanceBeginEditable name="docTitle"--> from title
            GlacierBay Community Member

            Thanks...

             

            In the template, I moved the <title></title> to inside <!-- TemplateBeginEditable name="docTitle" --><!-- TemplateEndEditable -->.  So,

             

            <!-- TemplateBeginEditable name="docTitle" -->
            <title>
            THIS IS MY TITLE
            </title>
            <!-- TemplateEndEditable -->

             

            That resulted in the previous title on the webpages to display at the top of each page (not in the title bar).  So I removed the text from the docTitle area in the source code and pasted it into the title area.  Issue resolved.

             

            This problem is a result of the conversion using the AbobeGoLive extension...

            • 3. Re: How to remove <!--InstanceBeginEditable name="docTitle"--> from title
              MurraySummers CommunityMVP

              This problem is a result of the conversion using the AbobeGoLive extension...

               

              Really?  Can you verify that?  If so, the team should know about it....

              • 4. Re: How to remove <!--InstanceBeginEditable name="docTitle"--> from title
                GlacierBay Community Member

                In the GoLive CS2 template, the header code was...

                 

                <!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>
                  <meta http-equiv="content-type" content="text/html;charset=utf-8" />
                  <meta name="generator" content="Adobe GoLive" />
                  <title>XYZ template</title>
                  <link title="EPMT_css" href="../../web-content/css/EPMT.css" rel="stylesheet" type="text/css" media="all" />
                </head>

                 

                And the code for one of the subsequent pages was...

                 

                <!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">

                <!-- InstanceBegin template="../web-data/Templates/template.html" -->

                  <head>
                   <meta name="generator" content="Adobe GoLive" />
                   <meta http-equiv="content-type" content="text/html;charset=utf-8" />
                   <title>XYZ</title>
                   <!-- #BeginHeadLocked "" -->
                    <link title="EPMT_css" href="css/EPMT.css" rel="stylesheet" type="text/css" media="all" />
                   <!-- #EndHeadLocked -->
                  </head>

                 

                **************************************

                 

                Following using the extension (glmk_en_us.mxp) from the Adobe site (as of yesterday) to convert a GoLive site to Dreamweaver CS4, the template's header code was...

                 

                <!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>
                <meta http-equiv="content-type" content="text/html;charset=utf-8" />
                <meta name="generator" content="Adobe GoLive" />
                <title>
                <!-- TemplateBeginEditable name="docTitle" -->
                XYZ template
                <!-- TemplateEndEditable -->
                </title>
                <link title="EPMT_css" href="../css/EPMT.css" rel="stylesheet" type="text/css" media="all" />
                <!-- TemplateBeginEditable name="head" -->
                <!-- TemplateEndEditable -->
                </head>

                 

                And the code for one of the subsequent pages was...

                 

                <!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">

                <!-- InstanceBegin template="/Templates/template.dwt" -->

                  <head>
                   <meta name="generator" content="Adobe GoLive" />
                   <meta http-equiv="content-type" content="text/html;charset=utf-8" />
                   <title><!-- InstanceBeginEditable name="docTitle" -->XYZ<!-- InstanceEndEditable --></title>
                  
                    <link title="EPMT_css" href="css/EPMT.css" rel="stylesheet" type="text/css" media="all" />
                   <!-- InstanceBeginEditable name="head" -->
                  <!-- InstanceEndEditable --></head>

                 

                Which results in the issue I initially inquired about...  if you have a suggestion on where to report it, I'd be happy to save the next person the hassle!

                • 5. Re: How to remove <!--InstanceBeginEditable name="docTitle"--> from title
                  MurraySummers CommunityMVP

                  if you have a suggestion on where to report it, I'd be happy to save the next person the hassle!

                   

                  Your data looks convincing.  Please report it, along with your data, to the development team.