1
Hi Guys,
When I choose "tinyMce" as my editor in "submit post" page of article (1.0 phppp's version), I get a javascript error and tinyMce's toolbars dont show up.
The error is: "Expected identifier, string, number" and it is coming from here:-
<script language="javascript" type="text/javascript">
tinyMCE.init({
language : "en",theme : "advanced",mode : "exact",plugins : "table,advimage,advlink,emotions,insertdatetime,preview,media,contextmenu,paste,fullscreen,visualchars,nonbreaking",content_css : "editor_xoops.css",theme_advanced_buttons1 : "bold,italic,underline,strikethrough,sub,sup,separator,justifyleft,justifycenter,justifyright,justifyfull,formatselect,fontselect,fontsizeselect",theme_advanced_buttons2 : "bullist,numlist,separator,outdent,indent,separator,undo,redo,removeformat,separator,link,unlink,anchor,image,media,separator,charmap,nonbreaking,hr,emotions,separator,pastetext,pasteword,separator,forecolor,backcolor",theme_advanced_buttons3 : "tablecontrols,separator,cleanup,visualaid,visualchars,separator,insertdate,inserttime,separator,preview,fullscreen,help,code",theme_advanced_buttons1_add_before : "",theme_advanced_buttons1_add : "",theme_advanced_buttons2_add_before : "",theme_advanced_buttons2_add : "",theme_advanced_buttons3_add_before : "",theme_advanced_buttons3_add : "",theme_advanced_toolbar_location : "top",theme_advanced_toolbar_align : "left",theme_advanced_fonts : "Arial=arial,helvetica,sans-serif;Courier New=courier new,courier,monospace;Georgia=georgia,times new roman,times,serif;Tahoma=tahoma,arial,helvetica,sans-serif;Times New Roman=times new roman,times,serif;Verdana=verdana,arial,helvetica,sans-serif;Impact=impact;WingDings=wingdings",elements : "text",rootpath : "/class/xoopseditor/tinymce",area_width : "100%",area_height : "400px",
});
Any idea what could be the problem? I am using XOOPS 2.0.16 on PHP5