Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Template error message

Status
Not open for further replies.

RikForgo

Programmer
Jul 31, 2002
59
US
I'm running into a frustrating DWMX template error that I can't quite figure out. I have set up a template and I want to place a call to a ColdFusion <cfinclude> in the template's editable region.

When I go to rewrite the include (in this case simply changing &quot;<cfinclude template=&quot;in_s_detail_xx.cfm&quot;>&quot; to &quot;<cfinclude template=&quot;in_s_detail_01.cfm&quot;>&quot;, I get the following error message:

&quot;Making this change would require changing code that is locked by a template or translator. The change will be discarded.&quot;

The problem is, the code I'm trying to change is, by my eye anyway, clearly between the &quot;InstanceBeginEditable&quot; and &quot;InstanceEndEditable&quot; tags. I'm a little flustered. Any help is appreciated.

If needed, the page code is below:

<!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;
&quot;<html lang=&quot;en&quot;><!-- InstanceBegin template=&quot;/Templates/tid_solution_detail_crossref.dwt&quot; codeOutsideHTMLIsLocked=&quot;false&quot; -->
<head>
<!-- InstanceBeginEditable name=&quot;doctitle&quot; -->
<title>BETA -- ATTRO: Army Test & Training Requirements Online -- BETA</title>
<!-- InstanceEndEditable -->
<meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=iso-8859-1&quot;>
<link href=&quot;../externals/blue_mfv4.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot;>
<style type=&quot;text/css&quot;>
<!--
@import url(../externals/blue_mfv5.css);
-->
</style>
<script src=&quot;../externals/myscripts.js&quot; type=&quot;text/javascript&quot;></script>

<script language=&quot;JavaScript&quot; type=&quot;text/JavaScript&quot;>
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName==&quot;Netscape&quot;)&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
<!-- InstanceBeginEditable name=&quot;head&quot; --><!-- InstanceEndEditable -->
</head>
<body>
<table width=&quot;750&quot; border=&quot;0&quot; align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; summary=&quot;Layout Table&quot;>
<tr>
<td width=&quot;12&quot; height=&quot;65&quot;></td>
<td width=&quot;533&quot;><table width=&quot;100%&quot; height=&quot;7%&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;>
<tr>
<td><img src=&quot;../assets/blue/logo_attro.gif&quot; alt=&quot;ATTRO Logo&quot; width=&quot;159&quot; height=&quot;61&quot;></td>
<td><div align=&quot;right&quot;><img src=&quot;../assets/blue/logo_attro2.gif&quot; alt=&quot;Army Testing & Training Requirements Online&quot; width=&quot;178&quot; height=&quot;45&quot;></div></td>
</tr>
</table></td>
<td width=&quot;12&quot;></td>
<td width=&quot;193&quot;></td>
</tr>
<tr>
<td id=&quot;tlcorner&quot;><img src=&quot;../assets/blue/shim.gif&quot; alt=&quot;&quot; width=&quot;12&quot; height=&quot;12&quot;></td>
<td id=&quot;tedge&quot;><img src=&quot;../assets/blue/shim.gif&quot; alt=&quot;&quot; width=&quot;12&quot; height=&quot;12&quot;></td>
<td id=&quot;trcorner&quot;><img src=&quot;../assets/blue/shim.gif&quot; alt=&quot;&quot; width=&quot;12&quot; height=&quot;12&quot;></td>
<td><img src=&quot;../assets/blue/shim.gif&quot; alt=&quot;&quot; width=&quot;12&quot; height=&quot;12&quot;></td>
</tr>
<tr>
<td id=&quot;ledge&quot;><img src=&quot;../assets/blue/shim.gif&quot; alt=&quot;&quot; width=&quot;12&quot; height=&quot;12&quot;></td>
<td valign=&quot;top&quot; id=&quot;mn&quot;><h1>Test Investment Database</h1>

<!-- InstanceBeginEditable name=&quot;body_text&quot; -->
<p>
<cfinclude template=&quot;in_s_detail_xx.cfm&quot;>

<!-- InstanceEndEditable -->
</td>
<td id=&quot;redge&quot;><img src=&quot;../assets/blue/shim.gif&quot; alt=&quot;&quot; width=&quot;12&quot; height=&quot;12&quot;></td>

<!-- Start Main Menu = Sub1 -->

<td valign=&quot;top&quot; id=&quot;sidebar&quot;><p class=&quot;navbuts-dn&quot;><a href=&quot;#&quot; tabindex=&quot;1&quot;>ATTRO
Tools </a></p><div id=&quot;sub1&quot;>
<p class=&quot;navsubs&quot;><a href=&quot;../index.htm&quot; id=&quot;navmarked&quot; tabindex=&quot;2&quot;>ATTRO Home</a></p><p class=&quot;navsubs&quot;><a href=&quot;../crossref/search_crossref.cfm&quot; tabindex=&quot;3&quot;>Search</a></p>

