hi there
i am using php to create the fck , i would also like to configure it too but i cant seem to get it to work, i have put in bold the bit that doesnt work.
include("fckeditor/fckeditor.php");
$oFCKeditor = new FCKeditor('FCKeditor1');
$oFCKConfig['Enabled'] = true ;
$oFCKConfig['UserFilesPath'] = '/media/' ;
$oFCKConfig['EditorAreaCSS'] = '../../newadmin/css/style.css' ; //'/css/style.css';
$oFCKConfig['SpellChecker'] = 'SpellerPages';
$oFCKeditor->BasePath = '/fckeditor/';
$oFCKeditor->Width = $width ;
$oFCKeditor->Height = $height;
$oFCKeditor->FormatSource = true ;
$oFCKeditor->ToolbarSet = 'MyToolbar';// $toolbar ;
//$oFCKeditor->BasePath = '/edit/';
$oFCKeditor->Value = "$value";
$oFCKeditor->Create() ;
$output = $oFCKeditor->CreateHtml() ;
i am using php to create the fck , i would also like to configure it too but i cant seem to get it to work, i have put in bold the bit that doesnt work.
include("fckeditor/fckeditor.php");
$oFCKeditor = new FCKeditor('FCKeditor1');
$oFCKConfig['Enabled'] = true ;
$oFCKConfig['UserFilesPath'] = '/media/' ;
$oFCKConfig['EditorAreaCSS'] = '../../newadmin/css/style.css' ; //'/css/style.css';
$oFCKConfig['SpellChecker'] = 'SpellerPages';
$oFCKeditor->BasePath = '/fckeditor/';
$oFCKeditor->Width = $width ;
$oFCKeditor->Height = $height;
$oFCKeditor->FormatSource = true ;
$oFCKeditor->ToolbarSet = 'MyToolbar';// $toolbar ;
//$oFCKeditor->BasePath = '/edit/';
$oFCKeditor->Value = "$value";
$oFCKeditor->Create() ;
$output = $oFCKeditor->CreateHtml() ;
Re: How to config the editor is php
Just like this: