OK. Thx.

Another thing. Does cake have a concept of severity for flash messages
(or any other)?

I mean, sometimes you want the message to be an alert, sometimes an
error, ...

Drupal has such a thing... 
http://api.drupal.org/api/function/drupal_set_message/6

Davy

On Mar 15, 10:28 pm, Gonzalo Servat <[email protected]> wrote:
> 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