need help settting up editor

Last post 09-01-2009, 12:23 AM by justincase. 10 replies.
Sort Posts: Previous Next
  •  08-18-2009, 2:22 AM 54751

    need help settting up editor

    I can't find nay setup information. I don't know php.
     
    I have loaded cutesoft under httpdocs directory   
    /httpdocs/cutesoft/CuteEditor_Files

     and made the following file
     
    <?php
             $editor=new CuteEditor();
             $editor->ID="feet4";
             $editor->Text="Type here";
             $editor->FilesPath="CuteEditor_Files";
             $editor->BaseHref="http://adghosting.com.au";
             $editor->Draw();
             $editor=null;
             //use $_POST["feet4"]to catch the data

    ?>
     
    but I don't know what the name of this file should be or where it should go and then how  to implemet this with the rest of the site
     
     
  •  08-20-2009, 9:37 AM 54851 in reply to 54751

    Re: need help settting up editor

    Please create a php file with the following code then try it on your server:
     
    1. <?php include_once("CuteEditor_Files/include_CuteEditor.php") ; ?>   
    2. <html>   
    3.     <head>   
    4.     </head>   
    5.     <body>   
    6.     <form name="theForm" action="Get_HtmlContent.php" method="post">   
    7.             <?php   
    8.                 $editor=new CuteEditor();   
    9.                 $editor->ID="Editor1";   
    10.                 $editor->Text="Hello World";        
    11.                 $editor->EditorBodyStyle="font:normal 12px arial;";   
    12.                 $editor->Draw();   
    13.                 $editor=null;   
    14.                    
    15.                 //use $_POST["Editor1"]to catch the data    
    16.             ?>   
    17.         </form>   
    18.     </body>   
    19. </html>  

    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

  •  08-25-2009, 12:13 PM 55028 in reply to 54751

    Re: need help settting up editor

    redgirl:
    I can't find nay setup information. I don't know php.
     
    .....
     
     
    but I don't know what the name of this file should be or where it should go and then how  to implemet this with the rest of the site
     
     
    Redgirl: 
    If you don't know PHP, I suggest that you get familiar with how PHP works first. Not knowing PHP makes setting up the use of this and allmost any other appliction in PHP.
    Please don't read my reply as anything else than a piece of advice. Learning PHP is not all that hard, but it takes a bit of reading and playing around. Please feel free to get help from anyone in the many different communities on the net :)
     
    Wish you the best of luck - and that you get to make your site work the way you want!
  •  08-31-2009, 12:55 AM 55184 in reply to 54751

    Re: need help settting up editor

    I'm really sorry to say this but really the deployment documentation doesn't say much.
     
    I'm trialing the software too and kinda stuck.
     
    For example,
    Ok as requested, we upload the files where you in a directory off the root directory in this case CuteEditor_files
    Then we create a file called john.php as with the details as Adam showed and place it in the root directory.
    We then open the file via http://mydomain.com/john.php with brings up the editor :)
     
    then when i do my changes and save it.. I get 

    Get the Html Result


    This example shows how to extract the html content created by the CuteEditor.
    Hello World
     
    -------------
     
    And thats It!!  I have no idea from here on where that edited file has gone or if it was possible to "save it as" something... 
     
    The reason we want to purchase this application is because it looks easy for anybody to use,
    and i'm sure it's easy once its working, just need a lil help setting it up.
     
    As a scenario , I have an existing site with just 1 page on it(index.php just text). and i want to be abe to edit that file anytime I want using Cute Editor. I copy the files as requested.. then add the bits of code as Adam mentioned.  I did that and i get the GETthe HTML Result page.. can anyone PLEASE help?  Are there security permissions i need to change. I run this on a Linux/apache server.
     
    /index.php
    /CuteEditor_Files
     
    Thanks in advance.
     
     
  •  08-31-2009, 1:07 AM 55185 in reply to 55184

    Re: need help settting up editor

    Please check this example:
     
     
    The source code of this example can be found in the download package.

    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

  •  08-31-2009, 1:34 AM 55188 in reply to 55185

    Re: need help settting up editor

    Thank you have done exactly that.
    This is from my index.php page.
     

     
    Then once i hit save i get the following
     
    And thats it.. nothing else  .. Did it create a file?   Even if i hit NEW, it brings a fresh page and all, then i can edit as normal, but once i hit save, i see the result as above and thats it.  Any clues?
     
     
  •  08-31-2009, 1:50 AM 55190 in reply to 55188

    Re: need help settting up editor

    Can you  check the source code of Edithtml.php?
     
    It will help you figure out the logic.

    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

  •  08-31-2009, 2:06 AM 55194 in reply to 55188

    Re: need help settting up editor

    yes, I am having the same problem
     
    also, how do I setup so my client can login and edit their site but nowt anyone esle.
     
    I have made the following:
     
                $editor->ID="Editor1";
     
    but if I go to the page via a web browser it allow me to edit the page, there is no security login and the editor is showing to the public
  •  08-31-2009, 2:09 AM 55195 in reply to 55194

    Re: need help settting up editor

    redgirl,
     
    Cute Editor is a textarea replacement. It enables PHP Web developers to replace the <Textarea> in your existing content management system with a powerful, but easy to use WYSIWYG Editor.
     
    But it doesn't contain a user management system.

    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

  •  08-31-2009, 7:01 PM 55216 in reply to 55195

    Re: need help settting up editor

    I am well aware that this is not a CMS.
     
    We purchased this software to enable our clients to edit their static websites in a basic manner. We purchase this software as it was touted easy to use. BUT there is no information on how this software is to be deployed correctly.
     
    1. using the test files and also the above advice has not provide us with the files are not updating
    2. the text editor is visible on the page - how is this hidden from public view
    3. you have stated above that it is to be used with an existing CMS - none of the information related to this office from Karen at cutesoft stated this even though we repeated asked for information pertaining to this issue. Yes, its a php editor, but we gave Karen a static website as an example and we were told this would work
    4. I am guessing we have just wasted the $300.00 on this software.
  •  09-01-2009, 12:23 AM 55223 in reply to 55216

    Re: need help settting up editor

    Guys,
     
    I am very sorry to have to say this but I totally understand what Redgirl is saying,
    I don't think it's as easy as it sells itself and I have to also say that the support needs to be friendlier to beginners like myself and redgirl.
    We dabble in php and other technologies but by no mean genuises hence why we wanted to invest in Easy to use software.
     
    We just want to grasp an example of how it would apply to a new site and an existing site.  Just pointing us to a page and referring us to read code does not in my eyes constitute the support i'd expect from an application provider specially given the fact that this is paid software, not freeware. 
     
    I don't think what we asked was too hard to explain to us in simple terms.
     
    To be specific, what we need to know is how to implement the application and edit existing files within a working site.
    From your deplyment guide, we've uploaded the folder.
    How then do I get into the application and get the application to open an existing file(say existing index.php or index.php), edit and save that file?  Do we have to put code in on each page of the site that allows it to be edited?
     
    We understand the mechanics overall how it works just need help to put it together.  I don't think we are being difficult or asking for too much, once we have it going we will probably not bother you again.  So PLEASE, PLEASE be gentle and help us out..
     
View as RSS news feed in XML