Open Links with target="_Blank"

News Show Pro GK5 - flexible, responsive and easily extendable free Joomla module support forum.
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Sat Aug 16, 2014 9:08 pm
Hello Guys!

I Have a problem! :D
I need open my links (of the News Show Pro GK5) with the attribute [Target=_Blank]... I Used this module for open RSS news (in the option 'Data Source') and i would like open the links in new tabs navigator... I tryed apply this CSS atribute (target-new: tab) but i dont have success...

Tk's for contributions
User avatar
Fresh Boarder

GK User
Sun Aug 17, 2014 10:05 am
You would need to edit module source code. In which template do you use the module?
User avatar
Moderator

GK User
Sun Aug 17, 2014 10:40 pm
I Use in News 2!!
The data source (news ) is a valid RSS .xml source (External Link)
User avatar
Fresh Boarder

GK User
Mon Aug 18, 2014 6:37 pm
Last question - which module mode is set in configuration?
User avatar
Moderator

GK User
Mon Aug 18, 2014 6:56 pm
In Standard mode
;)
User avatar
Fresh Boarder

GK User
Wed Aug 20, 2014 5:10 pm
Please try editing:
modules/mod_news_pro_gk5/tmpl/rss/view.php
and modify line:
Code: Select all
return '<h4 class="nspHeader'.$class.'"><a href="'.$link.'" title="'.htmlspecialchars($item['title']).'">'.$output.'</a></h4>';   

to
Code: Select all
return '<h4 class="nspHeader'.$class.'"><a target="_blank" href="'.$link.'" title="'.htmlspecialchars($item['title']).'">'.$output.'</a></h4>';   
User avatar
Moderator

GK User
Fri Aug 22, 2014 6:50 pm
Perfect.... is working very well

Thank's
User avatar
Fresh Boarder

GK User
Mon Aug 25, 2014 5:51 pm
Is there anything else I can help you with regarding this topic?
User avatar
Moderator


cron