- Posts: 8
- Thank you received: 0
I send and email after buyin you software..iam just asking for a quick tweak.. open link in a new pages..this very important "to me" as when you go back you loose your search result and you have to start again...
i hope my request is clear and can be done
Please Log in or Create an account to join the conversation.
Hi,
I am very sorry that we have not be responsive in the last few days.
In the components/com_grid/GridBuilder.php there is a function named createLink. You will find it around line 520.
You will see that there <a> tags are being created. You just add target="_blank" attribute to it. If you do not know which option you are using you can add a target attribute to all options.
For example:
change:
$output = '<a href="'.$link.'">'.$data.'</a>';
$output = '<a target="_blank" href="'.$link.'">'.$data.'</a>';
Please Log in or Create an account to join the conversation.
thank you very much......now you deserve 5 star in JED.
KEEP THE GOOD WORK
Please Log in or Create an account to join the conversation.
what would be the code to open the popup window to a new size and different characteristics?
example:
<a href="'.$link.'"onclick="window.open(this.href, '', 'resizable=yes,status=no,location=yes,toolbar=no,menubar=no,fullscreen=no,scrollbars=yes,dependent=no,width=500,left=257,height=700'); return false;">'.$data.'</a>';
Thank you
Please Log in or Create an account to join the conversation.
You can try something like:
$output = "<a href=\"".$link."\"onclick=\"window.open(this.href, '', 'resizable=yes,status=no,location=yes,toolbar=no,menubar=no,fullscreen=no,scrollbars=yes,dependent=no,width=500,left=257,height=700'); return false;\">".$data."</a>";
Please Log in or Create an account to join the conversation.
Yes, perfect, thank you tomaz
Please Log in or Create an account to join the conversation.