<!-- CFIF statements to provide link back originating cross reference list. -->

<CFIF #URL.crossref# EQ &quot;tid_01&quot;>
<p class=&quot;navsubs&quot; id=&quot;nbutspacer&quot;><cfoutput><a href=&quot;../cross_ref/crossref_tid_2001.cfm&quot; tabindex=&quot;4&quot;>View TID<br> Cross Reference</a></cfoutput></p>

<CFELSEIF #URL.crossref# EQ &quot;wsh_01&quot;>
<p class=&quot;navsubs&quot; id=&quot;nbutspacer&quot;><cfoutput><a href=&quot;../cross_ref/crossref_wsh_2001.cfm&quot; tabindex=&quot;4&quot;>View WSH<br> Cross Reference</a></cfoutput></p>

<CFELSEIF #URL.crossref# EQ &quot;wsh_02&quot;>
<p class=&quot;navsubs&quot; id=&quot;nbutspacer&quot;><cfoutput><a href=&quot;../cross_ref/crossref_wsh_2002.cfm&quot; tabindex=&quot;4&quot;>View WSH<br> Cross Reference</a></cfoutput></p>

<CFELSEIF #URL.crossref# EQ &quot;astmp_01&quot;>
<p class=&quot;navsubs&quot; id=&quot;nbutspacer&quot;><cfoutput><a href=&quot;../cross_ref/crossref_astmp_2001.cfm&quot; tabindex=&quot;4&quot;>View STO<br> Cross Reference</a></cfoutput></p>
</CFIF>

<!-- End of CFIF cross reference -->



</div>

<!-- Start Solution Details Menu = Sub2 -->

<p class=&quot;navbuts&quot;><a href=&quot;#&quot; tabindex=&quot;5&quot; onClick=&quot;P7_swapClass(1,'sub2','showit','hideit','div')&quot;>Solution Details</a></p><div class=&quot;hideit&quot; id=&quot;sub2&quot;>
<p class=&quot;navsubs&quot;><cfoutput><a href=&quot;l_tid_sol_detail_01.cfm?tids_id=#tids_id#&tid_year=#tid_year#&quot; tabindex=&quot;6&quot;>Administrative Info </a></p>
</cfoutput>
<p class=&quot;navsubs&quot;><cfoutput><a href=&quot;l_tid_sol_detail_02.cfm?tids_id=#tids_id#&tid_year=#tid_year#&quot; tabindex=&quot;7&quot;>Additional
Needs</a></p>
</cfoutput>
<p class=&quot;navsubs&quot;><cfoutput><a href=&quot;l_tid_sol_detail_03.cfm?tids_id=#tids_id#&tid_year=#tid_year#&quot; tabindex=&quot;8&quot;>Project Description</a></p>
</cfoutput>
<p class=&quot;navsubs&quot;><cfoutput><a href=&quot;l_tid_sol_detail_04.cfm?tids_id=#tids_id#&tid_year=#tid_year#&quot; tabindex=&quot;9&quot;>Needed Capability</a></p>
</cfoutput>
<p class=&quot;navsubs&quot;><cfoutput><a href=&quot;l_tid_sol_detail_05.cfm?tids_id=#tids_id#&tid_year=#tid_year#&quot; tabindex=&quot;10&quot;>Impact If Not<br>  Implemented </a></p>
</cfoutput>
<p class=&quot;navsubs&quot;><cfoutput><a href=&quot;l_tid_sol_detail_06.cfm?tids_id=#tids_id#&tid_year=#tid_year#&quot; tabindex=&quot;11&quot;>Technologies Supported</a></p>
</cfoutput>
<p class=&quot;navsubs&quot;><cfoutput><a href=&quot;l_tid_sol_detail_07.cfm?tids_id=#tids_id#&tid_year=#tid_year#&quot; tabindex=&quot;12&quot;>Schedule</a></p>
</cfoutput>
<p class=&quot;navsubs&quot;><cfoutput><a href=&quot;l_tid_sol_detail_08.cfm?tids_id=#tids_id#&tid_year=#tid_year#&quot; tabindex=&quot;13&quot;>Funding</a></p>
</cfoutput>
<p class=&quot;navsubs&quot;><cfoutput><a href=&quot;l_tid_sol_detail_09.cfm?tids_id=#tids_id#&tid_year=#tid_year#&quot; tabindex=&quot;14&quot;>Probable Location</a></p>
</cfoutput>
<p class=&quot;navsubs&quot;><cfoutput><a href=&quot;l_tid_sol_detail_10.cfm?tids_id=#tids_id#&tid_year=#tid_year#&quot; tabindex=&quot;15&quot;>Primary Use</a></p>
</cfoutput>
<p class=&quot;navsubs&quot;><cfoutput><a href=&quot;l_tid_sol_detail_11.cfm?tids_id=#tids_id#&tid_year=#tid_year#&quot; tabindex=&quot;16&quot;>Commonality</a></p>
</cfoutput>
<p class=&quot;navsubs&quot;><cfoutput><a href=&quot;l_tid_sol_detail_12.cfm?tids_id=#tids_id#&tid_year=#tid_year#&quot; tabindex=&quot;17&quot;>Lifecycle Costs</a></p>
</cfoutput>
<p class=&quot;navsubs&quot;><cfoutput><a href=&quot;l_tid_sol_detail_13.cfm?tids_id=#tids_id#&tid_year=#tid_year#&quot; tabindex=&quot;18&quot;>Risks / Concerns</a></p>
</cfoutput>
<p class=&quot;navsubs&quot;><cfoutput><a href=&quot;l_tid_sol_detail_14.cfm?tids_id=#tids_id#&tid_year=#tid_year#&quot; tabindex=&quot;19&quot;>Limitations</a></p>
</cfoutput>
<p class=&quot;navsubs&quot;><cfoutput><a href=&quot;l_tid_sol_detail_15.cfm?tids_id=#tids_id#&tid_year=#tid_year#&quot; tabindex=&quot;20&quot;>Additional Information</a></p>
</cfoutput><br>

