[symfony-users] DBFinderPlugin future

2009-11-19 Thread Jan Fabry
Hello, Is anyone working on updating DbFinderPlugin for Symfony 1.3/1.4, and the included versions of the ORM frameworks? I don't know whether François will spend more time on it, and I don't see any other activity. I would like to use it for a new project, but I guess the best way to do this is

[symfony-users] Re: sfguarduser. How to check before login ?

2009-11-19 Thread Avani
Hi Gareth, thanks verymuch. It helped. I added below line code in sfGuardBasicSecurityFilter //signour if guest user and click on login page if($this-getContext()-getUser()-getGuardUser()-getIsGuest()) {

[symfony-users] Bonjour - nouvel utilisateur a un probleme 'unable to write cache file'

2009-11-19 Thread Malcolm
Bonjour a tous! Avant que vous ne me sautiez dessus - le probleme est un peu plus complexe qu'au premier regard. Je dois travailler sur un projet existant, sous Symfony 1.021. J'ai acquis la le projet du SVN. Etant sous Mac os, et mon disque dur etant formate en case-insensitive, j'ai du monter

[symfony-users] Thanks to the devs of symfony

2009-11-19 Thread Gareth McCumskey
I know this isn't exactly an issue that needs resolving but I just had to send my thanks to the symfony developers for producing such a great framework. Why? you might ask. This morning our company directors held a breakfast demo to numerous companies and potential clients to show the products and

[symfony-users] Re: DBFinderPlugin future

2009-11-19 Thread Jan Fabry
On Nov 19, 12:20 pm, Gareth McCumskey gmccums...@gmail.com wrote: You can stick with Propel can't you? Doctrine is only the default plugin and can be changed to use Propel instead. Yes, the standard functionality of DbFinder might work (the simpler querying), but I was thinking about the admin

Re: [symfony-users] Thanks to the devs of symfony

2009-11-19 Thread Sid Ferreira
UP! On Thu, Nov 19, 2009 at 11:55, Gareth McCumskey gmccums...@gmail.comwrote: I know this isn't exactly an issue that needs resolving but I just had to send my thanks to the symfony developers for producing such a great framework. Why? you might ask. This morning our company directors held a

[symfony-users] Symfony 1.3 doctrine:build-schema error

2009-11-19 Thread PhiKapJames
I just updated my libraries to what is in the repository this morning. I had made a change to my existing MySQL database schema, so I wanted to regenerate the models, etc. When I went to rebuild the schema this time, I ran into this error: jwh...@sejam-linux:~/TestSymfony$ ./symfony

[symfony-users] Re: I18n, Doctrine, Postgres, Schemas

2009-11-19 Thread jakub novotny
Problem solved. We have just added parameter tableName: schema.table_name to section I18n in file schema.yml and it works. On Nov 2, 2:34 pm, jakub novotny jakub.novot...@gmail.com wrote: I18n, Doctrine, Postgres, Schemas I have been working on project written in Symfony 1.2.9 with Doctrine

[symfony-users] Raising sfValidatorError inside action?

