Hi,
this should work:
<?php echo $html->link('View', "/invoices/view/".$invoice['Invoice']['id'],
array('target' => '_blank')); ?>
greets
Andreas
forrestgump schrieb:
> Ok....im not quite able to wrap my head around this one.....
> I have a link that looks like so
> <?php echo $html->link('View', "/invoices/view/".$invoice['Invoice']
> ['id']); ?>
>
> so basically i can open the required invoice from a payments.ctp in an
> invoices/view.ctp ...but it redirect the window....i was hoping for a
> way to pop up in a new window...
>
> can someone help me with this one i tried using onclick...but that did
> not work.
>
> Thanks in advance,
> Forrestump
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---