Forum Support

Shape 5
January 17, 2022, 02:05:53 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
   Home   Help Search Login Register  
Pages: [1]
Author Topic: link of the article doesn't open in new page  (Read 637 times)
Jr. Member
Offline Offline

Posts: 2

« on: 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.
« Last Edit: July 24, 2017, 02:58:40 PM by catamofe » Logged
Offline Offline

Posts: 23789

« Reply #1 on: 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">

Jonah Hall
Shape 5 Team

- Need a great host for your website? We highly recommend!

- Put your trust in the hands of our extremely qualified staff to get your job done right!

- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.