Author Topic: Remove iframe  (Read 208 times)

Offline mannyb

  • Sr. Member
  • ****
  • Posts: 7
  • Karma: +0/-0
Remove iframe
« on: March 11, 2019, 11:38:18 PM »
I was wondering how I can remove the iframe from my outgoing links? When clicking on an outgoing link a frame comes up at the top of the page and no page showing below. The only way to get the page to show is to click on the x. Then it goes to their website.
I would rather not have that iframe if possible.

I would like the links to open in a new window.
« Last Edit: March 11, 2019, 11:57:26 PM by mannyb »

Offline mannyb

  • Sr. Member
  • ****
  • Posts: 7
  • Karma: +0/-0
Re: Remove iframe
« Reply #1 on: March 12, 2019, 12:05:17 PM »
Any help would be appreciated.

When you click on the link to go to the links website. The iframe comes up but no website shows in the section below. Only time it shows up is if you click on exit of the iframe.

Would rather have the iframe removed and have it go directly to the links website.  It would also be nice to know why the iframe isn't working.

Thanks for any help.

Offline mannyb

  • Sr. Member
  • ****
  • Posts: 7
  • Karma: +0/-0
Re: Remove iframe
« Reply #2 on: March 12, 2019, 07:08:34 PM »
This is for anyone else that wants to know how this was worked out.

To not have a frame popup over your outgoing links.

Replace in listing,php

this code:

{if $rewritemod == 1}
<h1 class="leftPadding"><a
href="{$sitepath}/publisher/{$lists.softid}/1"
rel="nofollow">{$lists.maintext|stripslashes}</a></h1>
{/if}
{if $rewritemod == 2}
<h1 class="leftPadding"><a
href="{$sitepath}/publisher.php?id={$lists.softid}&amp;ref=1"
rel="nofollow">{$lists.maintext|stripslashes}</a></h1>
{/if}

with this code:


{if $rewritemod == 1}
<h1 class="leftPadding"><a href="{$lists.website}"
rel="nofollow" target="_blank">{$lists.maintext|stripslashes}</a></h1>
{/if}
{if $rewritemod == 2}
<h1 class="leftPadding"><a href="{$lists.website}"
rel="nofollow" target="_blank">{$lists.maintext|stripslashes}</a></h1>
{/if}

Seems to be working for me.

Mannyb