: link of the article doesn't open in new page
: catamofe July 24, 2017, 02:39:42 PM
I have problems with the s5_news_display_2 module. I put it on the home page and other pages in the side colum. The problem is that I have created the article and when I click on the title it doesn't open. I want it to open in a new page.
On the other pages I put it on the side bar and it open on the same page, at the bottom. I want it to open on a new page.
Could you help me with this please.
The web site isn't yet online.
: Re: link of the article doesn't open in new page
: jonahh July 25, 2017, 11:09:38 AM
Ok there is no way to do this without custom coding the module. You would need to open up the /tmpl/_item.php file and look for the following around line 106:
<a href="<?php echo $item->link;?>">
and change it to:
<a href="<?php echo $item->link;?>" target="_blank">