Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
October 25, 2014, 04:44:59 AM

Pages: [1] 2   Go Down
  Print  
Author Topic: Template question  (Read 5196 times)
absolutezero3424
Spaceship Navigator
*****
Offline Offline

Posts: 97


WWW
« on: March 06, 2006, 06:58:13 PM »

I have a template in DW and I tried to create a new file based on the template and I got a message that said the template itself was "nested inside itself (directly or indirectly)" and I have no idea what that means or how to fix it!
any ideas?

thanks!
Logged
blazerblvd
Intergalactic Superstar
*****
Offline Offline

Posts: 178


WWW
« Reply #1 on: March 06, 2006, 08:10:15 PM »

Can you post the code for the template so we can lok at it to try to see the problem?
Logged
absolutezero3424
Spaceship Navigator
*****
Offline Offline

Posts: 97


WWW
« Reply #2 on: March 07, 2006, 04:17:45 AM »

seems kinda long to post, but OK, that would probably help huh?
for the record, I do know what nesting means, I just don't see how it applies here?
thanks guys!

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<!-- InstanceBegin template="/Templates/mainTemplateAFT.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<!-- InstanceBeginEditable name="doctitle" -->
<title>mainTemplateAFT</title>
<!-- InstanceEndEditable -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!-- InstanceBeginEditable name="head" --><!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable --><!-- InstanceEndEditable -->
<script language="JavaScript">

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers.document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}
/* Functions that swaps images. */
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a)&&x.oSrc;i++) x.src=x.oSrc;
}

/* Functions that handle preload. */
function MM_preloadImages() { //v3.0
 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
   var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
   if (a.indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a;}}
}

