Edit link for 'Insert Template' in the toolbar?

Last post 10-28-2008, 12:50 AM by Kenneth. 1 replies.
Sort Posts: Previous Next
  •  10-27-2008, 11:26 AM 45112

    Edit link for 'Insert Template' in the toolbar?

    I have all me editor files in a subfolder of my admin site (folder is called 'editor').  All is working great, but I've run into one issue.  When I click the 'Insert Templates' link in the toolbar, it tries to load that page (templates.aspx) from the root of my admin site rather than in its actual location (root/editor/templates.aspx).  What's the best way edit the links like that in the toolbar?
     
    thanks!
  •  10-28-2008, 12:50 AM 45127 in reply to 45112

    Re: Edit link for 'Insert Template' in the toolbar?

    Hi Daniel83,
     
     

    Setting up the Template Gallery Path

    To enable the Template Management function of the CuteEditor control, you must set up a managed Template Gallery folder.

    This is simply a folder in which you will be placing template files for your users to use in their content. Create a folder in your application’s root folder. (For most applications, this is your web server’s root folder, or the folder where your Visual Studio .NET project file is located.) The folder can be named something like /templates/,  /template or /UserTemplate. 

    Make sure that the MACHINE/ASPNET user has Read+Write permissions on this folder and its contents.

     

    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>
     
     
     
    Regards,
     
    Ken
View as RSS news feed in XML