Thanks K! On Feb 21, 2:29 pm, "Krissy Masters" <naked.cake.ba...@gmail.com> wrote: > Add 'admin' => false > > echo $this->Html->link(__('ORDER - New', true), array('controller' => > 'events', 'action' => 'index', 'admin' => false)); > > K > > -----Original Message----- > From: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On Behalf > > Of lirc201 > Sent: Monday, February 21, 2011 3:51 PM > To: CakePHP > Subject: Redirecting from admin to front page > > Hello All, > > I've been struggling with links in my admin area to allow for > redirecting to my front page. I have some admin functions that I do > not want to have in the admin section. Mainly I want admins to be > able to enter orders for customers using the same screens as a regular > web user would (with more options). Anyways I post a link like > > echo $this->Html->link(__('ORDER - New', true), array('controller' => > 'events', 'action' => 'index')); > > Where I have a /events/index, and a /admin/events/index. With this > code in the admin area, I want to redirect to /events/index. However > it is assuming that I meant to say /admin/events/index. How can I get > around this? > > Thanks, > Brian > > -- > Our newest site for the community: CakePHP Video > Tutorialshttp://tv.cakephp.org > Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help > others with their CakePHP related questions. > > To unsubscribe from this group, send email to > cake-php+unsubscr...@googlegroups.com For more options, visit this group > athttp://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 cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php