print $this->Html->link(__('Details', true),
    array(
        'plugin' => 'yourplugin', //otherwise null
        'controller' => 'members',
        'action' => 'view',
        $bankstatement['Paymentdetails']['Member']['id']
    ),
    array(
        'target' => '_blank'
    )
);
--
Lep pozdrav, Tilen Majerle
http://majerle.eu



2011/3/12 heohni <[email protected]>

> Hi, I have this link:
> <?php echo $this->Html->link(__('Details', true),
> array('target'=>'_blank', 'controller' => 'members', 'action' =>
> 'view/'.$bankstatement['Paymentdetails']['Member']['id'])); ?>
>
> Its performing this link:
> http://localhost/ProjectX/members/view/5/target:_blank
>
> What do I have done worng? I just want to open the link in a new
> window?
>
> As this is the details page of a member, can I open somehow just the
> view template without the surrounding default.ctp?
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> [email protected] For more options, visit this group
> at http://groups.google.com/group/cake-php
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to