home *** CD-ROM | disk | FTP | other *** search
Wrap
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>EKtron WYSIWYG Editor</title> <meta name="keywords" content="ecommerce, electronic commerce, web design, software engineering,Content management,content,WYSIWYG"> <meta name="Author" content="EKtron, Inc."> </head> <body bgcolor="white"> <table width="625" cellpadding="0" cellspacing="0" border="0"> <tr> <td width="113" height="35" valign="TOP" bgcolor="#639C63"><a href="http://www.ektron.com"><img src="EKlogo.gif" width=113 height=35 alt="" border=0></a></td> <td width="505" align="CENTER" valign="BOTTOM" bgcolor="#639C63"></td> </tr> <tr> <td align="CENTER" valign="TOP" bgcolor="#639C63"><img src="http://www.ektron.com/images/space.gif" width=1 height=300 alt="" border="0"></td> <td align="CENTER" valign="TOP" > <cfif IsDefined("Button")> <cfquery datasource="editor" name="u_editor"> update WYSIWYG set edit_title = '#form.edit_title#', edit_html = '#form.TextHTML1#' where edit_id = #form.edit_id# </cfquery> <cflocation url="index.cfm"> <cfelse> <cfquery datasource="editor" name="q_editor"> select edit_id, edit_title from WYSIWYG </cfquery> <table cellpadding="3" cellspacing="3" width="90%"> <tr> <td><font size="2" face="verdana, arial, helvetica"><b>Title</b></font></td> <td><font size="2" face="verdana, arial, helvetica"><b>Edit</b></font></td> <td><font size="2" face="verdana, arial, helvetica"><b>View</b></font></td> </tr> <cfoutput query="q_editor"> <tr> <td><font size="2" face="verdana, arial, helvetica">#edit_title#</font></td> <td width="10"><a href="edit.cfm?edit_id=#edit_id#"><font size="2" face="verdana, arial, helvetica">Edit</font></a></td> <td width="10"><a href="preview.cfm?edit_id=#edit_id#"><font size="2" face="verdana, arial, helvetica">View</font></a></td> </tr> </cfoutput> <tr> <td> <ol> <li><b>index.cfm</b> start page <li><b>edit.cfm</b> CF code reads a record from the database into a hidden field, vbscript moves the content of the hidden field into the editor <li><b>update.cfm</b> clicking the save button in edit.asp, causes vbscript to move the content out of the editor into a hidden field and post the contents of the hidden field to this page. update.asp ASP code writes the content to the database <li><b>preview.cfm</b> CF code reads a record from the database and displays the html data. <li><b>editor.mdb</b> Is editor.mdb an ODBC, register <b>editor</b> via the CF Administrator <li>Reveiw the Debug procedure in the ewebedit word document. </ol> </td> </tr> </table> </cfif> </td> </tr> <tr> <td bgcolor="#639C63" align="center" valign="middle"></td> <td height="25" align="center"><a href="javascript:history.back();"><font size="2" face="verdana, arial, helvetica">Back</font></a></td> </tr> </table> </body> </html>