Support » Plugin: Multiple content blocks » qTranslate

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Trendwerk



    I don’t think we can do anything about that, it’s something that the qTranslate plugin should add to their code. We’re using the default wp_editor function which they can plug in to, but it seems their plugin uses alot of workarounds.

    This is probably because the plugin was created a while ago. So maybe you can try asking them 😉




    @harold, Thanks for your reply!

    I see you point. I know enough.

    Thanks for your help.


    Hi guys,
    for a client I’m working with qtranslate and MCB – a reaaaally good plugin – and I had the same problem. I used the past cause with some workarounds I make it work.
    So, here it is what I’ve done.

    Download/install the qTranslate extension (

    Now with have to “hack” the MCB plugin. Go to “class.MCB.php” file (inside the assets directory of MCB plugin) and edit it.

    on line 72 you’ll find this code

    first to edit this line we have to made some settings for wp_editor, I’ve write this:

    $settingseditor = array(
    			'tinymce' => FALSE,
    			'editor_class' => 'multilanguage-input',
    			'quicktags'     => TRUE,
    			'textarea_rows' => 15,
    			'media_buttons' => FALSE,
    			'teeny' => true,

    and you could insert it on line 51, after
    global $post;
    (where MCB defines some variables)

    this is a really short version of the array settings of wp_editor, but this is all I need.
    the tinymce is disabled (see the note), editor_class is where we are getting the qTranslate functions (tnx to qtranslate extension), I removed the media buttons (but you could set it to TRUE).
    Note: something conflicts with qtranslate, MCB, qtranslate extension and Tinymce, so I’ve disabled Tinymce and I’m using teeny (the simple and non visual editor of wp).

    Now we can edit the line 72, like this:
    wp_editor(get_post_meta($post->ID,'_mcb-'.$id,true),$id, $settingseditor, null, 'UTF-8', false);.

    Now I have multiple blocks on my backend, with qTranslate flags and a small (non visual) editor. But, hey, it works!

    thanks to Trendwerk and the other guys

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘qTranslate’ is closed to new replies.