The flash messages, to output them, you place this in a view or layout: <?php echo $session->flash(); ?>
Or, place the output in a DIV: <div id="flash_message"><span><?php echo $session->flash() ?></span></div> That way, you have more control over what goes on there. (Geek notes: $session is a View variable that is populated by default in Cake. $session is a reference to SessionComponent, defined in cake/libs/controller/components/session.php. Lower-cased name as a variable, that is the name convention for Components that get turned into View variables. Kind of like the name $html for the View Helper HtmlHelper.) Hope you're helped by this, Olle --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
