On Sun, Mar 15, 2009 at 3:44 PM, Davy <davyvandenbr...@gmail.com> wrote:
> > Hi, I've just launched my first CakePHP website: > > http://www.davyvandenbremt.be/ > > Something very simple though. > > Question: What is the best way to check in a layout if you're on the > homepage? > Nice design. You could check $this->params['controller'] and $this->params['action'] to see where you're at. - Gonzalo --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com 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?hl=en -~----------~----~----~----~------~----~------~--~---