function mmLoadMenus() {
  if (window.mm_menu_0303161748_0) return;
    window.mm_menu_0303161748_0_1 = new Menu("About&nbsp;Us",111,20,"Verdana, Arial, Helvetica, sans-serif",14,"#000000","#ffffff","#999999","#333333","left","middle",3,0,1000,0,0,true,true,true,0,true,true);
    mm_menu_0303161748_0_1.addMenuItem("Our&nbsp;History","location='history.htm'");
    mm_menu_0303161748_0_1.addMenuItem("We&nbsp;Believe...","location='beliefs.htm'");
     mm_menu_0303161748_0_1.fontWeight="bold";
     mm_menu_0303161748_0_1.hideOnMouseOut=true;
     mm_menu_0303161748_0_1.menuBorder=1;
     mm_menu_0303161748_0_1.menuLiteBgColor='#ffffff';
     mm_menu_0303161748_0_1.menuBorderBgColor='#555555';
     mm_menu_0303161748_0_1.bgColor='#555555';
  window.mm_menu_0303161748_0 = new Menu("root",133,20,"Verdana, Arial, Helvetica, sans-serif",14,"#000000","#ffffff","#999999","#333333","left","middle",3,0,1000,0,0,true,true,true,0,true,true);
  mm_menu_0303161748_0.addMenuItem("Meet&nbsp;the&nbsp;Pastor","location='pastor.htm'");
  mm_menu_0303161748_0.addMenuItem("Site&nbsp;Map","location='site.htm'");
  mm_menu_0303161748_0.addMenuItem(mm_menu_0303161748_0_1);
   mm_menu_0303161748_0.fontWeight="bold";
   mm_menu_0303161748_0.hideOnMouseOut=true;
   mm_menu_0303161748_0.childMenuIcon="arrows.gif";
   mm_menu_0303161748_0.menuBorder=1;
   mm_menu_0303161748_0.menuLiteBgColor='#ffffff';
   mm_menu_0303161748_0.menuBorderBgColor='#555555';
   mm_menu_0303161748_0.bgColor='#555555';
    window.mm_menu_0303162001_1_1 = new Menu("Departments",153,20,"Verdana, Arial, Helvetica, sans-serif",14,"#000000","#ffffff","#999999","#333333","left","middle",3,0,1000,0,0,true,true,true,0,true,true);
    mm_menu_0303162001_1_1.addMenuItem("Music","location='music.htm'");
    mm_menu_0303162001_1_1.addMenuItem("Seniors","location='seniors.htm'");
    mm_menu_0303162001_1_1.addMenuItem("Sunday&nbsp;School","location='s_school.htm'");
    mm_menu_0303162001_1_1.addMenuItem("Young&nbsp;Adults","location='adults.htm'");
    mm_menu_0303162001_1_1.addMenuItem("Youth&nbsp;Department","location='youth.htm'");
     mm_menu_0303162001_1_1.fontWeight="bold";
     mm_menu_0303162001_1_1.hideOnMouseOut=true;
     mm_menu_0303162001_1_1.menuBorder=1;
     mm_menu_0303162001_1_1.menuLiteBgColor='#ffffff';
     mm_menu_0303162001_1_1.menuBorderBgColor='#555555';
     mm_menu_0303162001_1_1.bgColor='#555555';
  window.mm_menu_0303162001_1 = new Menu("root",123,20,"Verdana, Arial, Helvetica, sans-serif",14,"#000000","#ffffff","#999999","#333333","left","middle",3,0,1000,0,0,true,true,true,0,true,true);
  mm_menu_0303162001_1.addMenuItem("Picture&nbsp;Gallery","location='gallery.htm'");
  mm_menu_0303162001_1.addMenuItem(mm_menu_0303162001_1_1);
   mm_menu_0303162001_1.fontWeight="bold";
   mm_menu_0303162001_1.hideOnMouseOut=true;
   mm_menu_0303162001_1.childMenuIcon="arrows.gif";
   mm_menu_0303162001_1.menuBorder=1;
   mm_menu_0303162001_1.menuLiteBgColor='#ffffff';
   mm_menu_0303162001_1.menuBorderBgColor='#555555';
   mm_menu_0303162001_1.bgColor='#555555';
  window.mm_menu_0303164716_2 = new Menu("root",171,20,"Verdana, Arial, Helvetica, sans-serif",14,"#000000","#ffffff","#999999","#333333","left","middle",3,0,1000,0,0,true,true,true,0,true,true);
  mm_menu_0303164716_2.addMenuItem("Schedule&nbsp;of&nbsp;Services","location='services.htm'");
  mm_menu_0303164716_2.addMenuItem("Calendar&nbsp;of&nbsp;Events","location='calendar.htm'");
  mm_menu_0303164716_2.addMenuItem("Upcoming&nbsp;Activities","location='activities.htm'");
   mm_menu_0303164716_2.fontWeight="bold";
   mm_menu_0303164716_2.hideOnMouseOut=true;
   mm_menu_0303164716_2.menuBorder=1;
   mm_menu_0303164716_2.menuLiteBgColor='#ffffff';
   mm_menu_0303164716_2.menuBorderBgColor='#555555';
   mm_menu_0303164716_2.bgColor='#555555';
  window.mm_menu_0303165019_3 = new Menu("root",115,20,"Verdana, Arial, Helvetica, sans-serif",14,"#000000","#ffffff","#999999","#333333","left","middle",3,0,1000,0,0,true,true,true,0,true,true);
  mm_menu_0303165019_3.addMenuItem("Coming&nbsp;Soon");
   mm_menu_0303165019_3.fontWeight="bold";
   mm_menu_0303165019_3.hideOnMouseOut=true;
   mm_menu_0303165019_3.menuBorder=1;
   mm_menu_0303165019_3.menuLiteBgColor='#ffffff';
   mm_menu_0303165019_3.menuBorderBgColor='#555555';
   mm_menu_0303165019_3.bgColor='#555555';
  window.mm_menu_0303165044_4 = new Menu("root",118,20,"Verdana, Arial, Helvetica, sans-serif",14,"#000000","#ffffff","#999999","#333333","left","middle",3,0,1000,0,0,true,true,true,0,true,true);
  mm_menu_0303165044_4.addMenuItem("Organizations","location='orgs.htm'");
  mm_menu_0303165044_4.addMenuItem("Churches","location='churches.htm'");
  mm_menu_0303165044_4.addMenuItem("Miscellaneous","location='misc.htm'");
   mm_menu_0303165044_4.fontWeight="bold";
   mm_menu_0303165044_4.hideOnMouseOut=true;
   mm_menu_0303165044_4.menuBorder=1;
   mm_menu_0303165044_4.menuLiteBgColor='#ffffff';
   mm_menu_0303165044_4.menuBorderBgColor='#555555';
   mm_menu_0303165044_4.bgColor='#555555';
  window.mm_menu_0303165126_5 = new Menu("root",221,20,"Verdana, Arial, Helvetica, sans-serif",14,"#000000","#ffffff","#999999","#333333","left","middle",3,0,1000,0,0,true,true,true,0,true,true);
  mm_menu_0303165126_5.addMenuItem("Addresses,&nbsp;Phone,&nbsp;and&nbsp;Fax","location='addr_phone.htm'");
  mm_menu_0303165126_5.addMenuItem("E-mail&nbsp;Addresses","location='email.htm'");
   mm_menu_0303165126_5.fontWeight="bold";
   mm_menu_0303165126_5.hideOnMouseOut=true;
   mm_menu_0303165126_5.menuBorder=1;
   mm_menu_0303165126_5.menuLiteBgColor='#ffffff';
   mm_menu_0303165126_5.menuBorderBgColor='#555555';
   mm_menu_0303165126_5.bgColor='#555555';

  mm_menu_0303165126_5.writeMenus();
} // mmLoadMenus()

