Hi' This is a Dreamweaver template .DWT but for some reason I can't edit the line 36 (<td colspan="2" class="footer"> Personal </td>) it appear on gray.

Any suggestion?

<!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=iso-8859-1" />
<!-- TemplateBeginEditable name="doctitle" -->
<title>Untitled Document</title>
<!-- TemplateEndEditable -->
<link href="../css_style.css" rel="stylesheet" type="text/css" />
<link href="print.css" type="text/css" rel="stylesheet" media="print">
<link rel="Shortcut Icon" href="favicon.ico"/> <!-- Added by me -->
</head>

<body>
<table width="1038" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
<td colspan="2"><!-- InstanceBeginEditable name="Banner" --><img src="../source_files/header.png" alt="header" width="1038" height="140" /><!-- InstanceEndEditable --></td>
  </tr>
  <tr>
    <td colspan="2" bgcolor="#333333" class="menu_nav"><a href="../index.html">. Home</a><a href="../pam.html">. PAM</a><a href="../fdbt.html">. FDBT</a><a href="../itim.html">. ITIM</a><a href="../portal.html">. Portal</a><a href="../top.html">. TOP</a><a href="../tror.html">. TROR</a> <a href="http://127.0.0.1/limesurvey/index.php?sid=85543&lang=en">. Feedback</a> <a href="../search.php" target="_self">. Search</a></td>
  </tr>
  <tr>
    <td width="178" valign="top" class="left_column"><!-- TemplateBeginEditable name="left_column" -->
      <ul>
        <li><a href="#">Subnav Item 1</a></li>
        <li><a href="#">Subnav Item 2 </a></li>
        <li><a href="#">Subnav Item 3</a></li>
      </ul>
    <!-- TemplateEndEditable --></td>
    <td width="860" valign="top" class="right_column"><!-- TemplateBeginEditable name="right_column" -->
      <h1>Main content </h1>
      <p>Lorem ipsum dolor sit amet, consectetuer  adipiscing elit. Cras a quam eu sapien elementum eleifend. Suspendisse ultrices  sapien ac diam. Fusce arcu tellus, degestas eu, porta vitae, tristique nec, dui.  Phasellus vel velit. Cras neque. Vestibulum ante ipsum primis in faucibus orci  luctus et ultrices posuere cubilia Curae; Aenean molestie, lacus ac mattis  adipiscing, magna risus imperdiet magna, eget ullamcorper arcu nulla tincidunt  do lor. Vestibulum scelerisque eleifend nisi. Donec quam turpis, molesti e id, consequat  vel, cursus nec, massa. Integer  nisi neque, facilisis non, tempor at, convallis vel, enim. Ut ac magna. Quisque  ligula mi, luctus at, accumsan ut, nonummy a liquet, nisi.</p>
      <p> Proin arcu. Donec non enim. Aliquam risus nisl,  nonummy varius, tincidunt quis, dictum et, nisl. Praesent sapien urna, viverra  nec, feugiat et, interdum ut, turpis. Sed nec purus. Phasellus a tortor. Nullam  pharetra. Nulla facilisi. Ut sodales justo in eros. Praesent volutpat posuere  metus. Ut viverra, dolor quis blandit laoreet, odio diam blandit tortor, vitae  ullamcorper felis orci at augue. In hac habitasse platea dictumst. Fusce at  odio. Pellentesque habitant morbi tristique senectus et netus et malesuada  fames ac turpis egestas. </p>
    <!-- TemplateEndEditable --></td>
  </tr>
  <tr>
    <td colspan="2" class="footer"> Personal </td>
  </tr>
</table>
</body>
</html>

Dani AI

Generated

Grey shading means the region is locked by Dreamweaver’s template system rather than a plain HTML/CSS restriction. That’s why editing looked blocked even though the markup was visible. As pointed out, this is normal for template-based documents; changes belong either in the template itself or inside template-marked editable regions. See Adobe’s notes on editing template-based content for the official behavior. . ()

Two safe ways to proceed are: make the footer editable for individual pages, or edit the template to change the footer everywhere. To allow per-page edits, add an editable region around the footer cell (use Insert > Template > Editable Region from Dreamweaver and give it a unique name). Note that when working with tables Dreamweaver can mark a single <td> or the whole table, but it cannot group multiple separate cells into one editable region. To change the footer globally, open the actual .dwt template, edit the footer, save, and let Dreamweaver update pages (or run Tools → Templates → Update Pages). . ()

If a template file still won’t accept edits, confirm the file being edited is the real .dwt template (open it from the Templates or Files panel), check file-system permissions or source-control locks, and avoid hand-removing template comment markers in code. Use Dreamweaver’s template commands to remove or move editable regions so instance content is preserved—the app offers options when regions are removed. ’s manual removal worked as a quick fix, but using the template UI is safer for long-term maintenance. . ()

Recommended Answers

All 2 Replies

Not sure but you may have a corrupt file. The area you are trying to edit is outside of the editable range. Line 33 closed the edit region. But if this is the template file you are editing, then you should be able to make changes. Suggest opening and editing file in notepad and then see what Dreamweaver says!

Not sure but you may have a corrupt file. The area you are trying to edit is outside of the editable range. Line 33 closed the edit region. But if this is the template file you are editing, then you should be able to make changes. Suggest opening and editing file in notepad and then see what Dreamweaver says!

Yes the issue is that I'm trying to make changes in the template itself but Dreamweaver don't allow me. I follow your suggestion and modified line 16 eliminating this:
<!-- InstanceBeginEditable name="Banner" -->
<!-- InstanceEndEditable -->

I work like a charm! Thanks.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.