Or try a relative url:
<?php echo $html->link('Home', '../docs/index'); ?>
Michael
On 10 Okt., 07:45, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> I use $form->create and $html->link all through my site, but sometimes
> I need to link to a non-admin page from an admin page (or visa-versa).
>
> For example, I do this on an admin page:
>
> <?php echo $html->link('Home', array('controller'=>'docs',
> 'action'=>'index')); ?>
>
> and it will send me to /admin/docs/index/
>
> But, I need to go to /docs/index/...
>
> What is the syntax to accomplish this?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---