Elxis CMS Forum

Extensions => Components => Topic started by: bledi on January 23, 2015, 14:55:29

Title: add: target="_blank" to link: Book Online, at IOSR 3.6
Post by: bledi on January 23, 2015, 14:55:29
Hello
I need to add: target="_blank" to the link: Book Online, at the: Hotel Search Results page. IOSR 3.6.
Can you help me , in which file do i have to do that?

(http://www.mtitravel.al/book_online.jpg)
Title: Re: add: target="_blank" to link: Book Online, at IOSR 3.6
Post by: datahell on January 25, 2015, 14:26:42
File: components/com_reservations/fviews/booking.html.php
Line: 119
Change this:
echo '<a href="'.$detailsLink.'" title="'.$resmaster->lng->BOOKONLINE.'" class="resmaplink">'.$resmaster->lng->BOOKONLINE."</a>\n";
To this:
echo '<a href="'.$detailsLink.'" title="'.$resmaster->lng->BOOKONLINE.'" class="resmaplink" target="_blank">'.$resmaster->lng->BOOKONLINE."</a>\n";

I advise you not to perform this change. Links within the same site should open in the same window.