[symfony-users] Re: actAs Timestampable requiring created_at in update

2010-01-21 Thread diogobaeder
20, 4:44 am, diogobaeder diogobae...@gmail.com wrote: Hi, Benoit, I'll try your tip, but it's strange because it started to happen just these days, and I've been developing the website for about a month now... and the website at a test environment works correctly, even

[symfony-users] Re: actAs Timestampable requiring created_at in update

2010-01-20 Thread diogobaeder
field added by actAsTimestampable   Behavior are not to be editable by users. You should remove them in your form class configure() method : unset($this['created_at']); unset($this['updated_at']); Hope this helps Regards, Benoit Le 20 janv. 2010 à 06:09, diogobaeder diogobae...@gmail.com

[symfony-users] URGENT: default_messages translation

2010-01-19 Thread diogobaeder
Hi, guys, I've posted this one: http://groups.google.com/group/symfony-users/browse_thread/thread/5432958e71a54747/76035d6987e00ad8?lnk=gstq=diogobaeder#76035d6987e00ad8 But I haven't found a solution, yet. The problem is, I have to deliver the website for my client, and he's complaining

[symfony-users] Re: URGENT: default_messages translation

2010-01-19 Thread diogobaeder
...@gmail.com wrote: I think that you could use that plugin of mine, and in the view use something like: ?php foreach($form['field']-getError() as $error):? ?php echo __($error);? ?php endforeach;? Alecs On Tue, Jan 19, 2010 at 3:40 PM, diogobaeder diogobae...@gmail.com wrote: Hi, guys, I've

[symfony-users] actAs Timestampable requiring created_at in update

2010-01-19 Thread diogobaeder
Hi, guys, I don't know why, but a website I'm developing started to pass the created_at field in the update query when I try to save an edited admin form with a null value, so I cannot save the data anymore. Any idea of what might be wrong? I'm using Symfony 1.4. Thanks! Diogo -- You received

[symfony-users] Re: sfValidatorSchema default_messages

2010-01-12 Thread diogobaeder
Any other idea, guys? I still can't translate all the messages I need to... :-( Thanks! On Jan 4, 12:02 pm, diogobaeder diogobae...@gmail.com wrote: Hmmm, not for me... the validation messages show only in English, no matter what translations I put on the XLIFF file... Diogo On 4 jan, 05

[symfony-users] Re: sfValidatorSchema default_messages

2010-01-04 Thread diogobaeder
the code to check it out sent via htc magic On Jan 3, 2010 5:43 PM, diogobaeder diogobae...@gmail.com wrote: Hi, Alecs, Thanks for the tip, but the problem I'm having is how to actually put the translated text into the forms, and not how to know what the messages are. I already know

[symfony-users] Re: sfValidatorSchema default_messages

2010-01-03 Thread diogobaeder
/sfI18nFormExtractorPlugin Alecs On Sat, Jan 2, 2010 at 10:33 PM, diogobaeder diogobae...@gmail.com wrote: Hi, Alexandru, What I'm trying to translate is a set of the core default validation messages, and not plugin messages... but thanks anyway! :-) Diogo On 2 jan, 08:35, Alexandru-Emil Lupu gang.al

[symfony-users] Re: sfValidatorSchema default_messages

2010-01-02 Thread diogobaeder
the messages. Check the plugin repo. sent via htc magic On Jan 2, 2010 8:15 AM, diogobaeder diogobae...@gmail.com wrote: Hi there, I'm trying to localize the sfValidatorSchema default messages, because I couldn't do it using the i18n tools and translation, but I can't find a way to do

[symfony-users] sfValidatorSchema default_messages

2010-01-01 Thread diogobaeder
Hi there, I'm trying to localize the sfValidatorSchema default messages, because I couldn't do it using the i18n tools and translation, but I can't find a way to do it, since the setDefaultMessages() method is protected. Considering I want to do the translation for all form validators, how can I

[symfony-users] Re: sfDoctrineGuard translation

2009-12-28 Thread diogobaeder
. Cheers, Daniel On Dec 28, 2009, at 1:43 AM, diogobaeder wrote: Daniel, For example, in the signinSuccess.php template, at sfDoctrineGuardPlugin, we have a __('Forgot your password?') call, that should be translated if a translation is put in the sf_admin.pt_BR.xml file. I've put

[symfony-users] Re: sfDoctrineGuard translation

2009-12-27 Thread diogobaeder
idea? Thanks! On 27 dez, 08:44, Daniel Lohse annismcken...@googlemail.com wrote: You'll need to name the file sf_admin.pt_BR.xml Cheers, Daniel On Dec 27, 2009, at 3:30 AM, diogobaeder wrote: No solution for that? Anybody? On 22 dez, 18:04, Diogo Baeder diogobae...@gmail.com wrote

[symfony-users] Re: sfDoctrineGuard translation

2009-12-27 Thread diogobaeder
relate to plugins. Any ideas? Diogo On 27 dez, 12:12, Daniel Lohse annismcken...@googlemail.com wrote: Could you elaborate on/rephrase your last message again, please? I did not understand what stays where and does not get translated... :) Daniel On Dec 27, 2009, at 2:57 PM, diogobaeder wrote

[symfony-users] Re: sfDoctrineGuard translation

2009-12-26 Thread diogobaeder
No solution for that? Anybody? On 22 dez, 18:04, Diogo Baeder diogobae...@gmail.com wrote: Hi there, I'm translating some strings that lacked in the original pt_BR XLIFF file for Symfony 1.4.2-DEV. Even though, my translation for sfDoctrineGuardPlugin is not working; None of them is being

[symfony-users] Re: 404 config not working

2009-12-18 Thread diogobaeder
that screen (you don't really care about a fancy 404 screen while developing, do you?). If you want to customize your 404 template, use the prod controller. On Fri, Dec 18, 2009 at 04:27, diogobaeder diogobae...@gmail.com wrote: Hi, I'm trying to customize the 404 action

[symfony-users] 404 config not working

2009-12-17 Thread diogobaeder
Hi, I'm trying to customize the 404 action, but the sfError404Exception is taking me to the default non-catched exceptions screen. Can you help me? Here are my configs: # settings.yml ... all: .actions: error_404_module:main error_404_action:error404 ... #

[symfony-users] Re: actAs timestampable

2009-12-14 Thread diogobaeder
Same for me while using 1.4.2-DEV. Any ideas to change this behaviour? Should I open a ticket? Thanks! Diogo On 13 dez, 12:08, Simon Cast simon.c...@gmail.com wrote: Hi, I upgraded a 1.2.x application to 1.3.1 yesterday and found that the actAs fields have gone fromrequired= false

[symfony-users] Re: Doctrine, Admin Generator Timestampable behavior

2009-12-14 Thread diogobaeder
Same problem here: http://groups.google.com/group/symfony-users/browse_thread/thread/330986031717f75/e82be9b977e1a6b8?lnk=gstq=timestampable+required# Thanks, Diogo On 9 dez, 06:38, Darmen Amanbayev ioxans...@gmail.com wrote: Hi guys, I have a little problem in