Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author john ackers

    (@john-ackers)

    Not sure what you are doing above but I’m guessing that when you are opening ‘the link in the same window’ you are just replacing one dbview with another dbview (or the same dbview with different arguments) on the same page (as described in the FAQ under “How do I load a second table from a link in the first table?”).

    I am not sure whether you want to load the same dbview alone in a new window or you want to load the same wordpress page again in a new window but with a different dbview. Both are tricky because to open a new window you need to use a normal wordpress page URL. If you can open the window you want by typing in a URL, you can link to it! Hope this helps.

    Plugin Author john ackers

    (@john-ackers)

    Using the SQL:
    select concat('https://www.google.co.uk/images/srpr/logo11w.png',',','https://www.google.com') as link

    and the attribute target=’_blank’ in the PHP snippet below opens the page link https://www.google.com in a new window.

    $a = explode(",",$value);
    return "<a target='_blank' href='".$a[1]."'><img src='".$a[0]."' /></a>";

    Perhaps this is what you want to do?

    Thread Starter coleburg

    (@coleburg)

    Looks like it, I will give it a try, thank you

    Thread Starter coleburg

    (@coleburg)

    This worked perfectly, thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Open Links in New window’ is closed to new replies.