Support » Plugin: WP-Table Reloaded » Link to page with iFrame error

  • Resolved AhmedBhula



    Firstly, great plugin!

    I have noticed an issue:

    We’re moving our order forms into site site using an iFrame so a user doesn’t go to a separate URL. The link for this works anywhere on the site except when within the wp-table-reloaded plugin.

    I have setup a test page here with the link outside and inside the table and it doesn’t work when inside the table.

    Tami Flu

    The test link works fine however the first link within the table uses the same code but unfortunately does not work.

    Would you have a solution for this?

    Please let me know if you would like any further info.


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



    thanks for your post, and sorry for the trouble.

    This seems to be caused by some custom JavaScript code that you have on your site. Near the bottom of the page, I found this, which manipulates all links a table:

    jQuery(' table.wp-table-reloaded').on('click', 'a', function(e) {
    			var $this = jQuery(this);
    			console.log('2 session[ref]: ' + jQuery.session.get('ref'));
    			console.log('2 session[site]: ' + jQuery.session.get('site'));
    			console.log('old a href: ' + $this.prop('href'));
    			$this.prop('href', $this.prop('href') + '&ref=' + jQuery.session.get('ref') + '&site=' + jQuery.session.get('site'));
    			console.log('new a href: ' + $this.prop('href'));
    		// End Added by ByColor - 2012.10.11 - Add affiliate params


    Thanks so much! The javaScript wasn’t being used for anything so removed it and that did the trick.

    Thanks again 🙂

    Plugin Author TobiasBg



    awesome! Good to hear that this fixed it! 🙂

    By the way: WP-Table Reloaded has been replaced by TablePress, you might want to check it out:

    Best wishes,

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Link to page with iFrame error’ is closed to new replies.