//-->

</script>
<script language="JavaScript1.2" src="mm_menu.js"></script>
</head>
<body bgcolor="#333333" link="#000099" vlink="#666666" onLoad="MM_preloadImages('newnavaft_r2_c2_f2.gif','newnavaft_r2_c4_f2.gif','newnavaft_r2_c6_f2.gif','newnavaft_r2_c8_f2.gif','newnavaft_r2_c10_f2.gif','newnavaft_r2_c12_f2.gif')">
<table width="750" height="659" border="1" cellpadding="0" cellspacing="0" align="center">
  <tr>
    <td height="150" bgcolor="#3366CC"><table align="center" border="0" cellpadding="0" cellspacing="0" width="750">
        <!-- fwtable fwsrc="newBanner.png" fwbase="newBanner.png" fwstyle="Dreamweaver" fwdocid = "742308039" fwnested="0" -->
        <tr>
          <!-- Shim row, height 1. -->
          <td><img src="spacer.gif" width="61" height="1" border="0" alt=""></td>
          <td><img src="spacer.gif" width="128" height="1" border="0" alt=""></td>
          <td><img src="spacer.gif" width="361" height="1" border="0" alt=""></td>
          <td><img src="spacer.gif" width="39" height="1" border="0" alt=""></td>
          <td><img src="spacer.gif" width="161" height="1" border="0" alt=""></td>
          <td><img src="spacer.gif" width="1" height="1" border="0" alt=""></td>
        </tr>
        <tr>
          <!-- row 1 -->
          <td rowspan="2"><img name="newbanner_r1_c1" src="newbanner_r1_c1.jpg" width="61" height="108" border="0" alt="banner"></td>
          <td rowspan="2" colspan="3"><img name="newbanner_r1_c2" src="newbanner_r1_c2.gif" width="528" height="108" border="0" alt="banner"></td>
          <td><img name="newbanner_r1_c5" src="newbanner_r1_c5.gif" width="161" height="14" border="0" alt="banner"></td>
          <td><img src="spacer.gif" width="1" height="14" border="0" alt=""></td>
        </tr>
        <tr>
          <!-- row 2 -->
          <td rowspan="2"><img name="newbanner_r2_c5" src="newbanner_r2_c5.jpg" width="161" height="136" border="0" alt="banner"></td>
          <td><img src="spacer.gif" width="1" height="94" border="0" alt=""></td>
        </tr>
        <tr>
          <!-- row 3 -->
          <td colspan="3"><img name="newbanner_r3_c1" src="newbanner_r3_c1.gif" width="550" height="42" border="0" alt="banner"></td>
          <td><img name="newbanner_r3_c4" src="newbanner_r3_c4.jpg" width="39" height="42" border="0" alt="banner"></td>
          <td><img src="spacer.gif" width="1" height="42" border="0" alt=""></td>
        </tr>
        <!--   This table was automatically created with Macromedia Fireworks   -->
        <!--   http://www.macromedia.com   -->
      </table></td>
  </tr>
  <tr>
    <td width="750" height="50" bgcolor="#CC0033"> <script language="JavaScript1.2">mmLoadMenus();</script>
      <table align="center" border="0" cellpadding="0" cellspacing="0" width="750">
        <!-- fwtable fwsrc="newNavAFT.png" fwbase="newNavAFT.png" fwstyle="Dreamweaver" fwdocid = "742308039" fwnested="0" -->
        <tr>
          <!-- Shim row, height 1. -->
          <td><img src="spacer.gif" width="18" height="1" border="0" alt=""></td>
          <td><img src="spacer.gif" width="112" height="1" border="0" alt=""></td>
          <td><img src="spacer.gif" width="8" height="1" border="0" alt=""></td>
          <td><img src="spacer.gif" width="112" height="1" border="0" alt=""></td>
          <td><img src="spacer.gif" width="8" height="1" border="0" alt=""></td>
          <td><img src="spacer.gif" width="112" height="1" border="0" alt=""></td>
          <td><img src="spacer.gif" width="9" height="1" border="0" alt=""></td>
          <td><img src="spacer.gif" width="112" height="1" border="0" alt=""></td>
          <td><img src="spacer.gif" width="8" height="1" border="0" alt=""></td>
          <td><img src="spacer.gif" width="112" height="1" border="0" alt=""></td>
          <td><img src="spacer.gif" width="9" height="1" border="0" alt=""></td>
          <td><img src="spacer.gif" width="112" height="1" border="0" alt=""></td>
          <td><img src="spacer.gif" width="18" height="1" border="0" alt=""></td>
          <td><img src="spacer.gif" width="1" height="1" border="0" alt=""></td>
        </tr>
        <tr>
          <!-- row 1 -->
          <td colspan="13"><img name="newnavaft_r1_c1" src="newnavaft_r1_c1.gif" width="750" height="15" border="0" alt="nav_bar"></td>
          <td><img src="spacer.gif" width="1" height="15" border="0" alt=""></td>
        </tr>
        <tr>
          <!-- row 2 -->
          <td><img name="newnavaft_r2_c1" src="newnavaft_r2_c1.gif" width="18" height="20" border="0" alt="nav_bar"></td>
          <td><a href="index.htm" onMouseOut="MM_startTimeout();MM_swapImgRestore();MM_startTimeout();" onMouseOver="MM_showMenu(window.mm_menu_0303161748_0,0,20,null,'newnavaft_r2_c2');MM_swapImage('newnavaft_r2_c2','','newnavaft_r2_c2_f2.gif',1)"><img name="newnavaft_r2_c2" src="newnavaft_r2_c2.gif" width="112" height="20" border="0" alt="Home"></a></td>
          <td><img name="newnavaft_r2_c3" src="newnavaft_r2_c3.gif" width="8" height="20" border="0" alt="nav_bar"></td>
          <td><a href="#" onMouseOut="MM_startTimeout();MM_swapImgRestore();MM_startTimeout();" onMouseOver="MM_showMenu(window.mm_menu_0303162001_1,0,20,null,'newnavaft_r2_c4');MM_swapImage('newnavaft_r2_c4','','newnavaft_r2_c4_f2.gif',1)"><img name="newnavaft_r2_c4" src="newnavaft_r2_c4.gif" width="112" height="20" border="0" alt="Church"></a></td>
          <td><img name="newnavaft_r2_c5" src="newnavaft_r2_c5.gif" width="8" height="20" border="0" alt="nav_bar"></td>
          <td><a href="#" onMouseOut="MM_startTimeout();MM_swapImgRestore();MM_startTimeout();" onMouseOver="MM_showMenu(window.mm_menu_0303164716_2,0,20,null,'newnavaft_r2_c6');MM_swapImage('newnavaft_r2_c6','','newnavaft_r2_c6_f2.gif',1)"><img name="newnavaft_r2_c6" src="newnavaft_r2_c6.gif" width="112" height="20" border="0" alt="Events"></a></td>
          <td><img name="newnavaft_r2_c7" src="newnavaft_r2_c7.gif" width="9" height="20" border="0" alt="nav_bar"></td>
          <td><a href="#" onMouseOut="MM_startTimeout();MM_swapImgRestore();MM_startTimeout();" onMouseOver="MM_showMenu(window.mm_menu_0303165019_3,-3,20,null,'newnavaft_r2_c8');MM_swapImage('newnavaft_r2_c8','','newnavaft_r2_c8_f2.gif',1)"><img name="newnavaft_r2_c8" src="newnavaft_r2_c8.gif" width="112" height="20" border="0" alt="Media"></a></td>
          <td><img name="newnavaft_r2_c9" src="newnavaft_r2_c9.gif" width="8" height="20" border="0" alt="nav_bar"></td>
          <td><a href="#" onMouseOut="MM_startTimeout();MM_swapImgRestore();MM_startTimeout();" onMouseOver="MM_showMenu(window.mm_menu_0303165044_4,-8,20,null,'newnavaft_r2_c10');MM_swapImage('newnavaft_r2_c10','','newnavaft_r2_c10_f2.gif',1)"><img name="newnavaft_r2_c10" src="newnavaft_r2_c10.gif" width="112" height="20" border="0" alt="Links"></a></td>
          <td><img name="newnavaft_r2_c11" src="newnavaft_r2_c11.gif" width="9" height="20" border="0" alt="nav_bar"></td>
          <td><a href="#" onMouseOut="MM_startTimeout();MM_swapImgRestore();MM_startTimeout();" onMouseOver="MM_showMenu(window.mm_menu_0303165126_5,-109,20,null,'newnavaft_r2_c12');MM_swapImage('newnavaft_r2_c12','','newnavaft_r2_c12_f2.gif',1)"><img name="newnavaft_r2_c12" src="newnavaft_r2_c12.gif" width="112" height="20" border="0" alt="Contact Us"></a></td>
          <td><img name="newnavaft_r2_c13" src="newnavaft_r2_c13.gif" width="18" height="20" border="0" alt="nav_bar"></td>
          <td><img src="spacer.gif" width="1" height="20" border="0" alt=""></td>
        </tr>
        <tr>
          <!-- row 3 -->
          <td colspan="13"><img name="newnavaft_r3_c1" src="newnavaft_r3_c1.gif" width="750" height="15" border="0" alt="nav_bar"></td>
          <td><img src="spacer.gif" width="1" height="15" border="0" alt=""></td>
        </tr>
        <!--   This table was automatically created with Macromedia Fireworks   -->
        <!--   http://www.macromedia.com   -->
      </table></td>
  </tr>
  <tr>
    <td height="372" bgcolor="#CCCCCC"><!-- InstanceBeginEditable name="ContentRegion" --><!-- InstanceEndEditable --></td>
  </tr>
  <tr>
    <td width="750" height="74" bgcolor="#990000"> <table width="750" border="0" cellspacing="0" cellpadding="0" bgcolor="#000000">
        <tr>
          <td height="4" bgcolor="#000000"><img name="blackSpacer" src="blackSpacer.gif" width="750" height="4" border="0" alt="blackSpacer"></td>
        </tr>
        <tr>
          <td height="50" bgcolor="#CC0033"><div align="center"> <font size="1">Copyright
              2006<strong> <font color="#3300FF">|</font></strong> Apostolic Faith
              Temple<strong> <font color="#3300FF">|</font></strong> All Rights
              Reserved<br>
              </font> <font size="1">9701 Mortenview<strong> <font color="#3300FF">|</font></strong>
              Taylor, Michigan 48180<strong> <font color="#3300FF">|</font></strong>
              (313)291-8080<br>
              </font> <font size="1">www.apostolicsoftaylor.com<strong> <font color="#3300FF">|</font></strong>
              <a href="site.htm" title="site map">site map</a><br>
              </font> <font size="1">Designed for Internet Explorer 6.0 &amp;
              Netscape Navigator 8.0<br>
              </font> <font size="1">For issues with this site, e-mail: <a href="mailto:webmaster@apostolicsoftaylor.com">webmaster@apostolicsoftaylor.com</a><br>
              </font> </div></td>
        </tr>
        <tr>
          <td height="4" bgcolor="#000000"><img name="blackSpacer" src="blackSpacer.gif" width="750" height="4" alt="blackSpacer" style="background-color: #000000"></td>
        </tr>
      </table></td>
  </tr>
