Re: [symfony-users] Can't get app.yml working for me

2010-09-01 Thread Jochen Daum
Michael, Sid, thanks very much for the quick response. Its was a combination of typo (thanks for making a typo Michael!), not using the full path and symfony cc app.yml is now: all: mbc: organisation_id: 1 Code is now: $x = sfConfig::get('app_mbc_organisation_id'); Thanks again! Si

Re: [symfony-users] Can't get app.yml working for me

2010-09-01 Thread Michael Dichirico
I had a typo. should be an 's', not a 'z': $x = sfConfig::get('app_mbc_organisation_id'); On Wed, Sep 1, 2010 at 6:19 PM, Michael Dichirico wrote: > Untested, but I believe this is what you need: > > # default values > all: > .mbc: > organisation_id: 1 > > .mail: > method: native > >

Re: [symfony-users] Can't get app.yml working for me

2010-09-01 Thread Sid Bachtiar
Have you clear-cache? e.g.: ./symfony cc after the app.yml is updated? Or may be you mean to do: sfConfig::get('app_mbc_organisation_id'); On Thu, Sep 2, 2010 at 1:10 PM, Jochen Daum wrote: > Hi, > > I have /config/app.yml: > > # You can find more information about this file on the symfony webs

Re: [symfony-users] Can't get app.yml working for me

2010-09-01 Thread Michael Dichirico
Untested, but I believe this is what you need: # default values all: .mbc: organisation_id: 1 .mail: method: native and then: $x = sfConfig::get('app_mbc_organization_id'); On Wed, Sep 1, 2010 at 6:10 PM, Jochen Daum wrote: > Hi, > > I have /config/app.yml: > > # You can find more

[symfony-users] Can't get app.yml working for me

2010-09-01 Thread Jochen Daum
Hi, I have /config/app.yml: # You can find more information about this file on the symfony website: # http://www.symfony-project.org/reference/1_4/en/11-App # default values all: mbc: organisation_id: 1 mail: method: native and in a doctrine form class, use: $x = sfConfig::get('a