Hello,
I'd like to use FCKEditor with a spip managed web site.
I've downloaded the 2.0rc1 release, installed in a FCKEditor directory and, whatever the browser is, I can't make the html samples running (No toolbar and error with IE6).
Is there anything to configure ?
Thank you for your help
I'd like to use FCKEditor with a spip managed web site.
I've downloaded the 2.0rc1 release, installed in a FCKEditor directory and, whatever the browser is, I can't make the html samples running (No toolbar and error with IE6).
Is there anything to configure ?
Thank you for your help
RE: Problem with the samples (v 2.0)
hello,
the problem seems to be in the numeric format... 6.0 or 6,0 ... (french vs english ?)
I've done the modifications below and it worked !
added a function to the class (file : fckeditor.asp) :
private function toNumericFormat(pNum)
if isNumeric("5.5") then
toNumericFormat = replace(pNum, ",", ".")
else
toNumericFormat = replace(pNum, ".", ",")
end if
end function
used the function :
Private Function IsCompatible()
Dim sAgent
sAgent = Request.ServerVariables("HTTP_USER_AGENT")
Dim iVersion
If InStr(sAgent, "MSIE") > 0 AND InStr(sAgent, "mac") <= 0 AND InStr(sAgent, "Opera") <= 0 Then
iVersion = cLng(toNumericFormat(Mid(sAgent, InStr(sAgent, "MSIE") + 5, 3)))
IsCompatible = ( iVersion >= 5.5 )
ElseIf InStr(sAgent, "Gecko") > 0 Then
iVersion = cLng(toNumericFormat(Mid(sAgent, InStr(sAgent, "Gecko/") + 7, 8)))
IsCompatible = ( iVersion >= 20030210 )
Else
IsCompatible = False
End If
End Function