</table>
</body>
<!-- InstanceEnd -->
</html>
Logged
SOU610
Jabba the Hutt
*****
Offline Offline

Posts: 673



WWW
« Reply #3 on: March 07, 2006, 05:49:13 AM »

Figures that I'm not sitting at my home PC, but right off the bat there's this:
Quote
<!-- InstanceBeginEditable name="head" --><!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable --><!-- InstanceEndEditable -->
I've got a meeting to go to, and my workday has just started so I can't dig any further into it.
Logged

absolutezero3424
Spaceship Navigator
*****
Offline Offline

Posts: 97


WWW
« Reply #4 on: March 07, 2006, 07:12:52 AM »

I see what you mean about the "Template..." tag being nested inside the "Instance..." tag, but I claim ignorance as far as knowing why that matters?

if you could explain that aspect of it so that I could fix it, I would be most appreciative!
Logged
blazerblvd
Intergalactic Superstar
*****
Offline Offline

Posts: 178


WWW
« Reply #5 on: March 07, 2006, 01:54:51 PM »

You have two editable regions, nested in eachother.  However, you only really need one.  Does that work?
Logged
absolutezero3424
Spaceship Navigator
*****
Offline Offline

Posts: 97


WWW
« Reply #6 on: March 07, 2006, 05:08:59 PM »

