Hello! I’m just installed 4.0.0-pl at modx 2.0.0-rc3.
1. This is small bug:
Lets’go to "System->System Settings->tiny.custom_buttons1" and change this. It is not work. Old panel is shown. Also big with "tiny.custom_buttons{n}" and "tiny.custom_plugins"
My temporary decide is: at file "\core\components\tinymce\tinymce.class.php" at line 126 i change
if($theme == 'editor' || ($theme == 'custom' && (empty($this->config['plugins']) || empty($this->config['buttons1'])))) {
into
if(false && ($theme == 'editor' || ($theme == 'custom' && (empty($this->config['plugins']) || empty($this->config['buttons1']))))) {
...so i don’t know the right way to overcome this bug.
2. Proposition of iprovement:
add into "\assets\components\tinymce\jscripts\tiny_mce\themes\advanced\langs\" (and "simple") russian and other languages.
As usual it can be download from
http://tinymce.moxiecode.com/download_i18n.php
3. May be, it’s a good idea:
at file "\assets\components\tinymce\jscripts\tiny_mce\plugins\modxlink\link.htm" change lines 50,51
<label><input type="radio" name="search-mode" value="pagetitle" checked="checked" onclick="changeSearchParams(this);" /> Pagetitle</label>
<label><input type="radio" name="search-mode" value="alias" onclick="changeSearchParams(this);" /> Alias</label>
into
<label><input type="radio" name="search-mode" value="pagetitle" checked="checked" onclick="changeSearchParams(this);" />{#modxlink_dlg.pagetitle}</label>
<label><input type="radio" name="search-mode" value="alias" onclick="changeSearchParams(this);" />{#modxlink_dlg.alias}</label>
after that add this strings into "\assets\components\tinymce\jscripts\tiny_mce\plugins\modxlink\langs\en_dlg.js":
pagetitle:"Pagetitle",
alias:"Alias", // do not forget about comma!:)
And, please, add a russia language (see link below)
4. Please, add translations into "\assets\components\tinymce\jscripts\tiny_mce\plugins\PLUGIN_NAME\langs\" (see link below)
5. It’s a some discomfort, when i want with plugin "modxlink" insert a link at the some document (not image) on the my web server. It is not a button Browse. So i recommend at file "\assets\components\tinymce\jscripts\tiny_mce\plugins\modxlink\js\modxlink.js" into line 44 add this line:
document.getElementById('hrefbrowsercontainer').innerHTML = getBrowserHTML('hrefbrowser','href','file','modxlink');
6.I found a UI bug when TinyMCE is TV-parameter of Weblink. Please, see these images:
...finally. Here i prepeare an arhive, which contain all files to close 2,3,4,5 points. So it’s just need works under points 1 and 6.
thank you!