<!-- Start Relationships Menu = Sub3 -->

</div><p class=&quot;navbuts&quot;><a href=&quot;#&quot; tabindex=&quot;21&quot; onClick=&quot;P7_swapClass(1,'sub3','showit','hideit','div')&quot;>Relationships</a></p>
<div id=&quot;sub3&quot; class=&quot;hideit&quot;>

<p class=&quot;navsubs&quot;><cfoutput><a href=&quot;l_tid_sol_detail_r16.cfm?tids_id=#tids_id#&tid_year=#tid_year#&quot; tabindex=&quot;22&quot;>TID Needs</a></p>
</cfoutput>
<p class=&quot;navsubs&quot;><cfoutput><a href=&quot;l_tid_sol_detail_r17.cfm?tids_id=#tids_id#&tid_year=#tid_year#&quot; tabindex=&quot;23&quot;>Weapons Systems</a></p>
</cfoutput>
<p class=&quot;navsubs&quot;><cfoutput><a href=&quot;l_tid_sol_detail_r18.cfm?tids_id=#tids_id#&tid_year=#tid_year#&quot; tabindex=&quot;24&quot;>ASTMPs</a></p>
</cfoutput><br>
</div>

<!-- Start Components Menu = Sub4 -->

<p class=&quot;navbuts&quot;><a href=&quot;#&quot; tabindex=&quot;25&quot; onClick=&quot;P7_swapClass(1,'sub4','showit','hideit','div')&quot;>Components</a></p>
<div id=&quot;sub4&quot; class=&quot;hideit&quot;>
<p class=&quot;navsubs&quot;><a href=&quot;../wsh/wsh.cfm&quot; tabindex=&quot;26&quot;>Weapon Systems Handbook</a></p><br>
<p class=&quot;navsubs&quot;><a href=&quot;tid.cfm&quot; tabindex=&quot;27&quot;>Test Investment Database</a></p><br>
<p class=&quot;navsubs&quot;><a href=&quot;../astmp/astmp_2001.cfm&quot; tabindex=&quot;28&quot;>Army Science and Technology Master Plan</a></p><br>
<p class=&quot;navsubs&quot; id=&quot;nbutspacer3&quot;><a href=&quot;../cross_ref/crossref.cfm&quot; tabindex=&quot;29&quot;>Cross Reference Utility</a></p></div></td>
</tr>
<tr>
<td id=&quot;blcorner&quot;><img src=&quot;../assets/blue/shim.gif&quot; alt=&quot;&quot; width=&quot;12&quot; height=&quot;12&quot;></td>
<td id=&quot;bedge&quot;><img src=&quot;../assets/blue/shim.gif&quot; alt=&quot;&quot; width=&quot;12&quot; height=&quot;12&quot;></td>
<td id=&quot;brcorner&quot;><img src=&quot;../assets/blue/shim.gif&quot; alt=&quot;&quot; width=&quot;12&quot; height=&quot;12&quot;></td>
<td><img src=&quot;../assets/blue/shim.gif&quot; alt=&quot;&quot; width=&quot;12&quot; height=&quot;12&quot;></td>
</tr>
<tr>
<td></td>
<td id=&quot;footer&quot;> </td>
<td></td>
<td></td>
</tr>
</table>
</body>
<!-- InstanceEnd --></html>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top