7 Replies Latest reply on Feb 21, 2011 7:45 PM by MurraySummers

    error when trying to create page from template

    wranglergirl

      when I try to save my .html to a template I'm getting this:

       

      there is an error at line 28, column 27 (absolute position 977) of nested editable regions

       

      Any suggestions?

        • 1. Re: error when trying to create page from template
          MurraySummers Level 8

          Show us the template code please.

          • 2. Re: error when trying to create page from template
            wranglergirl Level 1

            <!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" />
            <title>Untitled Document</title>
            <link href="styles.css" rel="stylesheet" type="text/css" />
            <style type="text/css">
            #banner {
                padding: 0px;
                height: 200px;
                width: auto;
            }
            body {
                background-color: #01473f;
            }
            </style>
            </head>

             

            <body>

             

            <div class="container">
              <div class="header"><!-- end .header --><img src="images/logo.gif" width="810" height="90" alt="logo" /><img src="images/header.jpg" width="810" height="170" alt="banner" /></div>
              <div class="menu"><head>
                <link rel="stylesheet" href="/menu/menu_style.css" type="text/css" />
            </head>

             

            <ul id="menu">
               <li><a href="contact.html" target="_self">Contact</a></li>
               <li><a href="web_design_services.html" target="_self">Web Design Services</a></li>
               <li><a href="about.html" target="_self">About</a></li>
               <li><a href="index.html" target="_self">Welcome</a></li>
            </ul>
            </div>
              <div class="content">
                <h2>What We Do</h2>
                <p>Wrangler Girl Web Design is a small freelance web design studio in Reno, NV run by Amy Rasmussen. I have been creating websites since 2006. I'm also a Education Technology Specialist for Washoe County School District. </p>
                <p>The websites I design have a clean  professional layout and   appearance with easy to understand navigation and clean, easy to read   typography so your site visitors find what they are looking for and have   a positive experience visiting your site.</p>
            <h2>Layout</h2>
                <p>I believe in using straightforward  well tested design methods which   produce sites that are pleasant to visit and easy to maintain and expand   when the time comes.</p>
                <h3>Logo Replacement</h3>
                <p>If I can be of assistance to you in developing a website for your small   business or organization or for a personal site or project, please   contact me at your convenience. My cell is 775.343.5592 and my e-mail is <a href="mailto:timothy.benbow@gmail.com" title="Email for Small Business Websites">amyr61@gmail.com</a></p>
              <!-- end .content --></div>
              <div class="footer">
                <p>Copyright 2010 Wrangler Girl Web Design</p>
                <!-- end .footer --></div>
              <!-- end .container --></div>
            </body>
            </html>

            • 3. Re: error when trying to create page from template
              MurraySummers Level 8

              That's not a template page.  Nor is it the child page of a template.

               

              What exactly are you doing to that page?  Are you trying to apply a template to it?

               

              Please show us the code on your template page.

              • 4. Re: error when trying to create page from template
                wranglergirl Level 1

                No, it's not a template page.  I created a .html page that now that I'm finished I want to save as a template, but I'm getting the error message.

                • 5. Re: error when trying to create page from template
                  MurraySummers Level 8

                  OK - so you have that file open and you use FILE | Save as Template..., and you get that error message immediately?

                  • 6. Re: error when trying to create page from template
                    wranglergirl Level 1

                    Yes, it won't let me save.

                    • 7. Re: error when trying to create page from template
                      MurraySummers Level 8

                      Around here, we preach about the value of validating your code.  Had you done that it would have found this error in a flash....

                       

                      </head>

                       

                      <body>

                       

                      <div class="container">
                        <div class="header"><!-- end .header --><img src="images/logo.gif" width="810" height="90" alt="logo" /><img src="images/header.jpg" width="810" height="170" alt="banner" /></div>
                        <div class="menu"><head>
                          <link rel="stylesheet" href="/menu/menu_style.css" type="text/css" />
                      </head>

                       

                       

                      Note the two </head> tags.  Remove the second one, and move the link to the CSS file into the head region.  Now try to save as a template.