The default editor for phpwcms seems to be htmlarea, but i see it seems to be packaged with another called fckeditor. How do you switch between the two.
Barring that you can't how do I get to enable the fontsize, font style, format dropdowns in the HTML Area.
thanks.
FCKEditor
in your conf.inc.php
Code: Select all
$phpwcms["wysiwyg_editor"] = 2; //0 = no wysiwyg editor, 1 = HTMLarea, 2 = FCKeditor, 3 = browser based, 4 = spaw
goto ./inc/inc_ext/FCKeditior/
look at fckconfig.js there is code like this
and in fckeditor.php you will see this Code
this is for FCKEditor2 in phpwcms Version 1.2.1 if you use 1.1RC4 there are some differences 
look at fckconfig.js there is code like this
Code: Select all
FCKConfig.ToolbarSets["phpwcms"] = [
['Source','-','Save','NewPage','Preview'],
['Cut','Copy','Paste','PasteText','PasteWord'],
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
['About'],
['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
['OrderedList','UnorderedList','-','Outdent','Indent'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
['Link','Unlink'],
['TextColor','BGColor'],
['Image','Table','Rule','SpecialChar','Smiley'],['CssEditor'],
['FontFormat','FontName','FontSize']
] ;Code: Select all
function FCKeditor( $instanceName )
{
$this->InstanceName = $instanceName ;
$this->BasePath = '/FCKeditor2/' ;
$this->Width = '100%' ;
$this->Height = '200' ;
$this->ToolbarSet = 'phpwcms' ;
$this->Value = '' ;
$this->Config = array() ;
}