Comments (19)
Just did a testing using mqTranslate and everything seems to work as expected. Can you elaborate as to the issue you're experiencing?
from acf-qtranslate.
It breaks the main editor (with mqTranslate) so it doesn't save the content in it att all, it wipes whatever was in it. When I turn of acf-qtranslate the main editor works with mqTranslate as supposed.
from acf-qtranslate.
Investigated it a bit further:It is possible to save content in the HTML tab if ity is already active when page loads. As soon as I switch editor tab it breaks.
from acf-qtranslate.
Any progress with WP 3.9/mQtranslate compability? Would like to help if I could but I don't think my skills are enough...
from acf-qtranslate.
If I change featured image while main editor is in WYSIWYG-mode it clears alla content on update, but if I keep it in text(HTML)-mode it works. If I turn of acf-qtranslate it seems to work.
from acf-qtranslate.
acf qtranslate works quite well with mqtranslate. Only 1 problem (mentioned above) only occurs with ACF Wysiwyg field that will override the content in the main editor.
perhaps (if can help) we need to change in your plugin acf_qtranslate_monkey_patch() function: in mqtranslate_javascript.php file the $ q_config ['js'] ['qtrans_hook_on_tinyMCE']
has been changed.
Also referred to this function with mqtranslate are generated notice that do not occur with qtranslate:
Notice: Undefined index: js in /htdocs/wp/wp-content/plugins/acf-qtranslate/acf-qtranslate.php on line 54
Notice: Undefined index: js in /htdocs/wp/wp-content/plugins/acf-qtranslate/acf-qtranslate.php on line 55
Notice: Undefined index: qtrans_hook_on_tinyMCE in /htdocs/wp/wp-content/plugins/acf-qtranslate/acf-qtranslate.php on line 60
Notice: Undefined index: qtrans_hook_on_tinyMCE in /htdocs/wp/wp-content/plugins/acf-qtranslate/acf-qtranslate.php on line 61
from acf-qtranslate.
@funkjedi @fburatti The monkey_patch_hook
doesn't seems do be needed anymore with mqTranslate
Just comment line 49 in acf-qtranslate.php
and the errors won't show ;)
from acf-qtranslate.
Hello,
I came up with same issue on wysiwyg due to recent migration from qtranslate to mqtranslate.
It does not keep the main wysiwyg content while saving. (was working perfectly with qtranslate).
Is there finally a way to keep both wysiwg contents (the standard one and the acf one) or shall i definitely not use acf wysiwyg field with mqtranslate ?
thanks
from acf-qtranslate.
I am experiencing this issue as well. It seems to be JS related.
If I switch between language tabs on the WYSIWYG editor for the post body, the last custom file WYSIWYG editor content overrides the post body.
This did not happen with qTranslate, only after switching to mqTranslate.
from acf-qtranslate.
Nevermind. I found the problem in mqtranslate_javascript.php.
The qtrans_save tries to save the content of the last blurred editor to content, regardless of what the editor actually was. I'll raise this issue with them. Thanks for the awesome plugin!
from acf-qtranslate.
@loganyott Have you heard back from them in regards to this issue? Or have you worked out an interim work-around?
We just discovered this (or a similar) issue on user ACF-mqTranslate on the user profile page. When you switch language tabs, the "update user" button no longer works.
from acf-qtranslate.
I'm not sure if that's quite a similar issue. Mine had to do with mqTranslate JS not being specific when trying to save WYSIWYG editor content. Turns out, I just needed to update mqTranslate as it was fixed in 2.6.6.
I'd recommend checking out a newer version of mqTranslate locally and see if that resolves your issue. Otherwise, they do seem quite responsive to bugs.
from acf-qtranslate.
Hello. I'm have problem with plugin :( I am haven't switch language tabs .
mqTranslate 2.8 ACF 4.3.9 WordPress 3.9.2
Notice: Undefined index: js in /wp-content/plugins/acf-qtranslate/acf-qtranslate.php on line 40
Notice: Undefined index: js in /wp-content/plugins/acf-qtranslate/acf-qtranslate.php on line 41
Notice: Undefined index: qtrans_hook_on_tinyMCE in /wp-content/plugins/acf-qtranslate/acf-qtranslate.php on line 46
Notice: Undefined index: qtrans_hook_on_tinyMCE in wp-content/plugins/acf-qtranslate/acf-qtranslate.php on line 47
Please tell me how to fix this bug.
Thanks.
from acf-qtranslate.
Hi @SvyrydovAndrey,
Are you saying that you are having an issue with the language tabs not switching in addition to the notices appearing? The notices you posted are harmless and shouldn't be causing problems. If you want to hide them, you can add define('WP_DEBUG_DISPLAY', false);
to your wp-config.php.
from acf-qtranslate.
Hi thanks for the answer to the problem was my code.
Thanks for the plugin :)
from acf-qtranslate.
Hey @loganyott, I seem to be having the same problem you described only it seems to happen to my standard content field. It's fine with my custom fields. Any idea why this is?
from acf-qtranslate.
( I should probably mention that this issue goes away when I disable ACF)
from acf-qtranslate.
Hi @jamimeson
What version of mqTranslate are you running? My issue was that some js in mqtranslate_javascript.php was using a jQuery selector that selected the last WYSIWYG editor on the page when it populated the language tabs on the main content field. I think the particular problem was this function.
So although it seemed like this plugin was causing the problem, it was really the selector used by mqTranslate. I originally started to write a patch and then found out they fixed it in v2.6.6.
Let me know if you're having a different problem that I totally didn't understand. :)
from acf-qtranslate.
Hey @loganyott
Oddly enough, I figured out the problem just now. It was due to my own error, I must have had other things on my mind on Friday. I had created two ACF Field Groups, both applying fields to my custom post type, but had only told one to hide the content field. Thanks for the help though!
from acf-qtranslate.
Related Issues (20)
- ACF Custom menu link not working for two language.
- ACFPRO 5.7.0 Compatibility Issues HOT 2
- ACF 5.7.x compatibility ? HOT 7
- ACF 5.7.X compability HOT 2
- File field in v1.7.24 only shows images HOT 7
- Please add "(qtranslate)" info to field label HOT 3
- Hiding alternative content not working with ACF custom fields HOT 1
- jQuery 1.12.4 default WP vs 3.x
- Image field switches from "Image URL" to "Image array" after v4 to v5 upgrade
- How to search acf qtranslate fields? HOT 2
- acf-text-field maxlength check failing
- WP v5.1.1 tinymce error
- Media Library dont show thumbnails HOT 4
- Media Library Not Loading in Grid View HOT 7
- ACF WYSIWG editor removes paragraphs HOT 9
- The plugin does not work with Wordpress 5.3 HOT 7
- WP Media Library broken ACF Version 5.8.7 HOT 3
- jQuery conflict when using qTranslate Wysiwyg field
- Swith language without reload page
- acf-qtraslate for wordpress 5.8.1 versions.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from acf-qtranslate.