On Sun, Mar 15, 2009 at 6:25 PM, Davy <[email protected]> wrote:

> Thanks for your answers. I am doing this right now. But suppose I want
> to change the homepage. I then have to change the route + my checks?
>

In that case, maybe there are better ways, but what Miles suggested is
probably OK ($this->currentPage = 'homepage'; in the view). You can then
check $this->currentPage 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 [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
-~----------~----~----~----~------~----~------~--~---

Reply via email to