You can also create a second layout.php, e.g. layout_flash.php and
define in your
  /app/APPLICATION_NAME/modules/MODULE_NAME/config/view.yml
something like this:

sendSuccess:
  has_layout:     on
  layout:         layout_flash

or just:

sendSuccess:
  has_layout:     off




On 31 Jul., 16:47, HAUSa <[email protected]>
wrote:
> I created an action, called send in the module system.
> Now I have a Flash file which sends it's values to /system/send.
>
> In the sendSuccess.php I have a line to push a thank you message to
> Flash.
> mailFeedback=Bedankt voor uw reactie (dutch!)
>
> However, ofcourse Symfony places my whole layout.php template around
> it. Is it possible to tell Symfony only to output the sendSuccess.php
> template and not the main template.php?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" 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/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to