Ok I'll try sfConfig::get, thanks for your answers :-)

On 24 avr, 14:37, Tom Haskins-Vaughan <[email protected]>
wrote:
> You could add a slot to the layout and then set it from the generated modules.
>
>
>
> On Fri, Apr 23, 2010 at 12:50 PM, Richtermeister <[email protected]> wrote:
> > If you're already inside the generated module, you should have access
> > to the configuration class. that should contain all the info from the
> > generator.yml.
>
> > Daniel
>
> > On Apr 23, 3:04 am, John <[email protected]> wrote:
> >> Hi Pabz,
>
> >> Thanks for your answer.
>
> >> Apparently I'm not clear : What I'd like to do is to show the value of
> >> the list title from the generator.yml file in the layout.
>
> >> So my question is : how can I get a generator.yml variable and put it
> >> in the view ?
>
> >> Thanks again,
> >> John
>
> >> On 23 avr, 05:10, Pabz Sarquilla <[email protected]> wrote:
>
> >> > Hey John,
>
> >> > is this the one your looking for app/backend/module/config/generator.yml?
>
> >> > Best,
> >> > Pabz
>
> >> > On Thu, Apr 22, 2010 at 5:30 PM, John <[email protected]> wrote:
> >> > > Hi,
>
> >> > > I'm trying to access the list title and put it in the view. The
> >> > > variable is in generator.yml.
>
> >> > >    config:
> >> > >      actions: ~
> >> > >      fields:  ~
> >> > >      list:
> >> > >        title: My events
>
> >> > > I'd like to put the title in my layout (apps/backend/templates/
> >> > > layout.php).
>
> >> > > How can I achieve this ?
>
> >> > > Hope you can help me,
> >> > > Thanks,
> >> > > John
>
> >> > > --
> >> > > If you want to report a vulnerability issue on symfony, please send it 
> >> > > to
> >> > > security at symfony-project.com
>
> >> > > You received this message because you are subscribed to the Google
> >> > > Groups "symfony users" group.
> >> > > To post to this group, send email [email protected]
> >> > > To unsubscribe from this group, send email to
> >> > >[email protected]<symfony-users%[email protected]>
> >> > > For more options, visit this group at
> >> > >http://groups.google.com/group/symfony-users?hl=en
>
> >> > --
> >> > If you want to report a vulnerability issue on symfony, please send it 
> >> > to security at symfony-project.com
>
> >> > You received this message because you are subscribed to the Google
> >> > Groups "symfony users" group.
> >> > To post to this group, send email [email protected]
> >> > To unsubscribe from this group, send email 
> >> > [email protected]
> >> > For more options, visit this group 
> >> > athttp://groups.google.com/group/symfony-users?hl=en
>
> >> --
> >> If you want to report a vulnerability issue on symfony, please send it to 
> >> security at symfony-project.com
>
> >> 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 
> >> athttp://groups.google.com/group/symfony-users?hl=en
>
> > --
> > If you want to report a vulnerability issue on symfony, please send it to 
> > security at symfony-project.com
>
> > 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
>
> --
> If you want to report a vulnerability issue on symfony, please send it to 
> security at symfony-project.com
>
> 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 
> athttp://groups.google.com/group/symfony-users?hl=en

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

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