Oh yes. It does work. I just had to remove the "default" and use the
{$view_name}Success as u told Andy. Thanks a lot.

Vikram

On Feb 23, 8:32 pm, SeeVik <[email protected]> wrote:
> Hello Andy.
>
> This doesn't work. It doesn't display the customized layout. I tried
> with this view.yml....
>
> modules/firstModule/config/view.yml
> ------------------------------------------------------------
> default:
>   showQa:
>     layout: popupLayout
>
> modules/firstModule/actions.class.php
> --------------------------------------------------------------
> public function executeShowQa()
> {
>      $this->mesg = "This is a new layout";
>
> }
>
> Thanks and regards
> Vikram
>
> On Feb 23, 8:16 pm, "Andy Dziahel'" <[email protected]> wrote:
>
> > 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