I see your point, but I even tried taking out that portion and it still gave me the same error message???  not sure what to think???

also, why can't I just open the template document itself and edit it?  it's grayed out and won't let me take MOST of the content out??
Logged
blazerblvd
Intergalactic Superstar
*****
Offline Offline

Posts: 178


WWW
« Reply #7 on: March 07, 2006, 05:43:48 PM »

Dreamweaver is a little picky with templates.  I would recommend opening it with something like note pad and make the changes you need.  Other than that, I don't know what is wrong.  You could copy the template into a normal html document and then change it as you like.  Then you could make a header and footer to include in every page.  If you want to do that, just post a comment here and I will tell you how.
Logged
SOU610
Jabba the Hutt
*****
Offline Offline

Posts: 673



WWW
« Reply #8 on: March 07, 2006, 06:05:32 PM »

Yeah, I pasted it into my DW and I can't edit the code.
Logged

absolutezero3424
Spaceship Navigator
*****
Offline Offline

Posts: 97


WWW
« Reply #9 on: March 07, 2006, 06:58:49 PM »

it is beyond me why I cannot even EDIT the stupid .dwt file itself???
I've tried opening the template .dwt file and almost everything is grayed out and uneditable?? 

correct me if I'm wrong, but I should be able to edit the template itself right?  that only makes sense!
Logged
TWebMan
Quantum Encyclopedia Writer
*****
Offline Offline

