Hi everybody,
I have a problem, I can't add new buttons in my FCKeditor
The tree is /Projects/MyProject/js/FCKeditor
/Projects/lib/librerias/admin/php/fckeditor.php
In the last fckeditor I have
The $Html = "<script type=\"text/javascript\" src=\"" . $this->BasePath . "fckeditor.js\"></script>\n"; this fckeditor.js, I'm tottaly sure that is /Projects/MyProject/module/js/FCKeditos/fckeditor.js
I just want to add a button and I tried to modify in the file /Projects/MyProjects/Module/js/FCKeditor/fckconfig.js the array FCKConfig.ToolbarSets but it seems that don't affect. If for exemple I remove all the FCKConfig.ToolbarSets arrays, the program still works but I want to know which is the mistake, maybe its mine, maybe not
Is very important this question for me!
Thanks a lot!!
I have a problem, I can't add new buttons in my FCKeditor
The tree is /Projects/MyProject/js/FCKeditor
/Projects/lib/librerias/admin/php/fckeditor.php
In the last fckeditor I have
$Html = "<script type=\"text/javascript\" src=\"" . $this->BasePath . "fckeditor.js\"></script>\n"; $Html.= "<textarea name=\"" . $this->InstanceName . "\" style=\"WIDTH: " . $this->Width . "; HEIGHT: " . $this->Height ."\">" . stripslashes($this->Value) . "</textarea>\n"; $Html.= "<script type=\"text/javascript\">\n"; $Html.= "var sBasePath = \"" . $this->BasePath . "\";\n"; $Html.= "var oFCKeditor = new FCKeditor( '" . $this->InstanceName . "','" . $this->Width . "','" . $this->Height . "','','','" . $this->MediaMgrPath . "','" . $this->Language . "' );\n"; $Html.= "oFCKeditor.BasePath = sBasePath;\n"; //$Html.= "oFCKeditor.ToolbarSet = 'Lavinia';\n"; $Html.= "oFCKeditor.ReplaceTextarea();\n"; $Html.= "</script>\n";
The $Html = "<script type=\"text/javascript\" src=\"" . $this->BasePath . "fckeditor.js\"></script>\n"; this fckeditor.js, I'm tottaly sure that is /Projects/MyProject/module/js/FCKeditos/fckeditor.js
I just want to add a button and I tried to modify in the file /Projects/MyProjects/Module/js/FCKeditor/fckconfig.js the array FCKConfig.ToolbarSets but it seems that don't affect. If for exemple I remove all the FCKConfig.ToolbarSets arrays, the program still works but I want to know which is the mistake, maybe its mine, maybe not
Is very important this question for me!
Thanks a lot!!