[symfony-users] Re: Doctrine2 symfony 1.4

2010-08-30 Thread Maxim Oleinik
Have you even tried to contribute to the original plugin first? It would be nice if the changes can be made in the original sfDoctrine2Plugin instead of having 2 of them. Right. But i'd prefer to make pull requests to official plugin git mirror instead of direct commiting to official svn

[symfony-users] Re: a good IDE for Symfony

2010-08-30 Thread Florian
Already listed two times, but anyway : phpstorm. Really good java based ide. They have a pre realease availa ble for free On 10 août, 18:05, Paulo Ribeiro ribeiro.pau...@googlemail.com wrote: Nobody mentioned. So here it goes http://www.jetbrains.com/phpstorm/ For me it's the best IDE

[symfony-users] How should I manipulate columm values of a record

2010-08-30 Thread Marcio Pozzato
Hi, Could you help me about DAY 3, The ORM? After generated the PHP Classes, they put the codes below that can be manipulated, but how do I proceed? Should I insert this codes into the class codes? Which classes? The column values of a record can be manipulated with a model object by using some

[symfony-users] Re: headers already sent

2010-08-30 Thread bibob
Hi, If I write return sfView::NONE; at the end of the function, the problem is solved, but I'm not sure that it is very clean and elegant. I rather think that I have to rewrite the functions and expurgate all the HTML instructions from them. Thank you all for your help. On 25 août, 19:11, Florian

Re: [symfony-users] Re: headers already sent

2010-08-30 Thread Stéphane
You mean you are writting HTML within actions ? Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Mon, Aug 30, 2010 at 3:18 PM, bibob olivier.bib...@cnfpt.fr wrote: Hi, If I write return sfView::NONE; at the

[symfony-users] Re: a good IDE for Symfony

2010-08-30 Thread ryr
try JetBrains PhpStorm -- 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 Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com

Re: [symfony-users] [Symfony2] The service router does not exist.

2010-08-30 Thread Stephan Ebelt
this works, thanks. Didnt notice that branch in the first place. stephan On Sat, Aug 28, 2010 at 02:49:14PM +0200, Fabien Potencier wrote: Use the sandbox PR3 tag. Fabien -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.org | fabien.potencier.org

[symfony-users] Pagination works with table but not with query

2010-08-30 Thread Social It
Hello: I am trying to paginate a query on a debate with a lot of records. Paginating the table works fine, but when I add the query, even with a limit, the script times out. Here is the code: $query=Doctrine_Query::create() -select('c.name, d.phone') -from('company c, companyDetails d')

[symfony-users] Pagination works with table but not with query

2010-08-30 Thread Social It
Hello: I am trying to run a query on two tables and paginate the results. My db is massive and will crash the server if all results are pulled. sfDoctrinePager seems to limit the results when I just pull straight from a table, but when I try to set a query it lags and then crashes. Do I need to

[symfony-users] sfGuardUser with an alias of s in your query does not reference the parent component it is related to.

2010-08-30 Thread Inform4tic4mente
I got the error reported in subject when tryng to do something like this: public function addWithUserQuery (DoctrineQuery $q = null) { if (is_null($q)) { $q = $this-createQuery(); } $q-leftJoin('sfGuardUser s'); return $q; } in a table

[symfony-users] Escaped Form

2010-08-30 Thread Tomen Meta
I checked out the current PR3 Branch from symfony-sandbox and tried to build a Form with it (since it didnt work for me with PR2). My controller contains a register action: public function registerAction() { $user = new User(); $form = new Form('user', $user,

[symfony-users] Re: The service router does not exist.

2010-08-30 Thread Tomen Meta
This seems to have changed from the tutorial. Try this: ?php echo $view-get('router')-generate('register',array()) ? On 28 Aug., 12:09, Stephan Ebelt s...@shared-files.de wrote: Hello, I am trying to get the sandbox HelloKernel.php file adopted to the latest HEAD of Symfony2 (271b9637). It

[symfony-users] sfDoctrineGuardPlugin 1.0.4 login using username field

2010-08-30 Thread Dirk Conzelmann
Hello, I am using Symfony Version 1.4.1 together with the dfDoctrineGuardPlugin. Everything worked fine out of the box. My question: How can I make the Email field optional. I want the users to be able to login without using their email- address. Also I want to create new users which don't have

[symfony-users] Re: Coloured command prompt output in Windows

2010-08-30 Thread Paulo Ribeiro
Hi! I forgot to mention that in some cases you must follow the steps in http://www.symfony-zone.com/wordpress/2009/10/15/colorize-your-windows-console-output/ . Cheers! Paulo On 29 ago, 10:19, Paulo Ribeiro ribeiro.pau...@googlemail.com wrote: Hello! for you guys that like me until yesterday

Re: [symfony-users] Re: Doctrine2 symfony 1.4

2010-08-30 Thread Jonathan Wage
Russ, is it possible to move the plugin to git? - Jon On Mon, Aug 30, 2010 at 1:32 AM, Maxim Oleinik maxim.olei...@gmail.comwrote: Have you even tried to contribute to the original plugin first? It would be nice if the changes can be made in the original sfDoctrine2Plugin instead of having

[symfony-users] Doctrine, I18N behavior and migrations.

2010-08-30 Thread Simone Fumagalli
Hello. In my project I've some tables with the doctrine I18N behavior. When I create the initial migration everything is fine but at the first change Symfony also add a drop for the table language in the up method. Due there are no model languages when I run doctrine:migrate I get an error

[symfony-users] Re: Unsecure module into secure application

2010-08-30 Thread maxpowel
You are right but login page is defined in settings.yml, for example: login_module: sfGuardAuth login_action: signin On 30 ago, 07:44, Tom Ptacnik to...@tomor.cz wrote: I think you can, because login page is unsecured action in the secured app... On 28 srp,

[symfony-users] Routing [ Method + Type ]

2010-08-30 Thread Super-OTR.de
Hello, got some problem with understanding what the options method and type do in the routing.yml. Espacially the type:list. Could some1 explain that to me ? -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this

[symfony-users] Trying to call an object method.

2010-08-30 Thread Javier Garcia
Hi, I have created an object method called getContenidoParcial(). When i call it, i get the error Unknown record property / related component contenido_parcial on Mensaje I created the method I say inside the Mensaje class this way: class Mensaje extends BaseMensaje { public function

Re: [symfony-users] Re: Coloured command prompt output in Windows

2010-08-30 Thread Augusto Flavio
Hi Paulo, if you understand portuguese you can check this: http://augustomorais.wordpress.com/2010/02/01/symfony-cli-colorido-cygwin/ Bye Augusto Morais 2010/8/30 Paulo Ribeiro ribeiro.pau...@googlemail.com Hi! I forgot to mention that in some cases you must follow the steps in

[symfony-users] problems with templates new

2010-08-30 Thread vero
I have in my schema: project: ... owner: { type: varchar, size: 128, foreignTable:sf_guard_user, foreignReference: username, required: true, onDelete: cascade } ... If I include in the unset owner, I have an error. But if I don't include owner, how I put the owner in the documents. The user can

[symfony-users] CSRF Protection via GET

2010-08-30 Thread Super-OTR.de
Hello, is it possible to use the CSRF Protectionf or GET Links ? So its just another variable /protection/ . Thanks -- 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

[symfony-users] CSRF Token on AJAX batch form fails, why?

2010-08-30 Thread Gustavo Adrian
Hi, I'm creating my own admin generator with heavy use of AJAX. Every CRUD action works fine, except with the batch actions. I've tried to use the same code that is used on the original admin generator but it keeps throwing CSRF attack detected. I have a form that wraps a table, with each row