insert template problem

Last post 09-20-2006, 11:46 AM by Adam. 3 replies.
Sort Posts: Previous Next
  •  09-12-2006, 8:08 PM 22643

    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>
  •  09-13-2006, 10:27 AM 22664 in reply to 22643

    Re: insert template problem

    darling1906,
     
    Please download
     
     
     
    And after extract the zip file and overwrite the existing file with this one.
     
    Keep me posted.
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  09-20-2006, 12:36 AM 22837 in reply to 22664

    Re: insert template problem

    This did not resolve the issue. When a template is inserted it replaces the links with the link to the dialog box. This happens with document relative links.
     
    <div>
    <table cellSpacing=0 cellPadding=0 border=0>
        <tbody>
            <tr>
                <td vAlign=bottom noWrap width=1 bgColor=#009900><img height=23 src="http://localhost/chcms/images/about/images/spacer-white.gif" width=1></td>
                <td noWrap width=133><a href="http://localhost/CHCMS/admin/CuteSoft_Client/CuteEditor/Dialogs/InsertTemplate.Frame.Aspx?settinghash=4eb75b61&amp;UC=en-US&amp;BG=%23efefef#"><img height=91 src="http://localhost/chcms/images/news/annual/images/10.gif" width=114 border=0></a></td>
                <td></td>
            </tr>
            <tr height=10>
                <td noWrap colSpan=3 height=10>&nbsp;</td>
            </tr>
            <tr>
                <td noWrap width=1><img height=1 src="http://localhost/chcms/images/about/images/spacer.gif" width=1></td>
                <td noWrap width=133></td>
                <td></td>
            </tr>
        </tbody>
    </table>
    </div>
     
     
    Please update me
  •  09-20-2006, 11:46 AM 22854 in reply to 22837

    Re: insert template problem

    darling1906,
     
    It's strange. Maybe you are using some old files.
     
    Can you download the latest build from

    http://cutesoft.net/download/CuteEditor_for_NET5.zip
     
    ?
     
    Please make sure you clear the browser cache when testing again.
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML