Dear Friends,
I am using FCKEditor in my website. It's working all over in website fine.
But there is one page in which it does not showing properly. I tried all things but in that page is does not showing properly.
I have one hidden div tag. When user clicks on "Edit Description" link from Edit button, hidden div tag is shown but FCKEditor is not getting shown there. Please give me some tips.
My code is to show the FCKEditor is
include_once '../FCKEditor/fckeditor.php';
function nukeMagicQuotes()
{
if (get_magic_quotes_gpc())
{
function stripslashes_deep($value)
{
$value = is_array($value) ? array_map('stripslashes_deep', $value) : stripslashes($value);
return $value;
}
$_POST = array_map('stripslashes_deep', $_POST);
$_GET = array_map('stripslashes_deep', $_GET);
$_COOKIE = array_map('stripslashes_deep', $_COOKIE);
}
}
nukeMagicQuotes();
if(isset($_REQUEST['cancel']))
{
$oFCKeditor->Value=null;
}
$oFCKeditor = new FCKeditor('txtdescribe');
//$oFCKeditor->BasePath = "FCKeditor/editor/";
$oFCKeditor->Value = "";
$oFCKeditor->Width = 295;
$oFCKeditor->Height = 130;
echo $oFCKeditor->CreateHtml();