[symfony-users] Re: embedForm 2 simple forms howto?

2009-07-02 Thread pablo214
http://xs.to/xs.php?h=xs941d=09274f=erd433.jpg --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group,

[symfony-users] Bind() in embedded forms

2009-07-02 Thread Tom Haskins-Vaughan
Hi. I have a question about embedding and binding forms. Firstly, my model is basically: Product has many Criteria has many Options. So, following the tutorial at sandbox-ws.com [1] on embedding forms in sf 1.2, I do the following: 1. Create Product form 2. Embed Product-Criteria forms

[symfony-users] Where is the trunk of the sfDoctrine?

2009-07-02 Thread Bruno Reis
I can only find tags and branches on http://svn.symfony-project.com/plugins/sfDoctrinePlugin/ no trunk. We plan to migrate sf to 1.1, since it will be soon be discontinued. What doctrine plugin version should we use with sf 1.2 ? --~--~-~--~~~---~--~~ You

[symfony-users] Re: Where is the trunk of the sfDoctrine?

2009-07-02 Thread Jonathan H. Wage
The plugin comes with sf 1.2. Sent from my iPhone On Jul 2, 2009, at 7:03 AM, Bruno Reis bruno.p.r...@gmail.com wrote: I can only find tags and branches on http://svn.symfony-project.com/plugins/sfDoctrinePlugin/ no trunk. We plan to migrate sf to 1.1, since it will be soon be

[symfony-users] Re: Where is the trunk of the sfDoctrine?

2009-07-02 Thread Rafael Barbosa
Symfony 1.2 default points to doctrine 1.0 With a little hacking you can use doctrine 1.1 with it. http://www.brandonturner.net/blog/2009/05/doctrine11-with-symfony12/ http://groups.google.com/group/symfony-devs/browse_thread/thread/bd04ab86db280f9a On Thu, Jul 2, 2009 at 11:06 AM, Jonathan H.

[symfony-users] Re: Where is the trunk of the sfDoctrine?

2009-07-02 Thread Bruno Reis
That was fast! Thks Jonathan. I had looked only on the project plugin, now I see there is a plugin folder on symfony dir either. Very nice! 2009/7/2 Jonathan H. Wage jonw...@gmail.com: The plugin comes with sf 1.2. Sent from my iPhone On Jul 2, 2009, at 7:03 AM, Bruno Reis

[symfony-users] Apache Configuration

2009-07-02 Thread Felipe Hummel
Hi, I've been playing around with Symfony for a time, but neve took it to production. But I'm about to do it. I'm going to deploy a Symfony based application in a Ubuntu web server with Apache. I've tested the VirtualHost configuration and it works fine, but everything that was at /var/www is not

[symfony-users] Re: Apache Configuration

2009-07-02 Thread Gábor Fási
You can leave the original VirtualHost in httpd.conf for everything else, and add another one for your symfony project. On Thu, Jul 2, 2009 at 16:15, Felipe Hummelfelipehum...@gmail.com wrote: Hi, I've been playing around with Symfony for a time, but neve took it to production. But I'm about

[symfony-users] Use an extra translation file

2009-07-02 Thread HAUSa
If I create an extra XML file, that file seems not to work... My question: isn't the whole i18n folder loaded by default, like the lib folder? Because in the lib folder it doesn't matter how many files are created or how they are named. This is my tree: i18n - nl - - messages.xml - - extra.xml -

[symfony-users] Re: Use an extra translation file

2009-07-02 Thread Gábor Fási
They are loaded as well. Do you specify the catalog in __()'s third parameter? On Thu, Jul 2, 2009 at 17:09, HAUSajeroen_heeft_behoefte_aan_r...@hotmail.com wrote: If I create an extra XML file, that file seems not to work... My question: isn't the whole i18n folder loaded by default, like

[symfony-users] 1.2 plugins

2009-07-02 Thread Bruno Reis
Hi all I´ve installed symfony 1.2.7 (sandbox) to test on my machine. When I run symfony plugin-list, it only lists symfony 1.2.7-stable # pear.symfony-project.com (symfony) ... althought I have some plugins installed and even was able to make a ...

[symfony-users] Re: Apache Configuration

2009-07-02 Thread Felipe Hummel
When I call: http://localhost What will appear? It seems only one of both can be used. On 2 jul, 10:53, Gábor Fási maerl...@gmail.com wrote: You can leave the original VirtualHost in httpd.conf for everything else, and add another one for your symfony project. On Thu, Jul 2, 2009 at 16:15,

[symfony-users] Re: Apache Configuration

2009-07-02 Thread Gábor Fási
Yes, but you may have multiple hosts. For example, I have projectname.local for every major project I have, it points to the project's web dir; and I have localhost to point to /var/www for minor projects, the quick n' dirty stuff. If you use this, don't forget to point your newly created host to

[symfony-users] Undefined method error due to __call method in model objects

2009-07-02 Thread Steve Sanyal
Hi, It seems like the base model object __call method is actually preventing me from calling methods defined in the subclass. I have a model object called ReservProvider. In it, I have the following code: foreach($reservProvs as $reservProv) {

[symfony-users] Re: Undefined method error due to __call method in model objects

2009-07-02 Thread Steve the Canuck
Very strange, if instead I do this: if($this-hasTimeConflict($reservProv)) It seems to work fine. I'm not sure why PHP is finding the method in this case, but not the other case. The signature is quite simple: public function hasTimeConflict(ReservProvider $otherReservProv) Very

[symfony-users] Re: Using sfEvent in propel objects. NOT behaviors

2009-07-02 Thread JoeZ
Frank. You've got your point. The whole point of using this event for me is not to care about where is within the app code the invocation of the setDesync(true) method, but to just let it happen wherever it happens, and have some listener to act accordingly. In my understanding, what you say

[symfony-users] Re: Using sfEvent in propel objects. NOT behaviors

2009-07-02 Thread Bernhard Schussek
Hi Joe, On Thu, Jul 2, 2009 at 11:23 PM, JoeZjzar...@gmail.com wrote: So I came out with this (I'm not yet sure it will work. I can tell you it compiles). You should never let your model rely on the context or on the configuration. Further more, you should try to avoid calling Singletons in

[symfony-users] Re: Apache Configuration

2009-07-02 Thread Felipe Hummel
That leads to my first question. So I can't have both /var/www and my symfony directory (like /home/felipe/symfony) accessible from localhost. Right? So I can put my symfony project in /var/www/myproject. But I know there are some security problems. Is there a way to overcome them? Like the

[symfony-users] Re: Apache Configuration

2009-07-02 Thread iamdecal
2009/7/2 Felipe Hummel felipehum...@gmail.com That leads to my first question. So I can't have both /var/www and my symfony directory (like /home/felipe/symfony) accessible from localhost. Right? So I can put my symfony project in /var/www/myproject. But I know there are some security

[symfony-users] Re: Apache Configuration

2009-07-02 Thread Eno
On Thu, 2 Jul 2009, Felipe Hummel wrote: That leads to my first question. So I can't have both /var/www and my symfony directory (like /home/felipe/symfony) accessible from localhost. Right? So I can put my symfony project in /var/www/myproject. But I know there are some security