Re: [symfony-users] Mandatory fields created_at

2010-07-09 Thread Eno
On Fri, 9 Jul 2010, Samuel Morhaim wrote: > I created a simple new Table in my schema, and selected it as timestampable, > then generated the CRUD.. but for some reason is setting the created at and > updated at fields as mandatory, and not really just using default values... > what am i doing wro

[symfony-users] Mandatory fields created_at

2010-07-09 Thread Samuel Morhaim
Hi, I created a simple new Table in my schema, and selected it as timestampable, then generated the CRUD.. but for some reason is setting the created at and updated at fields as mandatory, and not really just using default values... what am i doing wrong and why do i need to enter this fields? th

[symfony-users] jobeet tutorial

2010-07-09 Thread dobera
I am new to Symfony, I am currently stuck at the following command: php symfony doctrine:build --all --no-confirmation Notice: Undefined index: dbname in C:\dev\sfprojects\jobeet\lib\vendor \symfony\l ib\plugins\sfDoctrinePlugin\lib\vendor\doctrine\Doctrine \Connection.php on line 1472 >> doc

Re: [symfony-users] Re: Symfony2 PR3

2010-07-09 Thread Ekinox
Le 09/07/2010 17:59, Richard D Shank a écrit : On 07/09/2010 07:50 AM, Ekinox wrote: No, I don't. We believe that symfony 1.4 is just a little under CakePHP, but Symfony2 is two kilometers higher. So we had to choose between those two. Symfony2 is not ready, so subject closed, CakePHP. Sorry f

[symfony-users] About customizing the form filters

2010-07-09 Thread Javier Garcia
Hi, In the frontend I have page with a list and a form filter next to it that shows all the users of social network. I would like to hide the user of the session in that list, so how can i do it? My first thought is creating a function addColumnQuery () for each field of the form, and

Re: [symfony-users] Re: Symfony2 PR3

2010-07-09 Thread Michał Piotrowski
2010/7/9 Richard D Shank : > http://symfony2bundles.org/ Pretty cool! :) Thanks for the link! Regards, Michal -- 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

Re: [symfony-users] Re: Symfony2 PR3

2010-07-09 Thread Richard D Shank
On 07/09/2010 07:50 AM, Ekinox wrote: No, I don't. We believe that symfony 1.4 is just a little under CakePHP, but Symfony2 is two kilometers higher. So we had to choose between those two. Symfony2 is not ready, so subject closed, CakePHP. Sorry for bringing up a closed subject, but the emails

[symfony-users] Re: sfShoppingCart

2010-07-09 Thread despuestambien
I'm sorry, $this->getUser()->getShoppingCart()->clear(); works perfectly! I just had an error on the route and it didn't execute the correct action, it was executing the index. Thanks a lot for your help!!! On 8 jul, 10:10, snakemaycry wrote: > HI > > I haven't been using sfShoppingCart for a

Re: [symfony-users] Symfony2 PR3

2010-07-09 Thread Ekinox
Le 09/07/2010 16:37, Lucas S. Mancini a écrit : I dont think you shoud make this question " So we should use CakePHP ? ".. is like make a question to bill gates, if i shoud buy an windows 7 os or an leopard os... cheers.. 2010/7/9 Michał Piotrowski mailto:mkkp...@gmail.com>> 2010/7/9 Ek

Re: [symfony-users] Re: Symfony2 PR3

2010-07-09 Thread Ekinox
Le 09/07/2010 16:41, catchamonkey a écrit : Do you mind me asking, why would you use CakePHP instead of symfony 1.4? Chris On Jul 9, 3:39 pm, Ekinox wrote: Le 09/07/2010 16:27, Michał Piotrowski a écrit :> 2010/7/9 Ekinox: So we should use CakePHP ? If you need stable

[symfony-users] Re: Symfony2 PR3

2010-07-09 Thread catchamonkey
Do you mind me asking, why would you use CakePHP instead of symfony 1.4? Chris On Jul 9, 3:39 pm, Ekinox wrote: > Le 09/07/2010 16:27, Michał Piotrowski a écrit :> 2010/7/9 > Ekinox: > > >> So we should use CakePHP ? > > > If you need stable API than yes. But wait! There is a symfony 1.4 with >

