Cute Editor for ASP

Setting up the Flash gallery path

Setting up the Flash gallery path

To enable the flash management function of the Cute Editor control, you must set up a managed flash gallery folder.

This is simply a folder in which you will be placing flashes 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) The folder can be named something like /uploads/,  /flashes or /UserFlashes. 

Make sure that the Internet Guest Account has Read+Write permissions on this folder and its contents.

 


 

How to specify the Flash gallery path?

You can easily specify the flash 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_Files/Configuration/Security folder. In security policy file you can find the FlashGalleryPath element which contains the flash gallery path information within Cute Editor.  By default, it contains the following value:


<
security name="FlashGalleryPath">/uploads</security>
  

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

For example:

<security name="FlashGalleryPath">/MYuploads</security>

2. Programmatically specify the Flash gallery path


Example:

editor.FlashGalleryPath = "/Uploads"