![]() |
Printable Version Open in new window
Can anyone tell me how I can make the Printable Version Open in a new window?
Thanks |
Need to add
target=_blank to the link |
Printable Version
That would be fine if it was just HTML but it's not! Does anyone else know what code, file and where it needs to be changed.
Thanks |
Open up printable.tpl and add the code I mentioned. It IS HTML, it just has some smarty mixed in.
|
Printable Version
If you would be so kind to show me where exactly it would go, if it were just plain HTML I would have no problem.
{* $Id: printable.tpl,v 1.3 2004/06/24 09:53:29 max Exp $ *} <TABLE cellspacing="0" cellpadding="0" border="0" valign="middle"> <TR> <TD align="right" valign="middle">{$lng.lbl_printable_version}</TD> <TD width="16" valign="middle">[img]{$ImagesDir}/printer.gif[/img]</TD> </TR> </TABLE> Thanks |
Make a bacup first and then try replacing this:
Code:
<A href="{$php_url.url}?printable=Y{if $php_url.query_string ne ''}&{$php_url.query_string}{/if}" style="TEXT-DECORATION: underline;"> with this: Code:
<A href="{$php_url.url}?printable=Y{if $php_url.query_string ne ''}&{$php_url.query_string}{/if}" style="TEXT-DECORATION: underline;" target="_blank"> And then replace this: Code:
<A href="{$php_url.url}?printable=Y{if $php_url.query_string ne ''}&{$php_url.query_string}{/if}"> with this: Code:
<A href="{$php_url.url}?printable=Y{if $php_url.query_string ne ''}&{$php_url.query_string}{/if}" target="_blank"> |
Printable Version
Ok that worked! Thanks alot!
|
All times are GMT -8. The time now is 10:54 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.