Having Problems? Need Help? Post here!
ivan.flores wrote: joeface wrote:
I've found a better solution for the issue.
Previews fix works perfect with wp-page editor, but it leads to crashing of wp-post editor js-scripts.
New fix simply changes the way of qTranslate initialization - it changes jQuery('#excerpt') to jQuery('#content') in file qtranslate_wphacks.php
Now qTranslate works for me with posts, pages and custom posts.
You can download it here: http://i.michaelageev.com/wp-content/up ... phacks.txt
Hope, my solution will be helpful for you.
I tried it, seems it work, just for the HTML view, but that is great, at least for now.
Thank you Michael. Good work!
Encountered this problem on a client site. Main plugins are qTranslate 2.5.28 and Advanced Custom Fields 3.1.6 running on WP 3.3.1. Michaels solution works perfectly, but there is one more thing to add. Just to keep things simple for the "not-so-advanced" user. Removing the tabs for "Visual Editor" and "HTML Editor". To remove the Visual Editor the normal way will of course render qTranslate crippled. Instead edit wp-admin.css and add
- Code: Select all
Simple solution to keep things on track.
- Posts: 2
- Joined: Tue Apr 03, 2012 9:02 am
Im also encountering the same issue. Im using Qtranslate 2.5.28 with Wordpress 3.3.1.
The even bigger problem is that the affected site is managed by non-coders, and i cannot give up on the visual editor, which means the plugin is rendered unusable, for the moment atleast.
In the Page editor it seems to work without problem, but give the following errors (in Chromes developer console);
Uncaught ReferenceError: qtrans_split is not defined
Uncaught TypeError: Cannot call method 'getStart' of null
In the Post editor its a mess. The text in the non-english version is deleted when switching between languges, and sometimes it gives a quirky grey shape appearing in the background of the editor.
Thanks for any progress on this topic.
- Posts: 1
- Joined: Tue Apr 03, 2012 4:49 pm
Return to qTranslate Support Forum
Who is online
Users browsing this forum: #gasge[HFCFFCEHRCRE], aknagtiom, alersbraisy, AlyssaFL, amandabif, AUndiche, aviaavia, axexztstrp, Bing [Bot], Brorcaucrasia, claismmat, EXPASPAMBIBRA, fenalyxyl, Fosseneew, Google [Bot], gyncFiecemnl, ikjdslaxx, impopyleddy, jackchs7z, jmqaewpymg, louboutin, Lyncdiscarric, ngullere, nsdrufsftf, ojectrex, Rarasignruila, Shimispeerm, zernitrerry, zlopnyaua and 22 guests