[symfony-users] tinyMCE jQuery + symfony 1.4

2010-05-22 Thread godbout
Hi! I've got some problems to make the tinyMCE jQuery works. I've installed the FormExtra plugin, edited the view YAML, and used the widget. I have a javascript error telling me that .tinyMCE is not declared and by checking the javascript I can see that it refers to the basic tinyMCE javascript bu

[symfony-users] Re: How overwrite addFiltersCriteria in symfony 1.4?

2010-05-09 Thread godbout
Hi there, I join the discussion because I have a problem with those addXXXColumnQuery. I want to add some criteria to a table that is in join and I can't find a correct way to find the alias of that class. Any idea? On May 7, 1:20 pm, Richtermeister wrote: > Hey there, > > assuming you're using

[symfony-users] Re: Unavailable and Error page - can't use helpers or else?

2010-04-29 Thread godbout
I would add a small question there: I have several app. I want to use the same custom 404 page for example, without copying/pasting for each app. Possible? Doesn't it make more sense to be able to define this in the global config? On Apr 22, 10:24 am, godbout wrote: > Hi! > > I

[symfony-users] Re: Seems like Doctrine is building my filters on an old schema?

2010-04-27 Thread godbout
id Doctrine is using this one instead of the new user_id. This might help some other people! Cheers, On Apr 27, 5:40 pm, godbout wrote: > Hello Sir, > > I used to have a backend module generated by the doctrine admin-gen. > I've changed the schema to replace the sf_guard_user_id in

[symfony-users] Seems like Doctrine is building my filters on an old schema?

2010-04-27 Thread godbout
Hello Sir, I used to have a backend module generated by the doctrine admin-gen. I've changed the schema to replace the sf_guard_user_id in one of the table by a user_id. Here is the old schema: SectionUser: columns: sf_guard_user_id:{ type: integer(4), notnull: true } s

[symfony-users] Re: Database changes

2010-04-21 Thread godbout
Yeah, and it looks like it's the same guy that is asking the same thing over and over... http://groups.google.com/group/symfony-users/browse_thread/thread/6f50773c4d21d00/0b0195e283f7cacb?lnk=gst&q=Parijat+Kalia#0b0195e283f7cacb On Apr 22, 10:09 am, Eno wrote: > On Wed, 21 Apr 2010, Parijat Kal

[symfony-users] Unavailable and Error page - can't use helpers or else?

2010-04-21 Thread godbout
Hi! I'm customizing my error and unavailable page and I'm a bit surprised to see that the include_stylesheet and other helpers don't work. I want to use the same sheets that for my app. Can't I use any symfony framework functionalities in those 2 files? Thx, Cheers -- If you want to report a vu

[symfony-users] Re: sfValidatorDoctrineUnique doesn't work when only defined in BaseForm?

2010-04-12 Thread godbout
7; => 'Forgot to type your email? Try again! ', 'invalid' => 'Oups, this doesn\'t look like a valid email. Try again!' )), )); $this->validatorSchema->setPostValidator( new sfValidatorDoctrineUnique(array('model'

[symfony-users] Re: sfValidatorDoctrineUnique doesn't work when only defined in BaseForm?

2010-04-11 Thread godbout
ing about two different Forms? It seems that first > post-validator comes from (Base)SubscriberForm, but you complaint about > NewsletterForm. > Is there inheritance relationship beetween them? > > Cheers > > On Sat, Apr 10, 2010 at 5:05 PM, godbout wrote: > > > > >

[symfony-users] sfValidatorDoctrineUnique doesn't work when only defined in BaseForm?

2010-04-10 Thread godbout
Hi there! I have a very simple thing to do: allowing visitors to register their email for a newsletter. The email field is defined as unique in the db, and Doctrine created me the BaseForm with the following code:... [code]$this->validatorSchema->setPostValidator( new sfValidatorDoctrineUni

[symfony-users] Re: Unable to use namespaces with symfony

2010-04-06 Thread godbout
If I'm not talking crazy, namespaces are available in symfony 2 using php 5.3. I wouldn't expect them to work in 1.4 yet. On Apr 3, 11:25 pm, Amadeus wrote: > Hi > > I am trying to use classes with namespaces such as Doctrine 2 or my > own stuff but not matter what I use symfony gives me a Fatal

[symfony-users] Re: How to use one connection for generated migration diff files

2010-03-26 Thread godbout
Wondering also. Seems there is no "connection" option from the doctrine:migrate task, looking at the help. On Mar 25, 6:44 pm, jp_morvan wrote: > Hi, > > I've two connections in databases.yml : > all: >   connection1: >     class: sfDoctrineDatabase >     param: >       dsn: 'mysql:host=myhost;d

[symfony-users] Re: Losing data upon creating new tables

2010-03-26 Thread godbout
Parijat, Follow the doc given by Tom. Then, once you understand, just remember that for creating the migration classes correctly you will have to do that in the correct order: 1 - your schema yml files and your database structure should match 2 - update the classes to match your schema yml by doin

[symfony-users] Re: symfony and doctrine migrations - who to believe?

2010-03-06 Thread godbout
e db is different from the schema! Guill On Mar 5, 10:36 am, godbout wrote: > Hi Florian! > > Thx for the help. > Yah, you're right, I meant 'generate-migrations-diff'. Was a bit tired > from the day probably :-p > Yah, also I got the flow. Actually I think I

[symfony-users] Re: symfony and doctrine migrations - who to believe?

2010-03-04 Thread godbout
nerate-migrations-diff" >  - look at your lib/migration/doctrine folder if everything gone fine > > If you build your model before calling "doctrine:generate-migrations- > diff", doctrine won't know what has changed and will do nothing. > > Hope it helps! > &g

[symfony-users] symfony and doctrine migrations - who to believe?

2010-03-04 Thread godbout
Hi guys. I want to use the symfony tasks for the doctrine migration but I can't find any consistent piece of information. I read this: - http://www.doctrine-project.org/documentation/manual/1_2/en/migrations and this: - http://www.symfony-project.org/reference/1_4/en/16-Tasks#chapter_16_sub_doct

[symfony-users] Re: doctrine + admin-gen + customize filter + inner join = every table must have its own alias

2010-01-20 Thread godbout
My mistake. The sql query actually works. There is no 'AS' explicitly written, it's the first time I see a query working like this. But it does, I just didn't copy it correctly. The problem was something else and it's resolved. Thx On Jan 20, 4:10 pm, godbout wrote:

[symfony-users] doctrine + admin-gen + customize filter + inner join = every table must have its own alias

2010-01-20 Thread godbout
Hi there! I'm using symfony 1.2 with doctrine. I'm having trouble trying to customize a filter done by the admin- gen. I added a sfWidgetFormDoctrineChoice, this works greats. Keys and values are ok. Then I added to my form filter class a getFields method, and a addCodeColumnQuery method. My code

[symfony-users] Jobeet day 7 - can't see how the code can give those screenshots

2009-11-01 Thread godbout
Hi there! I've got a problem on day 7 that brings me errors on later days when I run the tests. I try to explain: As long as we sort the jobs by 'expires_at DESC', I understand that the job in 'Sensio Labs' appear first (even if in my case it is not followed by company 100 but company 114 instea