Re: [symfony-users] [Symfony2] - Fatal error on post for contact form

2011-05-05 Thread Don Pinkster
It seems like you dont have the PHP intl extension installed. http://nl.php.net/intl On Thu, May 5, 2011 at 1:52 PM, seven seven wrote: > Hi there, > I am receiving this error when I am trying to submit data from a contact > form : > Fatal error: Call to undefined function > Symfony\Component\Fo

Re: [symfony-users] [Symfony2][Forms] Object value in Twig template

2011-05-05 Thread Don Pinkster
The ticket is created: https://github.com/symfony/symfony/issues/784 On Thu, May 5, 2011 at 12:33 PM, Fabien Potencier wrote: > On 5/5/11 11:29 AM, Bernhard Schussek wrote: >> >> 2011/5/5 Don Pinkster: >>> >>> Awesome, thanks! Maybe possible

Re: [symfony-users] [Symfony2][Forms] Object value in Twig template

2011-05-05 Thread Don Pinkster
Awesome, thanks! Maybe possible to make a shortcut for this? Like: {{ form.name.value }} On Wed, May 4, 2011 at 9:38 PM, Bernhard Schussek wrote: > Hi, > > Try form.vars.value. > > Bernhard > > -- > If you want to report a vulnerability issue on symfony, please send it to > security at symfony-p

[symfony-users] [Symfony2][Forms] Object value in Twig template

2011-05-04 Thread Don Pinkster
Hello list, How can I retrieve the value of the object (data_class) in my Twig view for a readonly purpose? In symfony 1 I could use $form['field']->getValue(). Thanks in advance. -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You

[symfony-users] [Symfony2][Security] Using an alternative AuthenticationToken

2011-04-21 Thread Don Pinkster
Hi, For my security implementation I use an external XML service. I send the username and password and I receive a 1 or 0 based on if the authentication was successful or not. This happens in the UserProvider. What is the ideal way to handle this? I think I need to use something different then Use

[symfony-users] [Symfony2] Using the new FormFactory with the Dependency Injection Container

2011-04-19 Thread Don Pinkster
Hello, To use my Controller as a Service I want to inject a form created by the FormBuilder into my Controller. I have it working, but I feel there must be a better way for achieving this. Can someone point me in the right direction? https://gist.github.com/7af01262e36c8931c2ef Thanks in advance

Re: [symfony-users] [Symfony2] Injecting routes with parameters into javascript

2011-03-28 Thread Don Pinkster
Most of the time you want to submit an element to an page, maybe a value in a , an ID of a div or something else. What I do is generate the url for each element and put in into a data-url attribute so I can just access that. May be some overhead to generate urls for all the items but I don't have

[symfony-users] [Symfony2] Testing your Doctrine Entities and Repositories

2011-03-09 Thread Don Pinkster
I am testing my services (controllers) with plain PHPUnit, this all works great. But now I want to test my entities and repositories. How can I specify the environment the tests are run in with PHPUnit without the Symfony webtest client? -- If you want to report a vulnerability issue on symfon

RE: [symfony-users] Re: I would like to have backend the default application.

2010-05-07 Thread Don Pinkster
That is correct. Met vriendelijke groet, Locosoft B.V. Don Pinkster -Oorspronkelijk bericht- Van: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com] Namens alexmm Verzonden: vrijdag 7 mei 2010 16:06 Aan: symfony users Onderwerp: [symfony-users] Re: I would like to

RE: [symfony-users] I would like to have backend the default application.

2010-05-07 Thread Don Pinkster
Edit your index.php to include backend instead of frontend Met vriendelijke groet, Locosoft B.V. Don Pinkster -Oorspronkelijk bericht- Van: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com] Namens alexmm Verzonden: vrijdag 7 mei 2010 15:48 Aan: symfony users

RE: [symfony-users] Any opinion about this code? Coud be shorter or better?

2010-05-07 Thread Don Pinkster
$messages[0] but simple $messages Met vriendelijke groet, Locosoft B.V. Don Pinkster -Oorspronkelijk bericht- Van: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com] Namens Javier Garcia Verzonden: vrijdag 7 mei 2010 15:07 Aan: symfony-users@googlegroups.com Onder

Re: [symfony-users] Re: isValid always showing false

2010-04-20 Thread Don Pinkster
My experience is that you must disable the CSRF protection in your sfForm configure method instead of outside the class. -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Googl

[symfony-users] sfObjectRouteCollection with method_for_query

2010-03-11 Thread Don Pinkster
Is it me or am I missing the option to specify a method_for_query in an sfObjectRouteCollection? There is a model_methods option but this acts in a different way (not passing the Doctrine_Query). For now I created my own sfObjectRouteCollection (http://gist.github.com/329159, not completed yet) whi

[symfony-users] Specifiy route options with sfObjectRouteCollection

2009-12-22 Thread Don Pinkster
Hi list, With a ObjectRoute you can specify method_for_query to finetune your Doctrine_Query. Now Im generation a Route collection but I haven't found a way to specify method_for_query for all these generated routes. The options passed to the Route in sfObjectRouteCollection.class.php#102 are

[symfony-users] Re: Test:All under Windows

2009-11-04 Thread Don Pinkster
I had the same problem. For me the problem lies in the class "lime_harness" in lime.php He couldn't find my exe because it did a is_executable on the following string: "C:\Program Files\Zend\ZendServer\bin"\php.EXE All I did was a replace on this string (lime.php:722): $file = str_replace('"', ''

[symfony-users] Re: Symfony-Doctrine Migrations and Branches

2009-05-13 Thread Don Pinkster
Hi there, I know that rails uses timestamps in their migrations so the chance of same migrations is almost zero. Maybe something to let the Doctrine developers look into? Don smnirven schreef: > Hey folks: > > I've recently started using doctrine migrations in a symfony1.1 setup > - and I hav

[symfony-users] Re: Why this behaviour

2009-05-12 Thread Don Pinkster
In your _form.php you have the following line: renderLabel(), $form['estado_reservacion'] ?> It is trying to access the widget which does not exists anymore and therefore throwing the error. 2009/5/12 Reynier Perez Mira > > > Can you paste trace of the error? > Sure ... > > # at () > in SF_SYM

[symfony-users] Modify the Doctrine_Query used by the Admin Generator

2009-04-20 Thread Don Pinkster
thod and > table_count_method(optional). These are the methods used on the > Doctrine_Table instance for your model to power the list. > > - Jon > > On Mon, Apr 20, 2009 at 7:33 AM, Don Pinkster wrote: > >> >> Hello, >> >> I want to use the same symfo

[symfony-users] Modify the Doctrine_Query used by the Admin Generator

2009-04-20 Thread Don Pinkster
Hello, I want to use the same symfony application for multiple domains. The layout is all the same and all website have the same elements. On the frontend I use the $request->getHost() to filter my queries for the specific domain. Now the interesting part, I want the same thing for the admin gen

[symfony-users] Parameters with collection_actions

2009-01-27 Thread Don Pinkster
category id. How can I accomplish this? Kind regards, Don Pinkster --~--~-~--~~~---~--~~ 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 u

[symfony-users] Symfony 1.1 on Git

2008-06-27 Thread Don Pinkster
of it. Kind regards, Don Pinkster --~--~-~--~~~---~--~~ 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,