On 4/12/07, rajasekhar <[EMAIL PROTECTED]> wrote:
>
>
> Dear Gonzalo,
>
> if I create new flash layout instead of predefined layout, how to use
> both of them one after another depending upon the situation.
>

You can use something like:

    $this->Session->setFlash( 'error message goes here', 'layout_goes_here'
);

In which case, app/views/layouts/layout_goes_here.thtml would be used. The
"error message goes here" part would be inserted into $content_for_layout
inside the layout file.

Regards,
Gonzalo

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to