[symfony-users] Re: Why config is not read from generator.yml

2009-12-25 Thread lking
looks like here is not enough spaces before config: here must be 4 spaces. same for other keys in this section. filter: should have same num of spaces as list: (6 spaces, tabs is not allowed) On 20 дек, 14:49, George wrote: > Yes cache is cleared > > George > > On 20 joulu, 00:56, Daniel Lohse w

[symfony-users] Re: Update to symfony 1.3 tutorial step 3 : "Upgrade symfony to 1.3" ???

2009-12-14 Thread lking
1. edit externals for your project svn pe svn:externals lib/vendor 2. in opened editor type symfony http://svn.symfony-project.com/tags/RELEASE_1_3_1 save and close file. 3. commit changes to your repos svn ci 4. update project svn up after 4-th step symfony sould be updated. On 14 дек, 10:58,

[symfony-users] Re: How override frontend action

2009-12-14 Thread lking
hi, i think that you should not unset fields in your form but specify what fields you need in this form with method useFields() public function configure() { $this->useFields(array('filename', 'caption')); . } On 14 дек, 10:13, sepelloo wrote: > Hi all. > I'm developing a simple forum

[symfony-users] Re: netbeans 6.8 (IDE for Symfony) - No symfony script selected

2009-12-13 Thread lking
i think that you should to select file symfony. in my case it's Z:\vendor\symfony\data\bin\symfony On 14 дек, 07:36, dziobacz wrote: > I can't create new Symfony project in netbeans, I have communicate: > No Symfony script selected > > Here on the last > screen:http://blogs.sun.com/netbeansphp/e

[symfony-users] Re: spyMenuPlugin with Symfony 1.4 / Doctrine 1.2

2009-12-12 Thread lking
hi. as i can see here is ver of plugin for sf1.2 and here is no module sfDbMenu in this plugin. (typo? is plugin and modules enabled?) did you meant module spyDbMenu? as i can see here is index in the modules/spyDbMenu/actions/components.class.php On 12 дек, 19:32, NicolAS400 wrote: > Hi, i'm try

[symfony-users] Re: Failing tests in symfony:test

2009-12-07 Thread lking
on win xp. PHP 5.2.11 with sf1.4 rev 25061 Failed Test Stat Total Fail List of Failed -- functional/ActionRedirectTest 0 1 1 0 trine] functional/AdminGenTest 0 1 1 0 unctional/Env

[symfony-users] Re: function simple_format_text() from Symfony 1.4 doesn't work ?

2009-12-06 Thread lking
function simple_format_text() defined in text helper. it is replace linebreaks with html tag and surrounds paragraphs with html tags that's it. i'm not sure that you really need to use $sf_data->getRaw(). also here is sense to check what you have in the firm.description field. looks like you hav

[symfony-users] Re: Does anybody use sfDoctrineRouteCollection (Object Route Class) in routing.yml ?

2009-12-05 Thread lking
hi. your route have mandatory parameter id. url_for('@firm_show?id='.$firm->getIdFirm()) will fix this prob, but that's dirty solution. here is sense to use routes like link_to($firm->__toString(), 'firm_show', $firm) but for this usage you have to rename your field id_firm to id in the schema or

[symfony-users] Re: More with Symfony: Russian translation

2009-12-04 Thread lking
i can help with translation to russian. i'm not professional translator, but hope that my translation will be bit better then automatic translation by google :) On 3 дек, 22:12, tyler wrote: > Who wants? > I can translate, need more people :) > Can't find other topic on this. -- You received th

[symfony-users] Re: symfony 1.4 unable to create M:N relationship

2009-11-30 Thread lking
hi, Roy. did you looked to http://www.symfony-project.org/doctrine/1_2/en/04-Schema-Files#chapter_04_sub_many_to_many ? hope it will help. On 30 ноя, 02:49, roy master wrote: > Hello, > > I can't create tables for M:N relationship in symfony 1.4. What am I > doing wrong? > > It should be relatio

[symfony-users] sf1.4+doctrine how to override setter in model

2009-11-30 Thread lking
i have this schema Product: columns: name:string(255) description: clob price: { type: decimal, scale: 4 } Order: tableName: m_order columns: total: { type: decimal, scale: 4 } relations: Items: class: Order