Dave,
try adding 'admin' => false as :
<?php echo $this->Html->link('Home', array('controller' => 'posts', 'action' =>
'index', 'admin' => false), array('escape' => 'false'),false); ?>
Andras Kende
http://www.kende.com
On Aug 25, 2010, at 6:34 PM, Dave Maharaj wrote:
> How do I not include a prefix in a link?
>
> I am at a prefixed url www.site.com/admin/settings and on that page there is
> “home” which is <?php echo $this->Html->link('Home, array('controller' =>
> 'posts',' action' => 'index' , 'prefix' => false), array('escape' =>
> 'false'),false); ?> but it shows www.site.com/admin/posts
>
> Any ideas how to remove prefix’s from a non prefixed link?
>
> Thanks,
> Dave
>
> Check out the new CakePHP Questions site http://cakeqs.org and help others
> with their CakePHP related questions.
>
> 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
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
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