2009-11-19 Thread Christian Hammers
Hello Inside the executeXYZ() function of an actions.class.php I check a condition that can not be put into validators. If that condition fails I still want to have a red error message on top of the formular. How is this possible? I.e.: public function executeXYZ(sfWebRequest $request) {

Re: [symfony-users] Raising sfValidatorError inside action?

2009-11-19 Thread Bernhard Schussek
The solution is to put the check into a pre or post validator in the form. You can pass everything into the form that is required to perform the check. Bernhard -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email

[symfony-users] Re: cant load data from fixture to database through doctrine:data-load

2009-11-19 Thread rosb
Checks Privileges on your User db On Nov 19, 5:01 am, Shahzeb Farooq sftra...@gmail.com wrote: hi all , i am facing a problem that i have created a project all gone well but im stuck at symfony doctrine:data-load when ever i tried to load data from /fixtures  to database. when i execute the

Re: [symfony-users] Re: Save embedded forms at diferent times

2009-11-19 Thread Germana Oliveira
Stefan Paschke escribió: Hi Germana I have to embedded Forms into a main Form, and i have to do this process: 1. Save the embedded Form number1 2. Save the main Form (the main Form have some Foreing Key from Embedded Form number1) that is pretty much standard. why does it not

Re: [symfony-users] Re: Save embedded forms at diferent times

2009-11-19 Thread Stefan Paschke
Hi Germana did you aggregate the object that populates the embedded form? In the main forms configure(): public function configure() { ... if ( $this-object-getPersona() == null ) { $this-object-setPersona( new Persona() ); } $persona_form = new PersonaForm(

[symfony-users] Unsubscribe from the group

2009-11-19 Thread Damien Brugne
Hello Admins, Please unsubscribe me from this list. I tried to send an email to symfony-users+unsubscr...@googlegroups.com and received an error message: Delivery to the following recipient failed permanently: symfony-users+unsubscr...@googlegroups.com Technical details of permanent

AW: [symfony-users] Unsubscribe from the group

2009-11-19 Thread Patrick Landolt
Same problem here! please remove me, too. thanks Von: Damien Brugne [mailto:dbru...@x-prime.com] Gesendet: Donnerstag, 19. November 2009 18:22 An: symfony-users@googlegroups.com Betreff: [symfony-users] Unsubscribe from the group Hello Admins, Please unsubscribe me from this

[symfony-users] Re: Separating Presentation from Symfony

2009-11-19 Thread Simon Cast
Yes but he got stuck on the 100 pages about the framework and honestly didn't want to argue. On Sep 29, 10:35 pm, Eno symb...@gmail.com wrote: On Tue, 29 Sep 2009,SimonCast wrote: I written the application to use the full Symfony framework however the person responsible for the UI doesn't

[symfony-users] Re: Separating Presentation from Symfony

2009-11-19 Thread Simon Cast
No, they aren't using a framework at all and simply used PHP with JS. The frontend guy is more designer than dev. On Sep 30, 4:06 am, Ant Cunningham ant.cunning...@gmail.com wrote: SimonCast wrote: Why? Quite simply my programming skills/experience doesn't extend to doing what you talk about

[symfony-users] Re: Separating Presentation from Symfony

2009-11-19 Thread Simon Cast
Progress update on using Symfony as API with frontend dealt with elsewhere. It is working surprising well. The MVC aspect of Symfony makes creating REST web services easy and the View layer helps return the data nicely formatted. Symfony has been well suited to this approach. -Simon On Sep

RE: [symfony-users] Re: DBFinderPlugin future

2009-11-19 Thread Daniel Kucharski
It would be indeed nice if some effort could be made to get this plugin working on symfony 1.3/1.4. I can't migrate my 1.2 project to 1.3 as it heavily depends on this plugin. My original plan was to migrate my project at some point in the future to Doctrine and ease the transaction-pain by

Re: [symfony-users] SVN repo not authenticating?

2009-11-19 Thread Lee Bolding
Thanks anyway, Fabian. I just resolved it by making a fresh checkout, then manually overwriting all of the changed files. Not sure why that worked, I was still prompted for my authentication details, and still entered the same... Anyway, that means there's a brand spanking new

Re: [symfony-users] Bonjour - nouvel utilisateur a un probleme 'unable to write cache file'

2009-11-19 Thread Sid Bachtiar
Hi Malcolm, Nice to meet you :D Some of us could probably help if we could speak French 2009/11/19 Malcolm malkaz...@gmail.com: Bonjour a tous! Avant que vous ne me sautiez dessus - le probleme est un peu plus complexe qu'au premier regard. Je dois travailler sur un projet existant, sous

[symfony-users] Not quite symfony but very related (and cool)

2009-11-19 Thread a...@speedypin.com
http://www.youtube.com/watch?v=a0qMe7Z3EYgfeature=player_embeddedaia=true Dudes pretty cool, very funny, good info presented well/authentic. I just wanted to share, hopefully all Symfony developers are upper crust developers of the industry so may find this worth a view. (I certainly like it and

Re: [symfony-users] Not quite symfony but very related (and cool)

2009-11-19 Thread Sid Bachtiar
Hahaha, very nice ... thanks for the link On Fri, Nov 20, 2009 at 1:31 PM, a...@speedypin.com a...@speedypin.com wrote: http://www.youtube.com/watch?v=a0qMe7Z3EYgfeature=player_embeddedaia=true Dudes pretty cool, very funny, good info presented well/authentic. I just wanted to share,

[symfony-users] The template TestTwigSuccess.php does not exist or is unreadable in .

2009-11-19 Thread ReynierPM
Hi every: I'm trying to use Twig on Symfony 1.4RC1. After read the docs I've wrote this piece of code: function preExecute() { require_once sfConfig::get('sf_lib_dir').'/twig/Autoloader.php'; Twig_Autoloader::register(); } public function executeTestTwig() { $loader = new

Re: [symfony-users] Re: Save embedded forms at diferent times

2009-11-19 Thread Germana Oliveira
Wel i have this in my lib/form/AudienciaForm.class.php public function configure() { if ($this-isNew()) { $conciliadorForm = new AudienciaConciliadorForm(); $denuncianteForm = new PersonaForm(null, array('tipo' = 'natural')); $denunciadoForm = new

Re: [symfony-users] Re: Doctrine_Record_UnknownPropertyException

2009-11-19 Thread Paul Witschger
I did a little trial and error and found out that if you change your method call to: in my case getAddress_2() in your case getPhone_1() it will work. I'm not sure why it camel cases the function call, if it doesn't work, but I do think it may have something to do with it only containing a

[symfony-users] Re: The template TestTwigSuccess.php does not exist or is unreadable in .

2009-11-19 Thread Richtermeister
You're not doing anything with the output of twig. as far as the surrounding symfony application is concerned, you're executing the TestTwig action, and it's looking for a corresponding template. In your case you want to echo the twig output and then say: return sfView::NONE, or stick the twig

[symfony-users] Displaying form validation erros using -renderGlobalErrors()

2009-11-19 Thread Chris Renfrow
I have no clue why I am having such a hard time with this, I have used the symfony form validation before, but for some reason I just can't get the errors messages to display using the renderGlobalErrors() form method. the $form['field']-hasError() works and I am using it to turn the input box

[symfony-users] Re: Forms - a mini survey

2009-11-19 Thread Dennis
Well, no one likes to tag onto a 'whining' post. I shouldn't be surprised :-) When I'm rich, (because of using symfony), I will hire somebody to produce 'database mentality' documentation. (See Postgres docs, or Oracle docs) On Nov 12, 8:40 pm, Dennis gear...@sbcglobal.net wrote: I have had

[symfony-users] Re: Create form manually, but add csrf-token?

2009-11-19 Thread Dennis
addCSRFProtection(null); http://groups.google.com/group/symfony-users/browse_thread/thread/08d7a1e4b53f3bb0 On Nov 18, 8:20 pm, Antoine S. antoine.spodobal...@gmail.com wrote: Hi, if your customised form extends sfForm, it should not be a problem, and include the csrf, and valid it. Don't

[symfony-users] Re: Create form manually, but add csrf-token?

2009-11-19 Thread Dennis
http://groups.google.com/group/symfony-users/browse_thread/thread/08d7a1e4b53f3bb0 On Nov 18, 8:20 pm, Antoine S. antoine.spodobal...@gmail.com wrote: Hi, if your customised form extends sfForm, it should not be a problem, and include the csrf, and valid it. Don't forget to display it in

Re: [symfony-users] Re: Separating Presentation from Symfony

2009-11-19 Thread Gareth McCumskey
They don't need to ;) On Thu, Nov 19, 2009 at 9:50 PM, Simon Cast simon.c...@gmail.com wrote: They didn't want to learn the Symfony forms. :( On Sep 29, 10:34 pm, Eno symb...@gmail.com wrote: On Tue, 29 Sep 2009,SimonCast wrote: I would like to use the full Symfony layer but the person

Re: [symfony-users] How to set the Html 'value' attribute from a sfWidgetFormInputHidden

2009-11-19 Thread Gareth McCumskey
http://www.symfony-project.org/forms/1_2/en/01-Form-Creation#chapter_01_sub_defining_default_values_for_fields On Fri, Nov 20, 2009 at 12:39 AM, gato chlr dany...@gmail.com wrote: hi! How to set the Html 'value' attribute from a sfWidgetFormInputHidden i mean, $a = new