Hmm. As long as I remember, you may edit modulename/config/view.yml like
this:

firstaction:
>   layout:  customLayoutName
> secondaction:
>   layout:  customLayoutName
>

On Mon, Feb 23, 2009 at 13:08, SeeVik <[email protected]> wrote:

>
> Hello Andy. Thanks for that handy trick.
>
> I wanted to know whether there is any way we can escape the layout for
> a set of actions without everytime writing in the action $this-
> >setLayout('layoutname');
>
> Thanks and Regards
> Vikram
>
> On Feb 23, 7:54 pm, "Andy Dziahel'" <[email protected]> wrote:
> > Hi.
> >
> > $this->setLayout('layoutName')?
> >
> >
> >
> >
> >
> > On Mon, Feb 23, 2009 at 12:48, SeeVik <[email protected]>
> wrote:
> >
> > > Hello all,
> >
> > > In one of the actions I have defined in controller, I do not want to
> > > use the global template file layout.php. How config should I use in
> > > this situation?
> >
> > > Like I am creating a webapp and I have a link which opens in new
> > > window. In this window, I don't want to display the site header and
> > > footers. But they are included in the layout of the website. How can I
> > > escape them?
> >
> > > Thanks and Regards
> > > Vikram
> >
> > --
> > With the best regards, Andy.
> >
>


-- 
With the best regards, Andy.

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