First, go to the official website:
1. Download FCKeditor 2.6 under the main program
2. Use the following example. Net example to add the example FCKeditor. net_2.5.
After the main program is captured, it will be released to the website.
Then, we can open the. Net protocol case next time and use the DLL program that has been compiled successfully.
Then, upload it to the bin information.
Then, use the selection tool in the toolbar to insert the control.
EnableFckconfig. jsPull down the case and find
- VaR _ filebrowserlanguage = 'asp '; // ASP | aspx | CFM | lasso | Perl | PHP | py
- VaR _ quickuploadlanguage = 'asp '; // ASP | aspx | CFM | lasso | Perl | PHP | py
VaR _ filebrowserlanguage = 'asp '; // ASP | aspx | CFM | lasso | Perl | PHP | py
VaR _ quickuploadlanguage = 'asp '; // ASP | aspx | CFM | lasso | Perl | PHP | py
Change it
- VaR _ filebrowserlanguage = 'aspx '; // ASP | aspx | CFM | lasso | Perl | PHP | py
- VaR _ quickuploadlanguage = 'aspx '; // ASP | aspx | CFM | lasso | Perl | PHP | py
VaR _ filebrowserlanguage = 'aspx '; // ASP | aspx | CFM | lasso | Perl | PHP | py
VaR _ quickuploadlanguage = 'aspx '; // ASP | aspx | CFM | lasso | Perl | PHP | py
▲Open a plane and Drag FCKeditor out.BasepathChange~ /FCKeditor/You can use it with just one click.
- <Fckeditorv2: FCKeditor ID="Fckeditor1" Runat="Server" Basepath="~ /FCKeditor /">
- </Fckeditorv2: FCKeditor>
Note: Use ~ /The reason for FCKeditor is that the demo puts it under the project owner. If you have any changes, modify them on your own.
★Attention: as long as you run out, you will find that all functions are normal, which is part of the [upper limit ].
The modification method is very simple. Find the following cases (Please modify the color part)
C: \ *** \ website1 \ FCKeditor \ editor \ filemanager \ connectors \ aspx \ config. ascx
FindUserfilesabsolutepath = "";Change it to the desired category.
(In this example, newfolder1 in the root website)
Userfilespath = "~ /Newfolder1
Then modify the value of false in the checkauthentication method in config. ascx to true.
Private bool checkauthentication ()
{
// Warning: do not simply return "true". By doing so, you are allowing
// "Anyone" to upload and list the files in your server. You must implement
// Some kind of session validation here. Even something very simple...
//
// Return (session ["isauthorized"]! = NULL & (bool) session ["isauthorized"] = true );
//
//... Where session ["isauthorized"] is set to "true" as soon as
// User logs in your system.
Return true;
}
If you need examples, please leave an email