Template is nested inside itself (directly or indirectly)


hello helpful folks of forum.  

 

i had template (test.dwt) based on 60 of pages built , dont know happened whenever try update, editable contents of 60 pages gets deleted.  getting error "template nested inside (directly or indirectly)

 

can please take @ template , let me know wrong , how can fix it.   if create similar tempalte , name test.dwt, work ?    help.

 

<!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>welcome sringeri vidya bharati foundation (canada)</title>

<!-- templateendeditable -->

<!-- templatebegineditable name="head" --><!-- templateendeditable -->

<meta name="svbf" content="svbf, sringeri temple, sringeri vidya bharati foundation, sharadamba temple, ganesha, hanuman, hanuman chalisa, sathyanarayana pooja, shasti bhajans, brydon drive, sringeri, " />

 

 

<title></title>

 

<style type="text/css">

<!--

.style28 {

          font-size: 36px;

          font-weight: bold;

}

.style49 {

          font-weight: normal;

          font-family: cambria;

          font-size: 14px;

}

-->

</style>

<style type="text/css">

<!--

p.msonormal {

margin-top:0cm;

margin-right:0cm;

margin-bottom:10.0pt;

margin-left:0cm;

line-height:115%;

font-size:11.0pt;

font-family:"calibri","sans-serif";

}

-->

</style>

<script language="javascript" type="text/javascript">

<!--

/****************************************************

     author: eric king

     url: http://redrival.com/eak/index.shtml

     script free use long info left in

     featured on dynamic drive script library (http://www.dynamicdrive.com)

****************************************************/

var win=null;

function newwindow(mypage,myname,w,h,scroll,pos){

if(pos=="random"){leftposition=(screen.width)?math.floor(math.random()*(screen.width-w)):1 00;topposition=(screen.height)?math.floor(math.random()*((screen.height-h)-75)):100;}

if(pos=="center"){leftposition=(screen.width)?(screen.width-w)/2:100;topposition=(screen.h eight)?(screen.height-h)/2:100;}

else if((pos!="center" && pos!="random") || pos==null){leftposition=0;topposition=20}

settings='width='+w+',height='+h+',top='+topposition+',left='+leftposition+',scrollbars='+ scroll+',location=yes,directories=no,status=yes,menubar=no,toolbar=no,resizable=yes';

win=window.open(mypage,myname,settings);}

// -->

</script>

 

 

<script type="text/javascript" src="http://svbfcanada.com/svbf/jsmenu/stmenu.js"></script>

<style type="text/css">

<!--

.style1 {

          color: #ffffff;

          font-size: 12px;

          font-family: cambria;

          font-weight: bold;

}

.style2 {

          color: #ffffff;

          font-size: 14px;

          font-family: cambria;

          font-weight: bold;

}

