Quote

We're also available for Custom Joomla Development

Hire us now

Latesnews + opening article in the same window what about new window?

Hi there
Thanks for your great modules.
I am using Latesnews + on joomla 2.5 right now.
Everything works fine but I want to open every article in a new (tab)window in browser.
It has open every article in the same window right now
Please help me about if you don't mind.
Thanks again,
Resolved
The discussion has been resolved.
       
  • Replied by admin on Monday, April 04 2016, 04:49 AM · Hide· #1
    Hi open this file with your favorite php editor :
    modulesm/mod_latestnewsplusdate/tmpl/default.php

    find this code at line 45 :
        <a class='lndtitle' href="/<?php echo $item->link; ?>"><?php echo $item->text; ?></a>


    change to
        <a class='lndtitle' target="_blank" href="/<?php echo $item->link; ?>"><?php echo $item->text; ?></a>



    and then find this code at line 153

    <a href="/<?php echo $item->link; ?>" class="latestnews">

    change to
    <a href="/<?php echo $item->link; ?>" target="_blank"  class="latestnews">
    Please post rating at the Joomla! Extensions Directory - http://extensions.joomla.org/profile/profile/details/264
  •  
  • Replied by joomi on Monday, April 04 2016, 04:54 AM · Hide· #2
    Well done.
    You know what?
    You are awesome
    Thanks for your help.
    You made made my day.
    Oceans of thanks.
  •  
  • Replied by admin on Monday, April 04 2016, 05:01 AM · Hide· #3
    No problem at all. Glad we could help :)
    If you don't mind please leave us a rate in the JED
    It will help us much ;)
    Please post rating at the Joomla! Extensions Directory - http://extensions.joomla.org/profile/profile/details/264
  •  
  •  
    Replied by joomi on Monday, April 04 2016, 05:16 AM · Hide· #4
    Sure.
    Thanks again.
Your Response
Please login first in order for you to submit comments