Mam problem z edytorem tinymce a mianowicie chodzi o spolszczenie tego edytora. Ściągnąłem plik pl.xml z oficjalnej strony i dodałem go do wszystkich folderów "langs" po wpisaniu language : "pl" cały edytor znika zostaje tylko pole tekstowe z opcją rozciągania.
Kod js
tinyMCE.init({ mode : "textareas", theme : "advanced", editor_selector : "mceEditor", editor_deselector : "mceNoEditor", plugins : "pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,in
linepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,dir
ectionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,wo
rdcount,advlist,autosave", theme_advanced_buttons1_add_before : "", theme_advanced_buttons1_add : "fontselect,fontsizeselect", theme_advanced_buttons2_add : "separator,insertdate,inserttime,preview,separator,forecolor,backcolor", theme_advanced_buttons2_add_before: "cut,copy,paste,pastetext,pasteword,separator,search,replace,separator", theme_advanced_buttons3_add_before : "tablecontrols,separator", theme_advanced_buttons3_add : "iespell,media,advhr,separator,print,separator,ltr,rtl,separator,fullscreen", theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,spellchecker,c
ie,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,blockquote,pagebreak", theme_advanced_toolbar_location : "top", theme_advanced_toolbar_align : "left", theme_advanced_statusbar_location : "bottom", content_css : "style.css", plugin_insertdate_dateFormat : "%d-%m-%Y", plugin_insertdate_timeFormat : "%H:%M:%S", theme_advanced_resize_horizontal : false, theme_advanced_resizing : false, apply_source_formatting : true, fix_table_elements : true, fix_list_elements : true, fix_nesting : true, inline_styles : true, cleanup : true, cleanup_on_startup : true, verify_html : true, convert_fonts_to_spans : true, relative_urls : false, remove_script_host : false, language : "pl", spellchecker_languages : "+English=en,Polish=pl" });
Oczywiście edytor ma klasę "mceEditor". Już chwilę się nad tym głowię, nawet nic nie znalazłem na forum czy w google.
Pozdrawiam,
Piro
PS. link do przykładu: http://piro.vot.pl/tinymce/example.html
PS2. Zrobiłem konto do katalogu gdyby ktoś chciał zobaczyć strukturę:
login: any@piro.vot.pl
hasło: asdasd
logować się przez ftp://piro.vot.pl/