Information on product and license

Last post 07-25-2008, 2:33 PM by Adam. 1 replies.
Sort Posts: Previous Next
  •  07-25-2008, 4:38 AM 42539

    Information on product and license

    Hello,
    I'm currently used in my my FCKEditor but I want to switch to a professional editor like Cute Editor for PHP.
    To be sure Cute Editor is well designed for me, I have few questions :
    1/ Is it included resize/crop/rotate image features in PHP version ?
    2/ Is it possible to edit safely Javascript code including in my html pages ?
    3/ I would like to protect some piece of code come from Smarty template engine. Is it possible to protect code like this :
       example 1 (in html) : <body>{if $a==1}Good morning{else}Good afternoon{/if}</body>
       example 2 (in tag) : <body><img src="test.jpg" {if $a==1}alt="test"{/if}>my link</a>
       example 3 (in attribute) : <body><img src="test.jpg" alt="{if $a==1}test{/if}">my link</a>
    4/ When I press ALT Gr + 4, the editor switchs to fullscreen editing, how to write bracket character on my AZERTY keyboard ?
    5/ In case of domain license, is it possible to use as subdomain, example http://lib.mycompany.com ?
    6/ Is it possible to edit image, CSS and JS files outside the domain where is hosted the editor, example website : http://www.mysite.com, editor hosted in http://lib/mycompany.com ?
    7/ Is it possible to have custom path for upload ?
    8/ Is it possible to edit only HTML fragment and not entire page ? 
    9/ If I subscribe to a domain license, does it include upgrade to new version ?
    10/ I haven't found a trial version to download of PHP, is it possible to have one ?

    Thanks for your answers
    Regards
    Frederic
  •  07-25-2008, 2:33 PM 42549 in reply to 42539

    Re: Information on product and license

    Frederic,
     
    Thanks for the interest.
     
    1/ Is it included resize/crop/rotate image features in PHP version ?

    A: This feature is only available in the .NET version right now. We will include this feature in PHP version soon.

    2/ Is it possible to edit safely Javascript code including in my html pages ?

    A: Yes. You need to set Editor.EnableStripScriptTags Property to false.

    Editor.EnableStripScriptTags Property

    Specifies whether to remove inject script before write the string into the db.

     


    Example Code

    <?php
             $editor=new CuteEditor();
             $editor->ID="Editor1";
             $editor->Text="Type here";
             $editor->FilesPath="CuteEditor_Files";
             $editor->EnableStripScriptTags=false;
             $editor->Draw();
             $editor=null; 

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

    3/ I would like to protect some piece of code come from Smarty template engine. Is it possible to protect code like this :
       example 1 (in html) : <body>{if $a==1}Good morning{else}Good afternoon{/if}</body>
       example 2 (in tag) : <body><img src="test.jpg" {if $a==1}alt="test"{/if}>my link</a>
       example 3 (in attribute) : <body><img src="test.jpg" alt="{if $a==1}test{/if}">my link</a>
     
    Please try the online demo: http://phphtmledit.com/EnableAll.php

    I cann't answer this question directly.

    4/ When I press ALT Gr + 4, the editor switchs to fullscreen editing, how to write bracket character on my AZERTY keyboard ?
     
    You can write bracket character using insert character dialog.

    5/ In case of domain license, is it possible to use as subdomain, example http://lib.mycompany.com ?

    No. Subdomain is not included.

    6/ Is it possible to edit image, CSS and JS files outside the domain where is hosted the editor, example website : http://www.mysite.com, editor hosted in http://lib/mycompany.com ?

    Yes.  You need to use Editor.BaseHref Property.

    Editor.BaseHref Property

    Sets or retrieves the baseline URL on which relative links will be based.

     


    Example Code

    <?php
             $editor=new CuteEditor();
             $editor->ID="Editor1";
             $editor->Text="Type here";
             $editor->FilesPath="CuteEditor_Files";
             $editor->BaseHref="http://yoursite.com";
             $editor->Draw();
             $editor=null; 

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

    7/ Is it possible to have custom path for upload ?
    Yes.

    Setting up the Image gallery path

    Setting up the Flash gallery path

    Setting up the Document gallery path

    Setting up the Template gallery path

    Setting up the Media gallery path

    8/ Is it possible to edit only HTML fragment and not entire page ? 

    Yes. By default, Cute Editor edits only HTML fragment. If you want to edit full page, you need to set the following property to true.


    Editor.EditCompleteDocument Property

    Specify whether a complete HTML document is being edited.

     


    Example Code

    <?php
             $editor=new CuteEditor();
             $editor->ID="Editor1";
             $editor->Text="Type here";
             $editor->FilesPath="CuteEditor_Files";
             $editor->EditCompleteDocument=true;
             $editor->Draw();
             $editor=null; 

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

     

    Remarks

    If false, the editor will only process content inside the page body i.e. all content inside of the <body>...</body> tags of a page. If true, the editor will process content outside the page body and preserve header tags (e.g. <head>...</head>, <title>...</title>, etc.).


    9/ If I subscribe to a domain license, does it include upgrade to new version ?

    You can upgrade to other license type if you own a domain license. You only need to pay the price difference.

    10/ I haven't found a trial version to download of PHP, is it possible to have one ?
    The trial version is only available to Cute Editor for .NET. We don't have the trial version of PHP.
     

    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