Re: Replacing editor in news publishing program

  •  10-02-2007, 2:01 PM

    Re: Replacing editor in news publishing program

    K, our server is running PHP V5.0.......here is the problem, we're using Vivvo (their editor sucks)....

    I saw the instructions, and understand that I need to delete all reference java scripts for their editor, but how do I replace it in the files with Cute Editor?


    I put the Cute Editor folder in the /public/_html/admin folder of the CMS I'm using (same directory as the TinyMCE folder)?

    after creating the PHP file:
    <?php
             $editor=new CuteEditor();
             $editor->ID="Editor1";
             $editor->Text="Type here";
             $editor->FilesPath="public_html/admin/CuteEditor_Files";
             $editor->Draw();
             $editor=null; 

             //use $_POST["Editor1"]to catch the data
    ?>


    I put that in the same directory (/public_html/admin/Editor1.php)


    This part stumped me........


    "Once you've created a CuteEditor class object, you call functions against that object.

    Note 1: You can retrieve the CuteEditor contents using the $_POST array. The name of the variable in the $_POST array will be CuteEditor ID. For example if your Cute Editor class ID is "Editor1", the variable would be $_POST["Editor1"].

    Note 1: If you want to deploy the CuteEditor Client file to a different location, you will have to make sure that you set your editor FilesPath property correctly. The control expects to find the all the files and images in the files directory specified by the control FilesPath property."

    Can you explain this in maybe a little simpler terms?

View Complete Thread