Three Questions

Last post 11-07-2005, 2:56 PM by Adam. 1 replies.
Sort Posts: Previous Next
  •  11-06-2005, 9:56 PM 12302

    Three Questions

    I just loaded the latest version of CE.  I have a couple of questions:
     
    1)  I would like to make all of the popup windows resizable.  How do I make this change?
     
    2)  I get a script error when clicking on the Universal Keyboard button.  Any clues?
     
    3)  Do I need to set the Template folder path - right now, I get an error when clicking on that button. 
     
    Thanks for your help.
     
    Todd Hollar
  •  11-07-2005, 2:56 PM 12332 in reply to 12302

    Re: Three Questions

    >>1)  I would like to make all of the popup windows resizable.  How do I make this change?
     
    Please open the CuteEditorconstants.js file and  modify the following code: 

    // Default window ornaments for the image dialog
    var _imageDialogFeature = "status:0;dialogWidth:640px;dialogHeight:585px; scroll: 0; resizable: 0; help:0";

    to:

    var _imageDialogFeature = "status:0;dialogWidth:640px;dialogHeight:585px; scroll: 0; resizable: 1; help:0";

     
    2)  I get a script error when clicking on the Universal Keyboard button.  Any clues?

    No clue. Can you tell me how to reproduce this issue?

    3)  Do I need to set the Template folder path - right now, I get an error when clicking on that button. 

    How to specify the Template gallery path?

    You can easily specify the Template gallery path using the following methods:

    1: Edit security policy file.


    The security policy file (default.config, admin.config and guest.config) can be found in the /CuteEditor/Configuration/Security folder. In security policy file you can find the TemplateGalleryPath element which contains the Template gallery path information within Cute Editor.  By default, it contains the following value:


    <
    security name="TemplateGalleryPath">~/templates</security>
      

    You can modify the TemplateGalleryPath element to meet your own requirements.

    For example:

    Use absolute path:

    <security name="TemplateGalleryPath">/templates</security>

     

    Use physical path:

    <security name="TemplateGalleryPath">c:\inetpub\wwwroot\templates</security>

     

    2: Programmatically specify the Template gallery path


    C# Example:

    //use the app-based path 

    Editor1.Setting["security:TemplateGalleryPath"]= "~/templates";
    //use the absolute path 
    Editor1.Setting["security:TemplateGalleryPath"]= "/templates";
    //use the physical path 
    Editor1.Setting["security:TemplateGalleryPath"]= @"c:\inetpub\wwwroot\templates";


    VB Example:

    //use the app-based path 

    Editor1.Setting("security:TemplateGalleryPath")= "~/templates"
    //use the absolute path 
    Editor1.Setting("security:TemplateGalleryPath")= "/templates"
    //use the physical path 
    Editor1.Setting("security:TemplateGalleryPath")= "c:\inetpub\wwwroot\templates" 








     

    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