Re: [symfony-users] Symfony2 PR3

2010-07-09 Thread Ekinox
Le 09/07/2010 16:27, Michał Piotrowski a écrit : 2010/7/9 Ekinox: So we should use CakePHP ? If you need stable API than yes. But wait! There is a symfony 1.4 with 3 years long term support ;) Regards, Michal We may not wait, as the project must release in September (it is a we

Re: [symfony-users] Symfony2 PR3

2010-07-09 Thread Lucas S. Mancini
I dont think you shoud make this question " So we should use CakePHP ? ".. is like make a question to bill gates, if i shoud buy an windows 7 os or an leopard os... cheers.. 2010/7/9 Michał Piotrowski > 2010/7/9 Ekinox : > > So we should use CakePHP ? > > If you need stable API than yes. But w

Re: [symfony-users] Symfony2 PR3

2010-07-09 Thread Michał Piotrowski
2010/7/9 Ekinox : > So we should use CakePHP ? If you need stable API than yes. But wait! There is a symfony 1.4 with 3 years long term support ;) Regards, Michal -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this mes

Re: [symfony-users] Symfony2 PR3

2010-07-09 Thread Ekinox
Le 09/07/2010 16:12, Fabien Potencier a écrit : On 7/9/10 3:49 PM, Ekinox wrote: Hello, I have juste finished reading Symfony2's documentation. It often speaks of a Symfony2 PR3 package. However, when I looked at the installation page ( http://symfony-reloaded.org/code ), I did not see any Sym

Re: [symfony-users] Symfony2 PR3

2010-07-09 Thread Fabien Potencier
On 7/9/10 3:49 PM, Ekinox wrote: Hello, I have juste finished reading Symfony2's documentation. It often speaks of a Symfony2 PR3 package. However, when I looked at the installation page ( http://symfony-reloaded.org/code ), I did not see any Symfony2 PR3 package ... The ZIP and TGZ archives ar

[symfony-users] Symfony2 or CakePHP ?

2010-07-09 Thread Ekinox
Hello, Will Symfony2 's interface evolve just a little, or will it be rethought before the final release ? So I will know if I should use it for a big project. In fact, I may not use symfony 1.4 ; as the project chief (even if it is not a professional project) thinks it is too heavy (and I think

Re: [symfony-users] Symfony2 PR3

2010-07-09 Thread Ekinox
Le 09/07/2010 15:56, Michał Piotrowski a écrit : W dniu 9 lipca 2010 15:55 użytkownik Michał Piotrowski napisał: Hi, 2010/7/9 Ekinox: Hello, I have juste finished reading Symfony2's documentation. It often speaks of a Symfony2 PR3 package. However, when I looked at the installatio

[symfony-users] Re: sfEasyGMapPlugin: Mulitple maps on one page

2010-07-09 Thread Fabrice Bernhard
Hi, indeed there might be some problems with two maps on the same page using the sfEasyGMapPlugin. First you will need to specify in the options a different "js_name" for your two maps. Then you might have to hack the "initialize" function and call it $this->getJsNamE().'_initialize' instead If

Re: [symfony-users] Symfony2 PR3

2010-07-09 Thread Michał Piotrowski
W dniu 9 lipca 2010 15:55 użytkownik Michał Piotrowski napisał: > Hi, > > 2010/7/9 Ekinox : >> Hello, >> >> I have juste finished reading Symfony2's documentation. It often >> speaks of a Symfony2 PR3 package. However, when I looked at the >> installation page ( http://symfony-reloaded.org/code ),

Re: [symfony-users] Symfony2 PR3

2010-07-09 Thread Michał Piotrowski
Hi, 2010/7/9 Ekinox : > Hello, > > I have juste finished reading Symfony2's documentation. It often > speaks of a Symfony2 PR3 package. However, when I looked at the > installation page ( http://symfony-reloaded.org/code ), I did not see > any Symfony2 PR3 package ... The ZIP and TGZ archives are

[symfony-users] Symfony2 PR3

2010-07-09 Thread Ekinox
Hello, I have juste finished reading Symfony2's documentation. It often speaks of a Symfony2 PR3 package. However, when I looked at the installation page ( http://symfony-reloaded.org/code ), I did not see any Symfony2 PR3 package ... The ZIP and TGZ archives are all PR2 releases, and I believe th

