Saving Content with Safari

Last post 05-03-2006, 9:38 AM by nboswell. 4 replies.
Sort Posts: Previous Next
  •  03-30-2006, 9:47 PM 17768

    Saving Content with Safari

    The editor works great with IE, but unfortunately the one user I have to make happy uses Safari on the Mac.  I implemented CE with my own Update and Add buttons to update/add the content to a db.  The form fields outside the editor make it to the db but not the content for the editor.  Any ideas?
     
    Thanks for your help.
     
    Neal
     
    Here's the important parts of my code:
     
    <!-- #include file = "CuteEditor_Files/include_CuteEditor.asp" -->
    <%
    Dim Content, src
    Dim MessageField 
    If Request.Form.Count > 0 Then
     src = Request.Form("SUBMIT1")
     If src = "Update" Then
      Content.Find("ID=" & Request.Form("ID"))
      Content("PAGE_NAME") = Request.Form("PAGE_NAME")  
      Content("CONTENT") = Request.Form("Editor1")  
      UpdateTheRow Content("PAGE_NAME"), Content("CONTENT"), Content("ID")
     ElseIf src = "Add" Then
      Content("PAGE_NAME") = Request.Form("PAGE_NAME")  
      Content("CONTENT") = Request.Form("Editor1")  
      InsertTheRow Content("PAGE_NAME"), Content("CONTENT")
     End If
    End If
    %>
    <form name="TheForm" action="<%=request.servervariables("SCRIPT_NAME")%>" method="post" ID="Form1">
      <%
       Dim editor
       Set editor = New CuteEditor
       editor.ID = "Editor1"
       editor.Text = MessageField
       editor.FilesPath = "CuteEditor_Files"
       editor.EditorBodyStyle = "font:normal 12px arial;"
       editor.EditorWysiwygModeCss = "asp.css"
       editor.AutoConfigure = "simple"
       editor.Draw()
      %>
    <INPUT TYPE="submit" NAME="SUBMIT1" VALUE="Update" onfocus="save(Editor1)">
    <INPUT TYPE="submit" NAME="SUBMIT1" VALUE="Add" onfocus="save(Editor1)">
  •  04-03-2006, 5:35 PM 17829 in reply to 17768

    Re: Saving Content with Safari

    Neal,
     
    Which version of Cute Editor are you using?
     
    <INPUT TYPE="submit" NAME="SUBMIT1" VALUE="Update" onfocus="save(Editor1)">
     
    The save button has been removed since editor version 4.0.
     
    Please test the following link:
     
     
    The above example is using the version 5.1.
     
    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

  •  04-05-2006, 9:19 AM 17897 in reply to 17829

    Re: Saving Content with Safari

    Adam,
     
    I'm on v5.1.  I took out the onfocus="save(Editor1)"  with no ill effects in IE, but still no luck in Safari.  It worked on your demo site, so it must not be any settings on the Mac.  Any suggestions?
     
    Ideally the question would be why can't the good folks at Safari make their product compatible with all the existing web technology, but I won't hold my breath for that.
     
    Thank you for your help.
     
    Neal
  •  04-05-2006, 2:36 PM 17907 in reply to 17897

    Re: Saving Content with Safari

    Neal,
     
    Please download the version 5.1 again and overwrite all the existing files.
     
    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

  •  05-03-2006, 9:38 AM 18768 in reply to 17907

    Re: Saving Content with Safari

    Adam,
     
    I downloaded version 5.1 and things are working fine on the Mac.  Sorry it took so long to get back to you but I avoid the Mac.
     
    Thanks for your help.
     
    Neal
View as RSS news feed in XML