Support » Plugins » [Plugin: wp-ad-amanager] wysiwyg broken in wp3.1

  • first thanks for this useful plugin! I just noticed that for some the wysiwyg editor doesn’t show up in WordPress 3.1. When I tried IE to see if it is probably a browser issue I noticed that the backend in IE is broken (in wp 3.1 only). html editor in firefox works fine though.
    Any idea what the reason could be or how to fix the issue?
    Thanks in advance!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Just noticed that I misspelled wp-ad-manager in the title. Just thought I would correct this with this post for the search …

    cinematic just wanted to let you know that I’ve read this post and that i will answer (and fix if anything is broken) some time later. Ultra busy at the moment. Maybe by that time someone else will help you to solve problem.

    Also, what version of IE?

    Hi valentinas,
    many thanks for your quick reply. It is IE8 that breaks the layout. But the wysiwyg editor won’t load in any browser (not even firefox). It simply doesn’t load in WP 3.1. Thanks for looking into this!

    I have the same problem, that the white text editor box just disappear..

    I have tracked the problem to be an inline “display:none” that is put on to the “textarea” class…
    More precise:
    <textarea id="content" class="" tabindex="2" name="content" cols="40" rows="15" style="display: none;">
    When I remove that “display_none” with Firebug, everything is fine.. But I can’t seem to find where the inline display none is located.

    I narrowed it down to be this code from “ad-minister-create.php” file:

    <div id="postdiv" class="postarea">
    				<?php the_editor(stripslashes($value['code'])); ?>

    But where is the “the_editor” code coming from – core files of WordPress?

    Ok.. I dug a little bit deeper, and discovered, that it was the “qtranslate” plugin that through javascript added the “display:none”.

    It has a script that writes stuff like this:

    <script type="text/javascript">
    // <![CDATA[
    		if(typeof tinyMCE!='undefined') tinyMCE.execCommand('mceRemoveControl', false, 'content');
    		function qtrans_editorInit2() {
    document.getElementById('qtrans_select_da').className='edButton active';
    var text = document.getElementById('content').value;

    I found this line in “qtranslate_javascript.php” file:


    and changed it to


    This is of course not a solid solution, because next time you update qtranslate plugin, you will have to do it again..
    But hopefully Ad Manager Plugin developers can find a fix somehow for the next update.. ?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: wp-ad-amanager] wysiwyg broken in wp3.1’ is closed to new replies.