[symfony-users] Re: Question about a choice widget

2010-07-09 Thread Javier Garcia
Sorry this is the right code is this: $years = range(14,130); $this->widgetSchema['age'] = new sfWidgetFormSchema(); foreach (array('from', 'to') as $value) { $this->widgetSchema['age'][$value] = new sfWidgetFormChoice(array( 'label' => $value,

[symfony-users] Question about a choice widget

2010-07-09 Thread Javier Garcia
Hi, I have a choice widget in a form: |$years= range(14,130); $this->widgetSchema['age'] = new sfWidgetFormSchema(); foreach (array('from', 'to') as $value) { $this->widgetSchema['edad'][$value] = new sfWidgetFormChoice(array( 'label' => $value, 'choices' => ar

[symfony-users] Re: where to put ajax url

2010-07-09 Thread Massimiliano Arione
On 8 Lug, 15:13, Kevin wrote: > In my fight to keep all my javascript unobtrusive I have been > wondering what the best practice to place the ajax urls so they work > in all environments (dev/staging/production). > > There has been a discussion about this before but it mostly dealt with > link hre

Re: [symfony-users] Abridged summary of symfony-users@googlegroups.com - 14 Messages in 10 Topics

2010-07-09 Thread joost . farla
Beste, Vrijdag 9 en maandag 12 juli ben ik niet aanwezig op kantoor. U kunt voor dringende zaken contact opnemen met Dimitri van Hees: dimi...@freshheads.com of 013 5448761. Met vriendelijke groet, Joost Farla joost.fa...@freshheads.com - - freshheads grafisch ontwerp en internet applicaties

Re: [symfony-users] Re: sfEasyGMapPlugin: Mulitple maps on one page

2010-07-09 Thread Ricardo Jose Guzman Milanes
I tried sfEasyGMapPlugin once, but used Phoogle instead. And you can have as many maps as you want per template http://www.symfonylab.com/phoogle-usage-with-symfony/ -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this m

[symfony-users] Running tests into another environment

2010-07-09 Thread jean-christophe zulian
Hello list, I am trying to run some tests under another environment than the test environment. The goal of it would be to run 'integration' tests on a stage server. The stage server is able to talk to other servers from partners (something the developer machines cannot do). For that we basical

[symfony-users] Re: sfEasyGMapPlugin: Mulitple maps on one page

2010-07-09 Thread Mathieu Comandon
On Jul 9, 11:29 am, Johannes Trommer wrote: > Hi folks, > > Is there any possibility to include more then one map into a template? I'm afraid not, at least for the moment. I've reported this issue to the developers (bug report here : http://labs.theodo.fr/issues/show/12 ). I think I'll try to fi

Re: [symfony-users] Code working in dev but not in prod

2010-07-09 Thread Jose R. Prieto
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Have you checked the .htaccess file? May be that in this file you will find the problem... Or try to set the param no_script_name to false in production, and test app... Regards :) El 09/07/10 09:34, Matthieu Fradcourt escribió: > Hello, > > I need

Re: [symfony-users] i18n: show the all translatable strings ??

2010-07-09 Thread Javier Garcia
Thanks, but in that list I'm missing the forms stuff: labels, validation errors... Is that normal? On 07/07/2010 11:07 PM, Alexandru-Emil Lupu wrote: ./symfony i18n:find frontend On Wed, Jul 7, 2010 at 9:25 PM, Javier Garcia > wrote: Hi, is there any w

[symfony-users] sfEasyGMapPlugin: Mulitple maps on one page

2010-07-09 Thread Johannes Trommer
Hi folks, Is there any possibility to include more then one map into a template? Regards Johannes -- 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 use

[symfony-users] Code working in dev but not in prod

2010-07-09 Thread Matthieu Fradcourt
Hello, I need your help to understand why my code is working in development mode but not in production mode... My code : '+item.value +''); nbelt++; } }); if (nbelt==0) { $('#citytd').hide(); $('#city_2').show(); } }) }); }) ");?> The javascript is working, so i think the problem is with url_fo