.style3 {color: #cccccc}

body {

          background-color: #ffffcc;

}

.style6 {

          font-size: 12px;

          font-family: verdana, arial, helvetica, sans-serif;

}

.border1 {

          border: 1px solid #000000;

}

.style11 {color: #000000}

.style12 {color: #ffffff}

.style13 {font-weight: bold}

.style14 {font-size: 14px}

.bg1 {

          background-image: url(http://www.svbfcanada.com/svbf/images/bg1.jpg);

          background-repeat: no-repeat;

}

.style15 {font-size: 12px}

.style17 {

          font-size: 16px;

          font-weight: bold;

          font-family: cambria;

}

.style19 {font-size: 16px}

.style21 {font-weight: bold}

-->

</style>

 

 

</script>

<script src="../scripts/ac_runactivecontent.js" type="text/javascript"></script>

<script language="javascript1.1">

<!--

 

 

//pixelating image slideshow

//copyright dynamic drive 2001

//visit http://www.dynamicdrive.com script

 

 

//specify interval between slide (in mili seconds)

var slidespeed=3000

//specify images

var slideimages=new array("http://www.svbfcanada.com/svbf/images/navara2012.jpg","http://www.svbfcanada.com/svbf/images/diwalidance.jpg","http://www.svbfcanada.com/svbf/images/sivarathri.jpg","http://www.svbfcanada.com/svbf/images/navarathri2011.jpg", "http://www.svbfcanada.com/svbf/images/abdulkalam.jpg","http://www.svbfcanada.com/svbf/images/narasimhajayanti.jpg")

 

 

//specify corresponding links

var slidelinks=new array("http://www.svbfcanada.com/svbf/photogallery.html")

 

 

var imageholder=new array()

var ie55=window.createpopup

for (i=0;i<slideimages.length;i++){

imageholder[i]=new image()

imageholder[i].src=slideimages[i]

}

 

 

function gotoshow(){

window.location=slidelinks[whichlink]

}

 

 

//-->

</script>

<style type="text/css">

.menutitle{

          cursor:pointer;

          margin-bottom: 5px;

          background-color:#ececff;

          color:#000000;

          width:306px;

          padding:2px;

          text-align:center;

          font-weight:bold;

          /*/*/border:1px solid #000000;/* */

}

 

 

.submenu{

margin-bottom: 0.5em;

}

.style22 {font-weight: bold}

.style23 {font-family: cambria}

.style28 {

          font-size: 18px;

          font-weight: bold;

          font-family: cambria;

}

</style>

 

 

<script type="text/javascript">

 

 

/***********************************************

* switch menu script- martial b of http://getelementbyid.com/

* modified dynamic drive format & ns4/ie4 compatibility

* visit http://www.dynamicdrive.com/ full source code

***********************************************/

 

 

var persistmenu="yes" //"yes" or "no". make sure each span content contains incrementing id starting @ 1 (id="sub1", id="sub2", etc)

var persisttype="sitewide" //enter "sitewide" menu persist across site, "local" page only

 

 

if (document.getelementbyid){ //dynamicdrive.com change

document.write('<style type="text/css">\n')

document.write('.submenu{display: none;}\n')

document.write('</style>\n')

}

 

 

function switchmenu(obj){

          if(document.getelementbyid){

          var el = document.getelementbyid(obj);

          var ar = document.getelementbyid("masterdiv").getelementsbytagname("span"); //dynamicdrive.com change

                    if(el.style.display != "block"){ //dynamicdrive.com change

                              for (var i=0; i<ar.length; i++){

                                        if (ar[i].classname=="submenu") //dynamicdrive.com change

                                        ar[i].style.display = "none";

                              }

                              el.style.display = "block";

                    }else{

                              el.style.display = "none";

                    }

          }

}

 

 

function get_cookie(name) {

var search = name + "="

var returnvalue = "";

if (document.cookie.length > 0) {

offset = document.cookie.indexof(search)

if (offset != -1) {

offset += search.length

end = document.cookie.indexof(";", offset);

if (end == -1) end = document.cookie.length;

returnvalue=unescape(document.cookie.substring(offset, end))

}

}

return returnvalue;

}

 

 

function onloadfunction(){

if (persistmenu=="yes"){

var cookiename=(persisttype=="sitewide")? "switchmenu" : window.location.pathname

var cookievalue=get_cookie(cookiename)

if (cookievalue!="")

document.getelementbyid(cookievalue).style.display="block"

}

}

 

 

function savemenustate(){

var inc=1, blockid=""

while (document.getelementbyid("sub"+inc)){

if (document.getelementbyid("sub"+inc).style.display=="block"){

blockid="sub"+inc

break

}

inc++

}

var cookiename=(persisttype=="sitewide")? "switchmenu" : window.location.pathname

var cookievalue=(persisttype=="sitewide")? blockid+";path=/" : blockid

document.cookie=cookiename+"="+cookievalue

}

 

 

if (window.addeventlistener)

window.addeventlistener("load", onloadfunction, false)

else if (window.attachevent)

window.attachevent("onload", onloadfunction)

else if (document.getelementbyid)

window.onload=onloadfunction

 

 

if (persistmenu=="yes" && document.getelementbyid)

window.onunload=savemenustate

 

 

</script>

</head>

 

 

<body>

<center>

<script language=javascript>

<!--

 

 

//disable right click script iii- renigade (renigade@mediaone.net)

//for full source code, visit http://www.dynamicdrive.com

 

 

var message="";

///////////////////////////////////

function clickie() {if (document.all) {(message);return false;}}

function clickns(e) {if

(document.layers||(document.getelementbyid&&!document.all)) {

if (e.which==2||e.which==3) {(message);return false;}}}

if (document.layers)

{document.captureevents(event.mousedown);document.onmousedown=clickns;}

else{document.onmouseup=clickns;document.oncontextmenu=clickie;}

 

 

document.oncontextmenu=new function("return false")

// -->

</script>

<table width="1092" border="0" cellpadding="0" cellspacing="0" bgcolor="#cccccc">

  <!--dwlayouttable-->

  <tr>

    <td height="57" colspan="8" valign="top" bgcolor="d69306"><p align="right"><script language="javascript">

 

 

var = new date();

var days = new array('sunday','monday','tuesday','wednesday','thursday','friday','saturday');

var months = new array('january','february','march','april','may','june','july','august','september','octo ber','november','december');

var date = ((now.getdate()<10) ? "0" : "")+ now.getdate();

function fourdigits(number)          {

          return (number < 1000) ? number + 1900 : number;

                                                                                }

today =  days[now.getday()] + ", " +

              months[now.getmonth()] + " " +

               date + ", " +

                (fourdigits(now.getyear())) ;

 

 

document.write("" +today+ ".");

 

 

</script> </p>      <p align="center"><script type="text/javascript" src="http://www.svbfcanada.com/svbf/jsmenu/svbfcanada.js"></script>

      </p></td>

    </tr>

  <tr>

    <td height="210" colspan="8" valign="top" bgcolor="#d69306"><img src="http://www.svbfcanada.com/svbf/images/svbfbanner2.jpg" width="1092" height="210" /></td>

    </tr>

  <tr>

    <td width="43" rowspan="8" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">

      <!--dwlayouttable-->

      <tr>

        <td width="44" height="1181"> </td>

          </tr>

    </table></td>

    <td width="4" height="17"></td>

    <td colspan="2" rowspan="2" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#cccccc">

      <!--dwlayouttable-->

      <tr>

        <td width="321" height="1150" valign="top" bgcolor="#cc9933"><div style="margin-top: -25px;  "important days @ temple month.">

          <p align="center" class="style19" style="background: #cc9933; color: #2d251e; margin: 5px 0px 0px 0px; padding: 5px; border: solid #75614f; border-width: 1px 1px 1px 1px;"><br />

            <strong><span class="style21"><u>            temple timings</u></span><br/>

              <span class="style22">weekdays</span></strong><br />

            8.30 11.30 am<br />

            4.30 pm 8.30 pm<br/>

            <strong>weekends</span></strong><br />

            8.30 8.30 pm<br />

            <span class="style14"><br />

            </span></p>

          <div style="margin-top: -25px;  "important="important" days="days" at="at" the="the" temple="temple" this="this" month.="month."">

                  <p align="center" class="style14" style="background: #cc3333; color: #ffffff; margin: 5px 0px 0px 0px; padding: 5px; border: solid #75614f; border-width: 1px 1px 1px 1px;"><u><strong>important dates month</strong></u></p>

                  <p align="left" class="style23 style19" style="background: #cc9933; color: #2d251e; margin: 0px 0px 0px 0px; padding: 5px; border: solid #75614f; border-width: 1px 1px 1px 1px;"><strong>

                  05</strong> papa vimochana ekadasi<br />

                   <strong>06 </strong>pradosham<br />

                   <strong>10</strong> vaisaka masam begins<br />

                  <strong>

                  12</strong> akshaya truteya<br />

                  <strong>14</strong> ramanuja jayanthi<br />

                  <strong>15</strong> shankara jayanthi<br>

                   <strong>18</strong> hanuman chalisa<br />

                    <strong>21</strong> mohini ekadasi<br>

                    <strong>22</strong> pradosham<br />

                    <strong>23</strong> narasimha jayanthi<br />

                    <strong>24</strong> sathyanarayana pooja<br />

                    <strong>27 </strong>sankatahara chaturthi</p>

                  <p align="center" class="style28" style="background: #cc9933; color: #2d251e; margin: 0px 0px 0px 0px; padding: 5px; border: solid #75614f; border-width: 1px 1px 1px 1px;"><a href="http://www.svbfcanada.com/svbf/searchsvbf.html"><img src="http://www.svbfcanada.com/svbf/images/searchsvbf.jpg" width="200" height="70" border="0" /></a></p>

                  <p align="center" class="style15" style="background: #cc9933; color: #2d251e; margin: 0px 0px 0px 0px; padding: 5px; border: solid #75614f; border-width: 1px 1px 1px 1px;"><span class="style19"><a href="http://www.svbfcanada.com/svbf/support.html"><img src="http://www.svbfcanada.com/svbf/images/donate.jpg" width="285" height="140" border="0"/></a></span></p>

                  <p align="left" class="style15" style="background: #cc9933; color: #2d251e; margin: 0px 0px 0px 0px; padding: 5px; border: solid #75614f; border-width: 1px 1px 1px 1px;"><a href="http://www.svbfcanada.com/svbf/directions.html"><img src="http://www.svbfcanada.com/svbf/images/directions.jpg" width="305" height="60" border="0" /></a></p>

                  <p align="center" class="style19" style="background: #cc9933; color: #2d251e; margin: 0px 0px 0px 0px; padding: 5px; border: solid #75614f; border-width: 1px 1px 1px 1px;"><span class="style17 style23 style22"><span class="style11">visit our</span> <a href="http://www.svbfcanada.com/svbf/photogallery.html" class="style6">photo gallery</a></span>

                    <script language="javascript1.1" type="text/javascript">

<!--

var whichlink=0

var whichimage=0

var pixeldelay=(ie55)? document.images.slide.filters[0].duration*1000 : 0

function slideit(){

if (!document.images) return

if (ie55) document.images.slide.filters[0].apply()

document.images.slide.src=imageholder[whichimage].src

if (ie55) document.images.slide.filters[0].play()

whichlink=whichimage

whichimage=(whichimage<slideimages.length-1)? whichimage+1 : 0

settimeout("slideit()",slidespeed+pixeldelay)

}

slideit()

 

 

//-->

                        </script>

                  </p>

                  <div align="center"></div>

                  <div align="center"></div>

                  <p align="left" class="style15" style="background: #cc9933; color: #2d251e; margin: 0px 0px 0px 0px; padding: 5px; border: solid #75614f; border-width: 1px 1px 1px 1px;"><a href="http://www.svbfcanada.com/svbf/photogallery.html"><img src="http://www.svbfcanada.com/svbf/images/diwalidance.jpg" name="slide" width="306" height="200" border="0" style="filter:progid:dximagetransform.microsoft.pixelate(maxsquare=15,duration=1)" color="black" /></a></p>

<form id="form3" action="../svbf/response.php" method="post" onsubmit="return checkform(this);">

                                      

                                     <fieldset>

                                     <legend><span class="style23 style12"><strong>subscribe our newslette</strong></span><span class="style12">r</span></legend>

      <p class="first">

        <label for="name">name</label>

        <input type="text" name="name" id="name" size="30" />

        </p>

      <p>

        <label for="email">email </label>

        <input type="text" name="email" id="email" size="30" />

      </p>

      <p>

          <label for="code">enter code below > <span class="style19" id="txtcaptchadiv" style="color:#000066"><strong></strong></span><!-- script place generated code -->

            <input type="hidden" id="txtcaptcha" /></label><!-- script place copy of code validation: hidden field -->

          <input type="text" name="txtinput" id="txtinput" size="30" />

          </p>

          <p class="submit">

            <button type="submit">send</button>

          </p>

          <div align="center"></div>

          <div align="center">

            <script type="text/javascript">

          function checkform(theform){

                    var why = "";

                    

                    if(theform.txtinput.value == ""){

                              why += "- security code should not empty.\n";

                    }

                    if(theform.txtinput.value != ""){

                              if(validcaptcha(theform.txtinput.value) == false){

                                        why += "- security code did not match.\n";

                              }

                    }

                    if(why != ""){

                              alert(why);

                              return false;

                    }

          }

 

 

 

//generates captcha function   

          var = math.ceil(math.random() * 9)+ '';

          var b = math.ceil(math.random() * 9)+ '';      

          var c = math.ceil(math.random() * 9)+ ''; 

          var d = math.ceil(math.random() * 9)+ ''; 

          var e = math.ceil(math.random() * 9)+ ''; 

           

          var code = + b + c + d + e;

          document.getelementbyid("txtcaptcha").value = code;

          document.getelementbyid("txtcaptchadiv").innerhtml = code;

 

 

// validate entered input aganist generated security code function  

function validcaptcha(){

          var str1 = removespaces(document.getelementbyid('txtcaptcha').value);

          var str2 = removespaces(document.getelementbyid('txtinput').value);

          if (str1 == str2){

                    return true;

          }else{

                    return false;

          }

}

 

 

// remove spaces entered , generated code

function removespaces(string){

          return string.split(' ').join('');

}

          </script>

            <span class="style12 style23 style15">subscribe our newsletter to   receive updates on happenings @ temple , community hall </span><br />

          </div>

          <div align="center" class="style12"><small style="text-align:center">reload page change code</small></div>

          </fieldset>

    </form>

                </div>

            </div></td>

          </tr>

      <tr>

        <td height="152" valign="top" bgcolor="cc9933"><div align="center">

          <p><a href="http://www.tattvaloka.com/"><img src="http://www.svbfcanada.com/svbf/images/tattvaloka.jpg" width="306" height="160" border="0" /></a></p>

          <p><a href="http://www.svbfcanada.com/svbf/touristtoronto.html"><img src="http://www.svbfcanada.com/svbf/images/toronto.jpg" width="306" height="200" border="0" /></a></p>

        </div></td>

      </tr>

     

     

     

     

     

    </table></td>

    <td width="43"></td>

    <td width="635"></td>

    <td width="9"></td>

    <td width="37"></td>

  </tr>

  <tr>

    <td height="1410"></td>

    <td></td>

    <td rowspan="2" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">

      <!--dwlayouttable-->

      <tr>

        <td width="640" height="1471" valign="top">

          <div align="center"></div>          <div align="center" class="style49">

            <p> </p>

              <p><a href="http://www.svbfcanada.com/svbf/sathyanarayanapooja.html"></a></p>

            <a href="http://www.svbfcanada.com/svbf/sathyanarayanapooja.html"><a href="http://www.svbfcanada.com/svbf/sathyanarayanapooja.html"><a href="http://www.svbfcanada.com/svbf/sathyanarayanapooja.html"></a></div></td>

          </tr>

      <tr>

        <td height="106"></td>

        </tr>

    </table></td>

    <td></td>

    <td></td>

  </tr>

 

  <tr>

    <td height="167"></td>

    <td colspan="2" rowspan="2" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">

      <!--dwlayouttable-->

      <tr>

        <td width="318" height="159" valign="top"><div align="center">

          <p><a href="http://www.sringeri.net"><img src="http://www.svbfcanada.com/svbf/images/sringerinet.jpg" width="306" height="92" border="0" /></a><a href="http://www.svbf.org"><img src="http://www.svbfcanada.com/svbf/images/svbfusa.jpg" width="306" height="49" border="0" /></a>

            <iframe src="https://www.google.com/calendar/embed?title=svbf%20canada%20calendar&mode=agenda&height=30 0&wkst=1&bgcolor=%23cccccc&src=calendarsvbf%40gmail.com&color=%232952a3&ctz=america%2ftoro nto" style=" border:solid 1px #777 " width="310" height="300" frameborder="0" scrolling="yes"></iframe>

            <!-- addthis button begin -->

</p>

          <p></p></td>

          </tr>

    </table></td>

    <td></td>

    <td></td>

    <td></td>

  </tr>

  <tr>

    <td height="319"></td>

    <td></td>

    <td> </td>

    <td></td>

    <td></td>

  </tr>

  <tr>

    <td height="19"></td>

    <td width="312"> </td>

    <td width="9"></td>

    <td></td>

    <td></td>

    <td></td>

    <td></td>

  </tr>

 

  <tr>

    <td height="20"></td>

    <td valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">

      <!--dwlayouttable-->

      <tr>

        <td width="311" height="19" valign="top"><div align="center">

          <p><span class="style17 style23 style22 style3">visit our photo gallery</span>

            <span class="style3">

              <script language="javascript1.1">

<!--

var whichlink=0

var whichimage=0

var pixeldelay=(ie55)? document.images.slide.filters[0].duration*1000 : 0

function slideit(){

if (!document.images) return

if (ie55) document.images.slide.filters[0].apply()

document.images.slide.src=imageholder[whichimage].src

if (ie55) document.images.slide.filters[0].play()

whichlink=whichimage

whichimage=(whichimage<slideimages.length-1)? whichimage+1 : 0

settimeout("slideit()",slidespeed+pixeldelay)

}

slideit()

 

 

//-->

                  </script>

              </span></p>

            </div></td>

          </tr>

      <tr>

        <td height="1"></td>

          </tr>

     

    </table></td>

    <td> </td>

    <td> </td>

    <td> </td>

    <td> </td>

    <td> </td>

  </tr>

  <tr>

    <td height="3"></td>

    <td></td>

    <td></td>

    <td></td>

    <td></td>

    <td></td>

    <td></td>

  </tr>

  <tr>

    <td height="113" colspan="6" valign="top" bgcolor="#6c0f17"><div align="center">

              <p class="style11 style2"><span class="style12">sringeri vidya bharati foundation (canada)<br />

              80 brydon dr., etobicoke, on, m9w 4n6 phone: 416-745-1010<br />

              questions or comments website ?

        email the</span><span class="style12"> <a href="mailto:webmaster@svbfcanada.com" class="style14 style3">web master</a><br />

                <a href="http://www.svbfcanada.com/svbf/disclaimer.php" class="style13 style3">disclaimer</a> </span></p>

              <p class="style11"><span class="style1">copyright © 2008 – 2012 sringeri vidya bharati foundation (canada) rights   reserved.</span><br />

                    <a href="http://www.copyscape.com/plagiarism-finder/"><img src="http://www.svbfcanada.com/svbf/images/cs-ye-234x16.gif" width="234" height="16" border="0" /></a><br />

        </p>

      </div></td>

  <td> </td>

  </tr>

</table>

</td></center>

</body>

</html>

this happen if mistakenly save child page template.dwt , overwrite original template file. have backup of original template stored place safe?

 

in future, when have questions related dreamweaver, use dreamweaver forum. you'll better, quicker answers there.

http://forums.adobe.com/community/dreamweaver?view=discussions

 

 

 

nancy o.



More discussions in Web design


adobe

Comments

Popular posts from this blog

How to set the order of FAQs instead of alphabetical

Thread: Get UK Keyboard working

how do I change the e-mail address for my merchant account