Posts: 3052



WWW
« Reply #10 on: March 07, 2006, 08:32:25 PM »

The template is referring to itself.  This will work:

Open it in Notepad, and be sure word wrap is not checked.

At the top, just below the html tag, remove:
<!-- InstanceBegin template="/Templates/mainTemplateAFT.dwt" codeOutsideHTMLIsLocked="false" -->

Then scroll to the end of the file.  Remove the <!-- InstanceEnd -->  right before the closing html tag.  Save the file.  Now it is a normal template and should work fine.

It was a temlate referring to itself as a template.   You can nest them, yes, I don't think you can nest a temlplate in itself.  I didn't check into that, but this will work to enable it and remove your error.

Hope this helps.
Logged

"Computers cause people to make more mistakes than any other invention in history, with the possible exception of handguns and tequila."  - Unknown
"Liberty of any kind is seldom lost all at once." - D. Hume
Every day is an Ode to Joy
The planet will be fine... and so will your site
absolutezero3424
Spaceship Navigator
*****
Offline Offline

Posts: 97


WWW
« Reply #11 on: March 08, 2006, 07:46:55 PM »

thanks so much man, that fixed my "editing template" issue!
Logged
absolutezero3424
Spaceship Navigator
*****
Offline Offline

Posts: 97


WWW
« Reply #12 on: March 12, 2006, 07:44:18 PM »

as a follow up, I noticed that when I create a new page based on my template, the code that is inserted into the template-based page does not include the full code in the template itself that allows for the editing of the Editable region, nor does it include the <!-- Insert...... name="doctitle"> tag that allows me to change the pages title.......I have to go in and manually add that code!!!

does anyone know why on earth that would happen, is it because it is technically a comment?  speaking of which, how does Dreamweaver utilize that portion of code to create an editable region when in straight HTML it would be considered a "comment"?
ideas?
Logged
TWebMan
Quantum Encyclopedia Writer
*****
Offline Offline

Posts: 3052



WWW
« Reply #13 on: March 13, 2006, 01:59:44 PM »

DW looks for those blocks of text.  Have you tried making a backup, and then editing the template in DW?  I think a post above found some issues around the title area.  You may have to edit the page again in notepad to straighten that out, though possibly editing the template in DW may solve it. 
Logged

"Computers cause people to make more mistakes than any other invention in history, with the possible exception of handguns and tequila."  - Unknown
"Liberty of any kind is seldom lost all at once." - D. Hume
Every day is an Ode to Joy
The planet will be fine... and so will your site
absolutezero3424
Spaceship Navigator
*****
Offline Offline

Posts: 97


WWW
« Reply #14 on: March 14, 2006, 06:34:46 PM »

I've tried copying into Notepad and editing by taking out that "title" portion that was mentioned...but when I make a template-based page, it doesn't generate with the editable regions, ie. Content Region and Title Region, I have to go in with Notepad and add that portion of code manually to make it editable....it seems like my DW is extra-buggy or something?  any ideas on how to correct these issues?
Logged
Pages: [1] 2   Go Up
  Print  
 
Jump to: