Hello
I installed FCKecitor, and tried to it in C#.
there is something called BasePath, which results a 404 not found in runtime. what will be the value of this property?
Thank you
Feras,
I installed FCKecitor, and tried to it in C#.
there is something called BasePath, which results a 404 not found in runtime. what will be the value of this property?
Thank you
Feras,
Re: BasePath Problem
Re: BasePath Problem
I cant find the fckconfig.js in the whole package. Am using the one for .NET project.
Any idea?
Thank you
Re: BasePath Problem
what about fckeditor.js ?
change the line as FCKeditor.BasePath = '/fckeditor/' ;;
Re: BasePath Problem
if you can't find fckconfig.js then something is seriously wrong.
for .NET you need to use the main FCKeditor download and the FCKeditor.Net assembly, both available from the download page. the .NET assembly makes FCKEditor available as a control with intellisense etc. But obviously you still need the main FCKeditor application as well.
still getting base path problem
Re: BasePath Problem
From the .Net zip, I copied the dlls into the bin folder of my web site.
From the other .zip I copied everything except the samples folder into my working directory.
I found that the .BasePath has to be "fckeditor/", not "/fckeditor/" because, when it assembles the virtual path you end up with two slashes // because of the leading slash.
.BasePath = "/fckeditor/" yields something like "mySite/myPath//fckeditor/editor/fckeditor.html"
.BasePath = "fckeditor/" yields something like "mySite/myPath/fckeditor/editor/fckeditor.html"
Hope this helps. Now if I could only figure out the virtual image path, and the image upload stuff.
Re: BasePath Problem
Try adding
<appSettings>
<add key="FCKeditor:BasePath" value="~/fckeditor/"/>
</appSettings>
This worked for me.
Regards
Sai
Re: BasePath Problem
The FCKeditor.Net: ASP.Net Control (FCKeditor.Net 2.6.3) only works with FCKeditor (FCKeditor 2.6.6 - "Our previous editor solution, stable and full featured") and NOT with CKEditor.
Al. Ceausu
Re: BasePath Problem
what i must put in:
FCKeditor.BasePath = '/fckeditor/' ;