Re: [symfony-users] Where to put the logic?

2009-12-04 Thread Georg Gell
Hi Stéphane, I don't understand what you mean. To clarify: I would like to put the business logic in the model. The business logic states in my case that no Client object can be without a User object. Following this reasoning, I added a postInsert() method in the Client object, that creates a

[symfony-users] check in model class if it is used from doctrine:data-load task

2009-12-04 Thread Georg Gell
Hello group, how can I check in a model class if the class is used from the doctrine:data-load task instead from the normal application? Example model Model class Model extends BaseModel { public function postInsert($event) { if (not in symfony doctrine:data-load){ //do some wild things that

Re: [symfony-users] database on a different server than symfony

2009-12-04 Thread Gareth McCumskey
Also remember that you need to set the details of the user you will be using to connect on the database server to accept external connections otherwise you will not be able to connect. - Original Message - From: DEEPAK BHATIA toreachdee...@gmail.com To: symfony-users@googlegroups.com

[symfony-users] Backend_all.log ?

2009-12-04 Thread julien.levass...@gmail.com
What is the backend_all.log ? -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For

[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 tyler.gr...@gmail.com wrote: Who wants? I can translate, need more people :) Can't find other topic on this.

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

2009-12-04 Thread Alexandre Salomé
Doc ! 2009/12/4 poussain julien.stoeff...@gadz.org Hi all, In the tutorial the third step is called Upgrade symfony to 1.3 and i do not know how to do this... I tried to copy the package in lib/ vendor/symfony, i tried the pear upgrade... command but it didn't work (i changed the

Re: [symfony-users] database on a different server than symfony

2009-12-04 Thread DEEPAK BHATIA
Thanks to all On Fri, Dec 4, 2009 at 1:40 PM, Gareth McCumskey gmccums...@gmail.comwrote: Also remember that you need to set the details of the user you will be using to connect on the database server to accept external connections otherwise you will not be able to connect. - Original

Re: [symfony-users] Backend_all.log ?

2009-12-04 Thread Alexandru-Emil Lupu
actually nothing :) It should be : backend_dev.log or backend_prod.log or other ... It might be generated with that name by your filters.yml ... alecs On Fri, Dec 4, 2009 at 10:46 AM, julien.levass...@gmail.com julien.levass...@gmail.com wrote: What is the backend_all.log ? -- You received

[symfony-users] Error 255 in Lime Unit Tests

2009-12-04 Thread Christopher Schnell
Hi all, I have an error, when running lime unit tests with ./symfony test:unit One of my testfiles returns status 255 and thus failes. However, if I run the test only for the file (like ./symfony test:unit MyClass), all tests are made successfully and it look like everything went fine. I

[symfony-users] Uncheck tag on checkbox widget

2009-12-04 Thread Zuchuat Bertrand
Hi, I would like to uncheck the value on the widget Checkbox. I tested this on my class form but nothing: public function configure() { if ($this-isNew()) { $this-widgetSchema['is_disabled'] = new sfWidgetFormInputCheckbox(array('value_attribute_value' = '')); } }

[symfony-users] Re: DBFinderPlugin future

2009-12-04 Thread MoUeTtE
thanks a lot, I'll test it right away :) -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to

[symfony-users] Re: Trying to merge objects

2009-12-04 Thread tirengarfio
Hi, i solved merging the collections (Doctrine merge() method): public static function getAmigos($id) { $q1 = Doctrine_Query::create() -from('Usuario u') -leftJoin('u.AmigoUsuario a ON u.id = a.user2') -where(a.user1 = ?, $id) -andWhere(a.estado LIKE ?, 1)

Re: [symfony-users] Re: Add column

2009-12-04 Thread James Collins
Hi, I'm relatively new to Symfony as well (I use Doctrine), and have wondered the same thing. During development, whenever I modify the schema I find myself dropping the database, rebuilding the models, rebuilding the SQL, inserting the SQL, and then inserting my fixtures. Is there a better way

[symfony-users] Re: error insert new register with form embeded i18n and Doctrine

2009-12-04 Thread Raphael
in fact it should have only one position in the attribute 'Translation'. Now, why is it being created with two positions? I was just embeds culture 'en'. On Fri, Dec 4, 2009 at 11:06 AM, Raphael raphox.ara...@gmail.com wrote: Hi, when Im using 'pt' as default culture for user session and set

Re: [symfony-users] Error 255 in Lime Unit Tests

2009-12-04 Thread Thomas Rabaix
run the test from php directly : php path_to_/yourTest.php On 4 déc. 2009, at 12:21, Christopher Schnell wrote: Hi all, I have an error, when running lime unit tests with ./symfony test:unit One of my testfiles returns status 255 and thus failes. However, if I run the test only for the

[symfony-users] Re: error insert new register with form embeded i18n and Doctrine

2009-12-04 Thread Raphael
I have identified that the constructor of DoctrineRecord assigns the default culture of the object. so it automatically creates the position on the culture of the session. On Fri, Dec 4, 2009 at 11:19 AM, Raphael raphox.ara...@gmail.com wrote: in fact it should have only one position in the

Re: [symfony-users] Re: Add column

2009-12-04 Thread Alexandru-Emil Lupu
James, upgrade your projects to symfony 1.3 and you will be able to play with migration tool ... which is relative easy to use ... check the docs for it On Fri, Dec 4, 2009 at 3:16 PM, James Collins ja...@om4.com.au wrote: Hi, I'm relatively new to Symfony as well (I use Doctrine), and have

[symfony-users] Re: optimizing symfony admin generator

2009-12-04 Thread theredled
This gives basis for customizing (yml, overriding templates, themes, generator inheritance): http://www.symfony-project.org/book/1_2/14-Generators#Administration For the rest, there is just you and your head in the engine :D Not so much doc. On 3 déc, 11:22, Lukas Kahwe Smith

[symfony-users] Re: optimizing symfony admin generator

2009-12-04 Thread theredled
And that : http://www.symfony-project.org/reference/1_4/en/ By optimizing, i hope you were not speaking of performance ? On 3 déc, 11:22, Lukas Kahwe Smith m...@pooteeweet.org wrote: Hi, I am aware that there are guides for optimizing symfony application in generally. However, are there

Re: [symfony-users] confige sandbox project on shared host

2009-12-04 Thread seifolah Ghaderi
Hey Thanks it works. But in fr *_dev.php only !!. It display a blank page in index.php and /backend/ Any idea? On Thu, Dec 3, 2009 at 11:43 AM, Daniel Lohse annismcken...@googlemail.comwrote: Look here to customize symfony for your directory structure:

Re: [symfony-users] confige sandbox project on shared host

2009-12-04 Thread seifolah Ghaderi
Oh! It's works !! I cleaned the cash and it works. But in *_dev.php it give some warning: *Warning*: session_start() [function.session-starthttp://www.shahrads.com/frontend_dev.php/category/show/id/function.session-start]: Cannot send session cache limiter - headers already sent (output started at