1 Reply Latest reply on Aug 25, 2010 11:52 PM by Dominic Michael

    Template nested inside itself.

    dangauteeng

      Hey. I have a problem. To edit with Contribute I need to have a Template in a Template folder.  I used dreamweaver to save the Template. Here the code is for one of the Templates (dwt).

       

      <html>

      <!-- TemplateBeginEditable name="head" -->

      <!-- TemplateEndEditable -->

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


      <head>


      <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

      <meta http-equiv="title" content="Gaute Fjellheim, norwegian folk metal">

      <meta name="title" content="Gaute Fjellheim, norwegian folk metal">

      <meta name="keywords" content="gaute, fjellheim, metal, folk, folk-metal, music, band, norway, norwegian, scandinavia, scandinavian">

      <meta name="copyright" content="Gaute Fjellheim - 2005">

      <meta name="author" content="Julien Riesen">

      <meta name="Identifier-URL" content="http://www.gautefjellheim.no">

      <meta name="Revisit-after" content="7 days">

      <meta name="Distribution" content="Global">

      <meta name="rating" content="General">

      <meta name="classification" content="folk metal, metal, folk, music, norway">

      <meta name="ressource-type" content="document">

      <meta name="language" content="en">


      <!-- InstanceBeginEditable name="doctitle" -->

      <!-- InstanceEndEditable -->


      <link href="file:///Saga Norge/Users/gaufjell/Desktop/template/styles.css" rel="stylesheet" type="text/css">


      </head>


      <style>

      body {

      scrollbar-face-color: #111A19;

      scrollbar-shadow-color: #0A1111;

      scrollbar-highlight-color: #0A1111;

      scrollbar-3dlight-color: #0A1111;

      scrollbar-darkshadow-color: #0A1111;

      scrollbar-track-color: #0A1111;

      scrollbar-arrow-color: #617E7D;}

      </style>


      <body bgcolor="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" class="backgroundCenter">


      <table width="470" height="100%" border="0" cellpadding="0" cellspacing="0">

        <tr>

          <td width="30" rowspan="3"> </td>

          <td height="73"><img src="file:///Saga Norge/Users/gaufjell/Desktop/images/title_news.gif" width="439" height="73"></td>

        </tr>

        <tr>

          <td width="439" valign="top"><br>

            <!-- InstanceBeginRepeat name="newsblock" --><!-- InstanceBeginRepeatEntry -->

            <table width="439" border="0" cellspacing="0" cellpadding="0">

              <tr>

                <td height="21" align="center" valign="middle" background="file:///Saga Norge/Users/gaufjell/Desktop/images/title_bar.gif" class="fontTitle"><img src="file:///Saga Norge/Users/gaufjell/Desktop/images/dots.gif" width="10" height="5"><!-- InstanceBeginEditable name="title" -->10 March - 2010: Mixing <!-- InstanceEndEditable --><img src="file:///Saga Norge/Users/gaufjell/Desktop/images/dots.gif" width="10" height="5"></td>

              </tr>

              <tr>

                <td><table width="439" border="0" cellspacing="15" cellpadding="0">

                    <tr>

                      <td align="center" valign="top" class="fontText"><!-- InstanceBeginEditable name="text" -->

                        <p style="margin-top: 0">All of my songs are finished recoriding, except vocals. So now I am working on the mixing part. Check out www.myspace.com/gautefjellheimband for noen sampler.</p>

                        <p style="margin-bottom: 0;">MVH<br>

                          Gaute Fjellheim

                        </p>

                      <!-- InstanceEndEditable --></td>

                    </tr>

                  </table></td>

              </tr>

            </table>

            <br>

            <!-- InstanceEndRepeatEntry --><!-- InstanceEndRepeat --></td>

        </tr>

        <tr>

          <td width="439" height="75"><img src="file:///Saga Norge/Users/gaufjell/Desktop/images/foot.gif" width="439" height="75"></td>

        </tr>

      </table>


      </body>


      <!-- InstanceEnd --></html>

       

      Can anyone help me with this ??


      Best Regards

      Dan Gaute

        • 1. Re: Template nested inside itself.
          Dominic Michael Adobe Employee

          Please try with below mentioned code.

           

          <!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" />
          <!-- TemplateBeginEditable name="doctitle" -->
          <title>Untitled Document</title>
          <!-- TemplateEndEditable -->
          <!-- TemplateBeginEditable name="head" -->
          <!-- TemplateEndEditable -->
          <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

          <meta http-equiv="title" content="Gaute Fjellheim, norwegian folk metal">

          <meta name="title" content="Gaute Fjellheim, norwegian folk metal">

          <meta name="keywords" content="gaute, fjellheim, metal, folk, folk-metal, music, band, norway, norwegian, scandinavia, scandinavian">

          <meta name="copyright" content="Gaute Fjellheim - 2005">

          <meta name="author" content="Julien Riesen">

          <meta name="Identifier-URL" content="http://www.gautefjellheim.no">

          <meta name="Revisit-after" content="7 days">

          <meta name="Distribution" content="Global">

          <meta name="rating" content="General">

          <meta name="classification" content="folk metal, metal, folk, music, norway">

          <meta name="ressource-type" content="document">

          <meta name="language" content="en">
          </head>
          <style>

          body {

          scrollbar-face-color: #111A19;

          scrollbar-shadow-color: #0A1111;

          scrollbar-highlight-color: #0A1111;

          scrollbar-3dlight-color: #0A1111;

          scrollbar-darkshadow-color: #0A1111;

          scrollbar-track-color: #0A1111;

          scrollbar-arrow-color: #617E7D;}

          </style>

          <body bgcolor="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" class="backgroundCenter">


          <table width="470" height="100%" border="0" cellpadding="0" cellspacing="0">

            <tr>

              <td width="30" rowspan="3"> </td>

              <td height="73"><img src="file:///Saga Norge/Users/gaufjell/Desktop/images/title_news.gif" width="439" height="73"></td>

            </tr>

            <tr>

              <td width="439" valign="top"><br>
              <!-- TemplateBeginRepeat name="newsblock" --><!-- TemplateBeginRepeatEntry -->
              <table width="439" border="0" cellspacing="0" cellpadding="0">

                  <tr>

                    <td height="21" align="center" valign="middle" background="file:///Saga Norge/Users/gaufjell/Desktop/images/title_bar.gif" class="fontTitle"><img src="file:///Saga Norge/Users/gaufjell/Desktop/images/dots.gif" width="10" height="5"><!-- TemplateBeginEditable name="title" -->10 March - 2010: Mixing <!-- TemplateEndEditable --><img src="file:///Saga Norge/Users/gaufjell/Desktop/images/dots.gif" width="10" height="5"></td>

                  </tr>

                  <tr>

                    <td><table width="439" border="0" cellspacing="15" cellpadding="0">

                        <tr>

                          <td align="center" valign="top" class="fontText"><!-- TemplateBeginEditable name="text" -->

                            <p style="margin-top: 0">All of my songs are finished recoriding, except vocals. So now I am working on the mixing part. Check out www.myspace.com/gautefjellheimband for noen sampler.</p>

                            <p style="margin-bottom: 0;">MVH<br>

                              Gaute Fjellheim

                            </p>
                            <!-- TemplateEndEditable --></td>

                        </tr>

                      </table></td>

                  </tr>

                </table>

                <br>
                <!-- TemplateEndRepeatEntry --><!-- TemplateEndRepeat --></td>

            </tr>

            <tr>

              <td width="439" height="75"><img src="file:///Saga Norge/Users/gaufjell/Desktop/images/foot.gif" width="439" height="75"></td>

            </tr>

          </table>


          </body>

          </html>

           

          Place this template inside the "Templates" folder inside the site.