[symfony-users] Re: Multiple actions, one template?

2009-04-17 Thread Mr_chon
As you've got the same template for all your module's actions, I'd include $this->setTemplate('my'); in the preExecute method... On 16 avr, 19:54, Kevin Barsotti wrote: > Thank you, that's exactly what I was looking for! > > > > Dheeraj Kumar Aggarwal wrote: > > > hi > > you can do this by using

[symfony-users] Re: Multiple actions, one template?

2009-04-17 Thread FÁSI Gábor
That's different, used when your action has finished to decorate it's output. On Fri, Apr 17, 2009 at 05:47, Grus wrote: > > There is a global template named "layout.php" located in the path "../ > apps/templates". > I think it's what you want > > On Apr 17, 3:48 am, Kevin Barsotti > wrote: >>

[symfony-users] Re: Multiple actions, one template?

2009-04-16 Thread Grus
There is a global template named "layout.php" located in the path "../ apps/templates". I think it's what you want On Apr 17, 3:48 am, Kevin Barsotti wrote: > I'm working on making an existing module more efficient, and presently > it has numerous (dozens) of actions which call upon an equal num

[symfony-users] Re: Multiple actions, one template?

2009-04-16 Thread Kevin Barsotti
Thank you, that's exactly what I was looking for! Dheeraj Kumar Aggarwal wrote: > > hi > you can do this by using > $this->setTemplate('my'); in actions class > On Thu, Apr 16, 2009 at 11:18 PM, Kevin Barsotti > mailto:kevin.barso...@tribaldawn.com>> > wrote: > > > I'm working on making an

[symfony-users] Re: Multiple actions, one template?

2009-04-16 Thread Dheeraj Kumar Aggarwal
hi you can do this by using $this->setTemplate('my'); in actions class On Thu, Apr 16, 2009 at 11:18 PM, Kevin Barsotti < kevin.barso...@tribaldawn.com> wrote: > > I'm working on making an existing module more efficient, and presently > it has numerous (dozens) of actions which call upon an equal

[symfony-users] Re: Multiple actions, one template?

2009-04-16 Thread Рустам
or $this->setTemplate('my'); ;-) On Thu, Apr 16, 2009 at 11:52 PM, Рустам wrote: > in action: > > $this->setTemplate('a'); > > > > On Thu, Apr 16, 2009 at 11:48 PM, Kevin Barsotti > wrote: >> >> I'm working on making an existing module more efficient, and presently >> it has numerous (dozens)

[symfony-users] Re: Multiple actions, one template?

2009-04-16 Thread Рустам
in action: $this->setTemplate('a'); On Thu, Apr 16, 2009 at 11:48 PM, Kevin Barsotti wrote: > > I'm working on making an existing module more efficient, and presently > it has numerous (dozens) of actions which call upon an equal number of > templates that are for all intents and purposes ide