I work at a nonprofit, and we've just been given a new website provided to us
by a team of volunteers. However, the template has some minor typos that I need
to fix. Whenever I save the template, I get error after error, primarily along
the lines of "Unbalanced #EndEditable tag" or "Nested Editable Regions," but
some others have popped up, too. I can't ignore the error, either, because the
rest of the pages in the site won't update.
The volunteer team was working in two different versions of Dreamweaver, and
the following part of the code seems to be source of several of the problems.
There's two different versions of the "begineditable" and "endeditable tags,"
with a section beginning with "#begineditable" and then containing a
"templatebegineditable." When I try to standardize the tags or remove them from
within each other, the content region drops to below the left nav. I don't
understand what's happenning, or how to fix it. Any ideas?
Thanks,
Jodi
<!-- BeginEditable "leftnav" -->
<table width="205" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="32" align="center"
background="../IMAGES/left_nav_top.gif" bgcolor="#FFFFFF" class="nav_links">
<!-- TemplateBeginEditable name="left_nav_title" -->
<table width="190" border="0" align="left" cellpadding="0"
cellspacing="0">
<tr>
<td class="nav_links_title">About Page </td>
</tr>
</table>
<!-- TemplateEndEditable -->
</td>
</tr>
<tr>
<td align="center" valign="top"
background="../IMAGES/left_nav_middle.gif" class="text">
<!-- TemplateBeginEditable name="left_nav_sections" -->
<table width="190" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="25"><img src="../images/button-arrow.gif"
width="13" height="13"><span class="nav_links">About
Us </span></td>
</tr>
<tr>
<td height="25"><img src="../images/button-arrow.gif"
width="13" height="13"><span class="nav_links">Board
of Directors </span></td>
</tr>
<tr>
<td height="25"><img src="../images/button-arrow.gif"
width="13" height="13"><span class="nav_links">Meet
Our Staff </span></td>
</tr>
<tr>
<td height="25"><img src="../images/button-arrow.gif"
width="13" height="13"><span class="nav_links">Partners</span></td>
</tr>
<tr>
<td height="25"><img src="../images/button-arrow.gif"
width="13" height="13"><span class="nav_links">Funding
and Financials </span></td>
</tr>
</table>
<!-- TemplateEndEditable -->
</td>
</tr>
<tr>
<td height="32" align="center" valign="top"
background="../IMAGES/left_nav_bottom.gif" class="text""> </td>
</tr>
</table>
<!-- #EndEditable -->
<table width="205" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="32" background="../IMAGES/left_nav_top.gif"
bgcolor="#FFFFFF" class="nav_links"><font color="#000000"
class="nav_links_title">What's your Footprint?</font></td>
</tr>
<tr>
<td background="../IMAGES/left_nav_middle.gif" class="text">
<p><a href="http://www.myfootprint.org" target="_blank"><img
src="../images/logo_eco_fp.gif" width="180" height="80" border="0"></a>
</td>
</tr>
<tr>
<td background="../IMAGES/left_nav_middle.gif" class="text"><a
href="http://www.officefootprint.org" target="_blank"><img
src="../images/logo_off_fp.gif" width="180" height="26" border="0"></a></td>
</tr>
<tr>
<td background="../IMAGES/left_nav_middle.gif" class="text"><a
href="http://www.kidsfootprint.org" target="_blank"><img
src="../images/logo_kid_fp.gif" width="180" height="28" border="0"></a></td>
</tr>
<tr>
<td background="../IMAGES/left_nav_middle.gif" class="text"><a
href="http://www.ecologicalfootprint.org" target="_blank"><img
src="../images/logo_nat_fp.gif" width="180" height="51" border="0"></a></td>
</tr>
<tr>
<td background="../IMAGES/left_nav_bottom.gif"
class="text"> </td>
</tr>
<tr>
<td height="32" background="../IMAGES/left_nav_top.gif"
bgcolor="#FFFFFF" class="nav_links"><font color="#000000"
class="nav_links_title">Learn about
EJCC </font></td>
</tr>
<tr>
<td background="../IMAGES/left_nav_middle.gif" class="text"><a
href="http://www.ejcc.org" target="_blank"><img src="../images/logo_ejcc.gif"
width="180" height="60" border="0"></a></td>
</tr>
<tr>
<td height="14" background="../IMAGES/left_nav_bottom.gif"
class="text"> </td>
</tr>
</table> </td>
<td width="803"> <!-- #BeginEditable "content" -->
<table width="763" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="31" background="../images/content_top.gif"> </td>
</tr>
<tr>
<td background="../images/content_middle.gif">
<!-- TemplateBeginEditable name="content" -->
<table width="760" height="491" border="0" cellpadding="0"
cellspacing="0">
<tr>
<td class="text"> </td>
</tr>
</table>
<!-- TemplateEndEditable -->
</td>
</tr>
<tr>
<td height="31" background="../images/content_bottom.gif"> </td>
</tr>
</table>
<!-- #EndEditable --></td>
</table>
<!-- #EndEditable --></td>
I think somebody worked on the page with dw3 or dw4.
If the code you showed was from the Template, it should work if you strip
out the #BeginEditable and #EndEditable and leave the TemplateBegin and
TemplateEnd.
Then scan the code to see if all template syntax is correct, and everything
you need to edit is in an Editable region. dw
menu-->modify-->Templates-->Check template syntax.
My guess is the dw4 person made one big editable area, and the MX or newer
person put in a group of distinct editable areas that are now nested inside
the old template syntax editable area.
Strong Suggestion- Make a backup copy of the site's Local Site Folder before
doing anything- template syntax problems can cause loss of content.
--
Alan
Adobe Community Expert, dreamweaver
http://www.adobe.com/communities/experts/
-----------------------------------------------Reply-----------------------------------------------
Thanks so much for the advice. I've done what you've suggested, and all the
syntax is correct. However, after making changes to any .htm page that is based
on the template, I save the file using file-save and get a message asking me to
save the .htm page as a template. When I simply close the page, I'm asked if I
want to update and it makes the changes. Am I doing something wrong with the
template, or is this a quirk?
-----------------------------------------------Reply-----------------------------------------------
> I save the file using file-save and get a message asking me to
> save the .htm page as a template.
please give a link to a total page, and the total template.
the message above means that you have TemplateBegin or TemplateEnd comments
in the child files (those are only seen IN the .dwt template file).
They should be InstanceBegin or InstanceEnd in the child file
--
Alan
Adobe Community Expert, dreamweaver
http://www.adobe.com/communities/experts/
-----------------------------------------------Reply-----------------------------------------------
Thank you for looking this over. I've just uploaded most of the site to
http://test.rprogress.org. Oddly, after loading the site, the sections that
reside in the template are not showing on the pages--you'll see that some drop
down menus appear when you move the mouse around the top of the page, for
example, but there are images there that should be showing. Same with the left
nav bar. Now I'm really stumped.