• Installed the plugin last week (so I’m using the latest version) through the Plugins page in one of my WP installs (directly from the Plugin Repository).

    As the topic title says: the invoegen button does not work. When I check with Firebug I see the following error:

    Uncaught ReferenceError: tinyMCEPopup is not defined (anonymous function)

    According to Firebug that comes from: bol-admin-product-link.js:273

    The contents of that line:

    tinyMCEPopup.execCommand("mceInsertContent", false, content);

    The line below it there’s another mention of tinyMCEPopup:

    tinyMCEPopup.close();}, 500);

    https://www.ads-software.com/plugins/bolcom-partnerprogramma-wordpress-plugin/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Hiranthi

    (@illutic)

    I looked a bit further and found this page: https://wordpress.stackexchange.com/questions/8517/show-dialog-box-in-tinymce-plugin-and-use-wordpress-php-functions-in-it

    After adding adding this to the popup-contents of the Bol.com plugin it did work:

    <script type="text/javascript" src="<?php echo get_option( 'siteurl' ) ?>/wp-includes/js/tinymce/tiny_mce_popup.js"></script>

    Plugin Author Bol.com

    (@netvlies)

    Hi Hiranthi,

    Thank you for reporting this error. Unfortunately I can’t reproduce this error.

    It would be great if you could give a more detailed report. I suppose you got this error when inserting a widget in the admin environment. But which widget were you trying to insert? Do you have any other plugins activated that could interfere with the Bol.com plugin? Normally the tinyMCE pop-up should be available by default in the admin environment.

    Thread Starter Hiranthi

    (@illutic)

    With any widget through the button on Edit Page / Edit Post page. The “popup” for inserting it works fine, just that button doesn’t.
    Adding the script-tag I mentioned above (which – from what I could find – should always be added to the popup-code) did make the invoegen button work. However, after saving the page/post and viewing it on the frontend the data from the products aren’t loading. Links are empty (or a # can’t remember exactly) no product-names, images aren’t there etc.

    I’ll see if I can set it up on a clone of this site (will have to set that up too), to test some more ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘"invoegen" does not work’ is closed to new replies.