How do i make sponsored adverts to appear on a new tap when clicked

George Otieno Posted in Technical Support 9 years ago

Hello ossn members,

how do i make sponsored adverts to re direct on a new tap when clicked by ossn users not to load on the same window

Replies
ke George Otieno Replied 9 years ago

Alex,

which script to edit and what code to add

German Alexander Ebner Replied 9 years ago
German Alexander Ebner Replied 9 years ago

Go into your component Directory and open the file AdClickable\plugins\default\ads\page\vioewsmall.php.
There you search and edit
<div class="ossn-ad-tiem-small">
<a href="<?php echo $ads->site
url; ?>">
to
<div class="ossn-ad-tiem-small">
<a target="new" href="<?php echo $ads->siteurl; ?>">
the same you can do with the view.php at he same Directory.

If youu dont have adcklickable than you have to do the same Edits by the component OssnAds.