the function flash in SessionComponent in 1.2 has all the parameters you need. There is a key for different message types like flash, error, warning, whatever you like. flash is just the default. This constructs a different id for the div with the flash - like this: <div id="errorMessage">this is a error</div> if you have used error for the $key parameter.
The same is true for the layout parameter of the flash() in the SessionComponent. You can specify a different layout and then the sessionHelper looks for a layout to be used to output the message. 2008/3/24, Neveldo <[EMAIL PROTECTED]>: > > Hi, > > Thank for your responses. > > I think the simpliest way to do this is by using CSS styles :) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
