Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #246258

    Hello people from Kriesi,

    I’m using the Angular theme.
    How can I open the URL of an advertisement in the Widget: Angular Advertising Area in new tab (new page)?

    Thanks for helping me!

    Angele

    #246326

    Hi Angèle!

    Open framework/php/class-framework-widgets.php and look for these lines (763, 764):

    	echo '<a href="'.$ref_url.'" class="preloading_background  avia_partner1 link_list_item'.$kriesiaddwidget.' '.$firsttitle.'" >'.$image_url.'</a>';
    	if($this->add_cont == 2) echo '<a href="'.$ref_url2.'" class="preloading_background avia_partner2 link_list_item'.$kriesiaddwidget.' '.$firsttitle.'" >'.$image_url2.'</a>';

    Replace them by:

    	echo '<a href="'.$ref_url.'" class="preloading_background  avia_partner1 link_list_item'.$kriesiaddwidget.' '.$firsttitle.'" target="_blank">'.$image_url.'</a>';
    			if($this->add_cont == 2) echo '<a href="'.$ref_url2.'" class="preloading_background avia_partner2 link_list_item'.$kriesiaddwidget.' '.$firsttitle.'" target="_blank">'.$image_url2.'</a>';

    Cheers!
    Josue

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.