Home N-13 News Forums Help Search
RegisterForgot password?
How to add image to post necklacesdiscou
Known bugs - 4.0.3 necklacesdiscou

Latest N-13 News 4.0.3

What is N-13 News?
Where can I get help?
Known bugs

Forums Help & Support TinyMCE
Roby
Posted on 18 Feb 2010, 17:26:19

Access: Member
Total Posts: 5
Joined: 2010-02-16

Hi,
I've installed the TinyMCE editor and it works fine.
But after some tries I saw that the choosen language went back to english, the default one.
Then I tried for a lot of time and understood that the presence of the javascript code broke in some way the variable carrying the language choosen.

I hope you could tell, just from viewing it, if it has something incompatible.

I enclose the guilty javascript:
Code:

    <script language="javascript" type="text/javascript">
tinyMCE.init({
language : "it"
,mode : "exact"
,elements : "story,shortstory"
,theme : "advanced"
,plugins : "table,contextmenu,ibrowser,iespell,zoom,media,compat2x"
,theme_advanced_buttons1 : "fontsizeselect,separator,bold,italic,underline,separator,justifyleft,justifycenter,justifyright,justifyfull,separator,bullist,numlist,outdent, indent,separator, forecolor,cut,copy,paste"
,theme_advanced_buttons2   : "tablecontrols,separator,undo,redo,separator,link,unlink,charmap,iespell,media,ibrowser,,code"
,theme_advanced_buttons3 : ""
,theme_advanced_toolbar_location : "top"
,extended_valid_elements : "hr[size|color],font[size|color],input[accept|accesskey|align<bottom?left?middle?right?top|alt|checked<checked|class|dir<ltr?rtl|disabled<disabled|id|ismap<ismap|lang|maxlength|name|onblur|onclick|ondblclick|onfocus|onkeydown|onkeypress|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|onselect|readonly<readonly|size|src|style|tabindex|title|type<button?checkbox?file?hidden?image?password?radio?reset?submit?text|usemap|value],"
,invalid_elements: "p,align,script,applet,iframe"
,auto_cleanup_word: true
,convert_fonts_to_spans : true
,trim_span_elements: true
,inline_styles: true
,debug: false
,force_br_newlines: true
,force_p_newlines: false
,entity_encoding: "raw"
,convert_fonts_to_styles: true
,remove_script_host : true
,relative_urls: false
,document_base_url: "http://localhost/news/"
,theme_advanced_styles: "border=border;fborder=fborder;tbox=tbox;caption=caption;fcaption=fcaption;forumheader=forumheader;forumheader3=forumheader3"
,verify_css_classes : false
,cleanup_callback : "tinymce_html_bbcode_control"
,external_link_list_url: "tiny_mce/filelist.php"
});
</script>
#1928
Last edited by Chris at 2010-02-19 18:20:50 Reason:
Roby
Posted on 19 Feb 2010, 10:25:15

Access: Member
Total Posts: 5
Joined: 2010-02-16

I've found the guilty code is:

,plugins : "table,contextmenu,ibrowser,iespell,zoom,media,compat2x"


Need to remove these two plugins (media,compat2x), probably they break the javascript.

So my configuration code is now:

,plugins : "table,contextmenu,ibrowser,iespell,zoom"
#1930
Network-13.com © 2013