Yeah tthat's the way. i used 'CAKE_ADMIN' = 'false' but as it is deprecated then i use 'admin' too :)
On Oct 10, 8:25 am, Geoff Ford <[EMAIL PROTECTED]> wrote: > Try > <?php echo $html->link('Home', array('controller'=>'docs', > 'action'=>'index', admin=>false)); ?> > > Note tested though. > > Geoff > --http://lemoncake.wordpress.com > > On Oct 10, 3:45 pm, "[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 cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---