Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product

In this Discussion

Ready to contribute?

Amazing! Sign our contributors' agreement and then join us on GitHub.

Update for critical security issue in PHPMailer included in release Vanilla 2.3.1
Please upgrade to 2.3 here. The 2.2 and earlier branches are no longer being updated.

IE8 Embed widget links do not work.

edited December 2011 in Vanilla 2.0 - 2.2

Sidebar widget lists the discussion links but when I click on them iframe displays general discussions list.
Only IE has this problem and it generates an error.

        Line: 146
        Character: 10
        Code: 0
        Error Message: 'gadgets.window' is null or not an object

corresponding function in remote.js is this;

document.getElementById('vanilla'+id).style['height'] = height + "px";
      if (window.gadgets)

Anybody has a solution for this?

my forum link is


  • edited December 2011

    OK apparently I was looking at the solution in the wrong place. It has nothing to do with remote.js

    the problem was, the discussion links in the embedded iframe was something like
    and the same links in the embed widget was

    the addition of the wordpress page-slug in the sidebar link was causing trouble in IE8
    so I opened functions.php file under wordpress vanilla plugin directory and deleted

    `$post = get_post($post_id);` on line 295 that adds the page-slug to the url.

    Seems like everything is working fine in IE and other browsers so far.

Sign In or Register to comment.