English > General Questions

Can't save any translations

<< < (6/7) > >>

kuba22s:
Version    

    Library Version: 0.9.9.11
    Joomla Version 2.5.14 is ok.

Plugin    

    JDiction Plugin is enabled
    Languagefilter is enabled
    Multiple Plugins have the same loading position (0)

Database    

    jDiction Database Driver is selected

Language    

    Translations are not equal to frontend translations.

Module    

    Module is enabled

Harald Leithner:
Please send me an pm with a super admin account

Booksie:
Hi,

I am having the same issue and checked that I followed the instuctions carefully.

Everything is working perfectly (Title, Category etc) but the text content is not saving.

Can anyone help me out in this?

Thanks

youchenlee:

--- Quote from: Booksie on January 02, 2014, 11:47:40 pm ---Hi,

I am having the same issue and checked that I followed the instuctions carefully.

Everything is working perfectly (Title, Category etc) but the text content is not saving.

Can anyone help me out in this?

Thanks

--- End quote ---

My site has exactly the same problem with yours.
After tracing on it, I found it's caused by the error "tinyMCE.onAddEditor is undefined". As I'm using tinyMCE 4 (Joomla! 3.2), the event registration functions seems changed.
Here is a tiny patch fixed my site, but I'm not sure it's all correct, please kindly review it.

patch: http://pastebin.com/vK7aBhFj (please ignore the incorrect indentation)

--- Code: ---diff --git a/administrator/components/com_jdiction/views/translation/tmpl/form.php b/administrator/components/com_jdiction/views/translation/tmpl/form.php
index 49fe3ca..78dd4ec 100644
--- a/administrator/components/com_jdiction/views/translation/tmpl/form.php
+++ b/administrator/components/com_jdiction/views/translation/tmpl/form.php
@@ -45,8 +45,9 @@ JHtml::_('behavior.formvalidation');
                });
                //If we have a tinyMCE Editor
                if (typeof tinyMCE != 'undefined') {
-           tinyMCE.onAddEditor.add(function(mgr,ed) {
-                               ed.onChange.add(function(ed, e) {
+                       tinyMCE.on('AddEditor', function(e) {
+                               ed = e.editor;
+                               ed.on('Change', function(e) {
                                        jdiction_checkStatus(ed.getContent(), jQuery('#'+ed.id+'_status').prop('title'), ed.id, '#'+ed.id+'_tbl');
                                });
                        });

--- End code ---

Harald Leithner:
You are not using the latest version... I only have a alpha for 3.2 atm.

http://forum.jdiction.org/index.php/topic,473.msg1477.html#msg1477

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version