[symfony-users] doctrine many to many relation with extra fields in related table

2010-12-28 Thread Jaime
Hi, I have in my schema a n:m relation within two tables, but the middle table has an extra field (value) not shown in the admin generator How can I fix this? I tried with embedRelation and a combination of embedform and foreach... but I don't get the results I want. Any ideas? -- If you want

Re: [symfony-users] constraint violation: 1048 Column 'id' cannot be null

2010-11-05 Thread Jaime Merino Mora
I found it... http://trac.symfony-project.org/attachment/ticket/8650/i18n-1.4.patch El jue, 04-11-2010 a las 06:44 -0700, Jaime escribió: > Hi, > > i'm in trouble with the inserts on the generate-admin i18n forms. > Alway have the same error, > > "SQLSTATE[

[symfony-users] constraint violation: 1048 Column 'id' cannot be null

2010-11-04 Thread Jaime
Hi, i'm in trouble with the inserts on the generate-admin i18n forms. Alway have the same error, "SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'id' cannot be null" I tried to patch de bug #7626 http://trac.symfony-project.org/ticket/7626 without luck. this is the schema.yml dol

[symfony-users] Re: I18n not works, extract delete previous translations

2010-10-14 Thread Jaime
;s too big :) > > Jérémie > > Le jeudi 14 octobre 2010 à 02:39 -0700, Jaime a écrit : > > > Hi, > > > yes, I use symfony cc every time i change somthing in te xml or the > > settings.yml file > > > And I use de sfDoctrineCultureFlagsPlugin with sfDoct

[symfony-users] Re: I18n not works, extract delete previous translations

2010-10-14 Thread Jaime
of User Object changes correctly, but the translation of __() doesn't changes. On 14 oct, 11:14, Jérémie wrote: > Did you clear the cache? > And do you change the culture somewhere in the application? > > > On Oct 13, 3:55 pm, Jaime wrote: > > > Hi, > > >

[symfony-users] Re: I18n not works, extract delete previous translations

2010-10-14 Thread Jaime
; work)? (config/doctrine/schema.yml for doctrine) > > And do you always do `php symfony i18n:extract --auto-save frontend > en` (in order to just append the changes to xml files)? > > On Oct 13, 3:55 pm, Jaime wrote: > > > Hi, > > > I'm developing an applicati

[symfony-users] I18n not works, extract delete previous translations

2010-10-13 Thread Jaime
Hi, I'm developing an application with symfony 1.4, and it needs to be translated in three languages. But the translations doen't works. I set frontend/config/settings.yml all: .settings. # I18n activado i18n: true # cultura predeterminada default_culture: es # caracteres

[symfony-users] Get variables on index of admin generator

2010-06-03 Thread jaime
Hi everyone I'm using some Get variables in the index for filtering the result (index?filter_type=2) The problem is that when I want to order some column, this get variable disappears. I notice that when you order some column, it uses get variables (index? sort=created_at&sort_type=asc), and the

[symfony-users] Re: Propel 1.3 Vs Doctrine 1.2

2009-11-04 Thread Jaime Suez
I use both of them in 2 projects and Doctrine it's my choice. It's from the same company than Symfony (Sensio), the documentation is very very good, it's very easy to use (more friendly than Propel). Also, Zend Framework is going to adopt Doctrine, how gives you an impression of how a good ORM it

[symfony-users] Migration to Symfony 2.0

2009-10-31 Thread jaime
Now I'm doing a project using Symfony 1.3 with Doctrine 1.2. I'm very worried about if it will be possible to migrate this work to Symfony 2.0 and Doctrine 2.0. With PHP 5.3 many things surely will change and Symfony 2.0 surely will be a very different framework. But also Symfony 2.0 will be a v

[symfony-users] Re: Help with mixins!! Adding new actions in a module with the event dispatcher (MIXINS)

2009-10-12 Thread Jaime Suez
xandre.sal...@gmail.com> wrote: > You should create a class myActions that extends sfActions, with your new > action. > > Then module classes extends myActions instead of sfActions, so they have > the method. > > Alexandre > > 2009/10/12 Jaime Suez > > I'

[symfony-users] Re: Help with mixins!! Adding new actions in a module with the event dispatcher (MIXINS)

2009-10-12 Thread Jaime Suez
wrote: > > What version of Symfony are you using? > > I think mixins were replaced by the event system as of Symfony 1.1 > > On 12 Oct 2009, at 06:36, jaime wrote: > > > > > Hi! > > > > I'm trying to add new actions to some modules with mixins and

[symfony-users] Help with mixins!! Adding new actions in a module with the event dispatcher (MIXINS)

2009-10-11 Thread jaime
Hi! I'm trying to add new actions to some modules with mixins and the event dispatcher. I find the controller.page_not_found notify, but it didn't work. Someone knows if there is a way to add new actions with some mixin?? --~--~-~--~~~---~--~~ You received this m

[symfony-users] Custom seach and custom filtering on admin generator

2009-09-07 Thread jaime
I recently saw that there is a way of achieving custom search and filtering on the admin generator, but with the DbFinderAdminGenerator of the DbFinderPlugin. It includes methods like: finder_methods and sort_method, that are possible of use in the admin generator. Someone knows if there is a wa

[symfony-users] Two foreign keys on a schema

2009-09-03 Thread jaime
Hi everyone. I'm working with a database not made by symfony. So, they are references made with more than one foreign key. Simplier: There is no a reference to one id, but a reference to 2 columns. There is CodItem1, and CodItem2 the foreign keys. Someone know how to define this on the schema?

[symfony-users] Right join in Doctrine

2009-09-01 Thread jaime
Hi everyone I need to make a right join on Doctrine, because I'm working in a old database not designed for an ORM. Someone knows how to do a right join on Doctrine, because nothing appears in the documentation. Thanks --~--~-~--~~~---~--~~ You received this mess

[symfony-users] Re: About FireSymfony

2009-08-24 Thread Jaime Suez
Hi Alvaro. Which is the advantage of using this mozzila addon vs the common web debug toolbar? Thanks Jaime On Sun, Aug 23, 2009 at 11:05 PM, harryjekyll wrote: > > Hi, > > This weekend FireSymfony passed the Moziila Addons Team Quality Tests, > becoming a certified addon.

[symfony-users] Getting doctrine objects attributtes inside a Validator

2009-08-17 Thread jaime
Hi. I'm ussing a class that extends a validator, specifically it extends the sfValidatedFile. What I need is to get the attributes of the Doctrine Object that is been saved. For example, something like $job->getName(), or $job->getId (). I don't know how to access that object, anyone knows?

[symfony-users] Autocompletition with Doctrine?

2009-08-11 Thread jaime
Have someone did autocompletition with Doctrine? Specially in the choices autogenerated in the forms. I only saw a tutorial for Propel who uses sfWidgetFormPropelJQueryAutocompleter of JQuery. I know that it's possible to use the sfWidgetFormJQueryAutocompleter with Doctrine. Have someone use i