insert template problem

  •  09-12-2006, 8:08 PM

    insert template problem

    Hi Adam,
     
    Thanks for all your help thus far. I have one more issue. I saved some templates that contain javascript commands like example below ( I am showing before and after) , the problem is that the editor adds links into this code wiith references to inserttemplate.aspx and changing the links to the popup windows. Can you tell me what I can do to remove this or is there a setting i need to change??
     
    before
     
    <table border="0" cellspacing="0" cellpadding="0">
            <TR>
              <td width=1 nowrap bgcolor=#009900 valign=bottom><img src="http://cutesoft.net/chcms/images/about/images/spacer-white.gif" width="1" height="23"></td>
              <TD width=133 NOWRAP><A href="default.aspx" onMouseOver="MM_showHideLayers('annuales','','hide','food','','hide','money','','hide','news2','','hide')"><IMG src="http://cutesoft.net/chcms/images/about/images/home-b.gif" ALT="City Harvest" WIDTH="121" HEIGHT="76" BORDER="0"></A>
                <BR>
                <IMG src="http://cutesoft.net/chcms/images/images/spacer.gif" ALT="" WIDTH="1" HEIGHT="100"><BR>
                <a href="#" onClick="MM_openBrWindow('/chcms/images/photos/1.html','','menubar=yes,scrollbars=no,resizable=no,width=480,height=515')" onMouseOver="MM_showHideLayers('annuales','','hide','food','','hide','money','','hide','news2','','hide','about','','hide','volunteer','','hide')">
                <IMG src="http://cutesoft.net/chcms/images/news/annual/images/spacer.gif" ALT="Welcome" WIDTH="118" HEIGHT="50" BORDER="0"></a>
                <BR>
                <BR>
                <a href="#" onClick="MM_openBrWindow('../photos/1.html','','menubar=yes,scrollbars=no,resizable=no,width=480,height=515')" onMouseOver="MM_showHideLayers('annuales','','hide','food','','hide','money','','hide','news2','','hide')">
                <IMG src="http://cutesoft.net/chcms/images/news/annual/images/photo-1.gif" ALT="Welcome" WIDTH="66" HEIGHT="68" BORDER="0"></a><BR>
                <a href="#" onClick="MM_openBrWindow('../photos/1.html','','menubar=yes,scrollbars=no,resizable=no,width=480,height=515')" onMouseOver="MM_showHideLayers('annuales','','hide','food','','hide','money','','hide','news2','','hide')"><IMG src="http://cutesoft.net/chcms/images/news/annual/images/welcome2.gif" ALT="Welcome" WIDTH="114" HEIGHT="23" BORDER="0"></a></TD>
            </TR>
            <TR>
              <TD HEIGHT=10 NOWRAP colspan=3>&nbsp;</TD>
            </TR>
            <TR>
              <td width=1 nowrap> <IMG src="http://cutesoft.net/chcms/images/images/spacer.gif" WIDTH="1" HEIGHT="1" ALT=""></td>
              <TD width=133 NOWRAP> <!--Prev--> &nbsp;&nbsp; </TD>
            </TR>
          </TABLE>
     
    after
     
    <div>
    <table cellSpacing=0 cellPadding=0 border=0>
        <tbody>
            <tr>
                <td vAlign=bottom noWrap width=1 bgColor=#009900><img height=23 src="http://cutesoft.net/chcms/images/about/images/spacer-white.gif" width=1></td>
                <td noWrap width=133><a onmouseover="MM_showHideLayers('annuales','','hide','food','','hide','money','','hide','news2','','hide')" href="http://cutesoft.net/CHCMS/admin/CuteSoft_Client/CuteEditor/Dialogs/default.aspx"><img height=76 alt="City Harvest" src="http://cutesoft.net/chcms/images/about/images/home-b.gif" width=121 border=0></a> <br><img height=100 alt="" src="http://cutesoft.net/chcms/images/images/spacer.gif" width=1><br><a onmouseover="MM_showHideLayers('annuales','','hide','food','','hide','money','','hide','news2','','hide','about','','hide','volunteer','','hide')" onclick="MM_openBrWindow('/chcms/images/photos/1.html','','menubar=yes,scrollbars=no,resizable=no,width=480,height=515')" href="http://cutesoft.net/CHCMS/admin/CuteSoft_Client/CuteEditor/Dialogs/InsertTemplate.Frame.Aspx?settinghash=4eb75b61&amp;UC=en-US&amp;BG=%23efefef#"><img height=50 alt=Welcome src="http://cutesoft.net/chcms/images/news/annual/images/spacer.gif" width=118 border=0></a> <br><br><a onmouseover="MM_showHideLayers('annuales','','hide','food','','hide','money','','hide','news2','','hide')" onclick="MM_openBrWindow('../photos/1.html','','menubar=yes,scrollbars=no,resizable=no,width=480,height=515')" href="http://cutesoft.net/CHCMS/admin/CuteSoft_Client/CuteEditor/Dialogs/InsertTemplate.Frame.Aspx?settinghash=4eb75b61&amp;UC=en-US&amp;BG=%23efefef#"><img height=68 alt=Welcome src="http://cutesoft.net/chcms/images/news/annual/images/photo-1.gif" width=66 border=0></a><br><a onmouseover="MM_showHideLayers('annuales','','hide','food','','hide','money','','hide','news2','','hide')" onclick="MM_openBrWindow('../photos/1.html','','menubar=yes,scrollbars=no,resizable=no,width=480,height=515')" href="http://cutesoft.net/CHCMS/admin/CuteSoft_Client/CuteEditor/Dialogs/InsertTemplate.Frame.Aspx?settinghash=4eb75b61&amp;UC=en-US&amp;BG=%23efefef#"><img height=23 alt=Welcome src="http://cutesoft.net/chcms/images/news/annual/images/welcome2.gif" width=114 border=0></a></td>
            </tr>
            <tr>
                <td noWrap colSpan=3 height=10>&nbsp;</td>
            </tr>
            <tr>
                <td noWrap width=1><img height=1 alt="" src="http://cutesoft.net/chcms/images/images/spacer.gif" width=1></td>
                <td noWrap width=133><!--prev-->&nbsp;&nbsp; </td>
            </tr>
        </tbody>
    </table>
    </div>
View Complete Thread