[symfony-users] Re: Please help on exclude template

2008-06-08 Thread Nathan Hawks
On Jun 7, 12:53 pm, Richtermeister [EMAIL PROTECTED] wrote: You can create a view.yml file in the appropriate module config directory, and in there make the following declaration: youractionSuccess: has_layout: off replacing youraction by whatever you named your action. That should

[symfony-users] Re: Please help on exclude template

2008-06-08 Thread Mohammad Ali Safari
Alternatively you can call the setLayout function inside your actio. $this-setLayout(false) will ignore the layout $this-setLayout(newlayout) will use the layout file newlayout.php in your app template directory. --Mohammad On Sun, Jun 8, 2008 at 7:48 AM, Nathan Hawks [EMAIL PROTECTED] wrote:

[symfony-users] Re: Please help on exclude template

2008-06-07 Thread Richtermeister
You can create a view.yml file in the appropriate module config directory, and in there make the following declaration: youractionSuccess: has_layout: off replacing youraction by whatever you named your action. That should work. It's also in the manual.. Hope that helps, Daniel On Jun 6,