[symfony-users] Re: Unknown method JobeetJob::getDateTimeObject

2009-10-30 Thread HiDDeN
Oh never mind, I did not run the upgrade task. Anyway, it is not working with 1.3, as some other errors are coming up. Will Jobeet be tested with 1.3? It would be fantastic if we can download it adapted to that version :) On 29 oct, 23:49, HiDDeN sombrasdepa...@gmail.com wrote: Ok, I have seen

[symfony-users] Re: Tiny mce not working

2009-10-30 Thread Massimiliano Arione
You should avoid to use such helpers, link the tinymce one. The issue is about javascript: you can use tinymce simply including proper javascript files (the ones bundled with tinymce itself), If you want to customize, simply use options provided by tinymce itself: there are a bunch of them, and

[symfony-users] Re: Tiny mce not working

2009-10-30 Thread asim nizam
ok thanks for reply --~--~-~--~~~---~--~~ 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, send email to

[symfony-users] Configuration file for whole project

2009-10-30 Thread HAUSa
In every application is a app.yml in the config directory. Is there also a way to create one for a whole project where all config settings are available in all applications and the model? --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[symfony-users] Re: Symfony 1.3, sfDoctrineGuardPlugin error

2009-10-30 Thread FlyLM [ML]
Hi, I can't solve the problem. I've enable the sfUserGuard module in my backend, and I've the same error. In PluginsfGuardUserGroup.class.php, $this-getsfGuardUser() is in instance of BasesfGuardUser instead of PluginsfGuardUser. Is it a Symfony 1.3 or a Doctrine 1.2 issue ? Thanks for help.

[symfony-users] sfValidatorDoctrineUnique Is there any way to add criteria..

2009-10-30 Thread ravi
Hello everyone, I am using sfValidatorDoctrineUnique to validate unique username and i am going to implement to edit the username. so at the time when form comes to edit the user and if i will not change the username then also it gives me the error for uniquenes.. if any one know how to skip a

[symfony-users] sfValidatorDoctrineUnique Is there any way to add criteria..

2009-10-30 Thread ravi
Hello everyone, I am using sfValidatorDoctrineUnique to validate unique username and i am going to implement to edit the username. so at the time when form comes to edit the user and if i will not change the username then also it gives me the error for uniquenes.. if any one know how to skip a

[symfony-users] Writing Project Documentation

2009-10-30 Thread Kropp, Henning
Hi, is there any support in symfony to support project documentation? What is best practice to document once symfony project? Thank you very much Henning Kropp --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[symfony-users] Re: Writing Project Documentation

2009-10-30 Thread Gareth McCumskey
What do you mean by documentation? Code documentation for other developers? Usability documentation for end users? If you mean code documentation you can use PHPDoc style comments above all your class methods etc that can then by automatically compiled into an API reference by many PHPDoc

[symfony-users] Re: How to manage big uploads

2009-10-30 Thread Gareth McCumskey
The best practice is really restricted by your project requirements. If you can use flash components to do the job, then that is probably best. If your limited to PHP then ini_set is something you need to consider as large files that take a long time to load will cause PHP's script execution time

[symfony-users] Re: Writing Project Documentation

2009-10-30 Thread Kropp, Henning
Yes I ment code documentation. Sorry, that i did not make my self clear. I am trying PhpDocumentor with not so much of a success and was wondering if symfony offers any support. I am also coding with netbeans and would have liked an easy integration like javadoc. Thanks Gareth McCumskey

[symfony-users] Re: sfValidatorDoctrineUnique Is there any way to add criteria..

2009-10-30 Thread David Ashwood
In your form class you'll need something like: public function configure() { parent::configure(); // Common Validation if ($this-isNew) { // extra validation for new objects } else {

[symfony-users] Re: sfValidatorDoctrineUnique Is there any way to add criteria..

2009-10-30 Thread ravi
thanx for the reply david.. but that is not what i need.. i want to use the sfValidatorDoctrineUnique validator for username field. and at the same time i also want that one user can edit his/her user name.. so at the time of edit the user.. when one submits without changing the username it will

[symfony-users] Polls with Doctrine

2009-10-30 Thread Nelson Luis
Does Anybody know a plugin to create and manage polls with Doctrine? Thanks! Nelson Luis Rodrigues Pereira Bacharel em Ciência da Computação Desenvolvedor Grupo Agência www.grupoagencia.com.br --~--~-~--~~~---~--~~ You received this message because you are

[symfony-users] Re: sfValidatorDoctrineUnique Is there any way to add criteria..

2009-10-30 Thread David Ashwood
I'm a little confused about what you're actually trying to achieve but in your situation it's probably simplest to use a sfValidatorCallback. Which will allow you to run you own custom logic. http://www.symfony-project.org/forms/1_2/en/B-Validators#chapter_b_sub_sfvalidatorcallback There you

[symfony-users] Re: Polls with Doctrine

2009-10-30 Thread David Ashwood
The search facility on the sf plugins page is pretty decent: http://www.symfony-project.org/plugins/sfDoctrinePollPlugin It's only for sf 1.0 - might work with later versions - otherwise you'll need to bring it up to speed :) On Fri, 2009-10-30 at 10:26 -0300, Nelson Luis wrote: Does Anybody

[symfony-users] Re: Configuration file for whole project

2009-10-30 Thread Thomas Rabaix
you can create an app.yml in the main config directory ... On Fri, Oct 30, 2009 at 11:01 AM, HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com wrote: In every application is a app.yml in the config directory. Is there also a way to create one for a whole project where all config settings

[symfony-users] Re: sfValidatorDoctrineUnique Is there any way to add criteria..

2009-10-30 Thread ravi
yes.. i was thinking the same thing.. but i was wondered that if der is any another way or any type of attribute to the validator which will skip a single record to check.. anyway.. thanx for the reply again.. it was nice.. to read your messages.. thanx.. On Oct 30, 6:31 pm, David Ashwood

[symfony-users] Re: Polls with Doctrine

2009-10-30 Thread David Ashwood
Attached is an updated package file for it. I've not tested the actual plugin - to see if it works - but the attached package should be installable with symfony package:install filename You'll need to copy the file somewhere and to change the filename in the above to point to the correct

[symfony-users] sf 1.3 mailer factories : spool + single_address strategies impossible?

2009-10-30 Thread Grégoire
Hi all, I'm upgrading my project to sf 1.3 and I'm trying to configure the SwiftMailer. I want to use the spool system, so here is my factories.yml: all: mailer: class: sfMailer param: logging: %SF_LOGGING_ENABLED% charset: %SF_CHARSET%

[symfony-users] Customize Doctrine_Collection display ?

2009-10-30 Thread Simone Fumagalli
Hello, I was just playing with a test project. The Schema is this one: BlogPost: columns: title: { string(45) } body: { clob(65535) } author: { string(255) } Tag: columns: name: { string(255) } BlogPostTag: columns: blog_post_id: type: integer

[symfony-users] sfLightboxPlugin close on form submit

2009-10-30 Thread Martin Settle
I've got a form appearing in a lightbox, which calls a remote function and updates the parent page. However, I'd like to have the lightbox close on the submission of the form. I'm trying to use an input=submit onClick=--javascript here-- to close the lightbox, but I can't for the life of me

[symfony-users] Re: sfLightboxPlugin close on form submit

2009-10-30 Thread David Ashwood
Try: Modalbox.hide(); On Fri, 2009-10-30 at 14:51 -0400, Martin Settle wrote: I've got a form appearing in a lightbox, which calls a remote function and updates the parent page. However, I'd like to have the lightbox close on the submission of the form. I'm trying to use an input=submit

[symfony-users] How do I hush up noisy Symfony tasks?

2009-10-30 Thread Tom Boutell
I've written a task that needs privileges that are normally checked for based on the identity of the current user. So I set up an identity just for the tasks, and that's working fine: $context = sfContext::createInstance($this-createConfiguration($options['application'], $options['env']));

[symfony-users] Re: How do I hush up noisy Symfony tasks?

2009-10-30 Thread David Ashwood
How about just turning off logging during your task and enabling it again when it's done with sfConfig::get set? On Fri, 2009-10-30 at 17:07 -0400, Tom Boutell wrote: I've written a task that needs privileges that are normally checked for based on the identity of the current user. So I set

[symfony-users] Re: How do I hush up noisy Symfony tasks?

2009-10-30 Thread David Ashwood
$loggingStateBefore = sfConfig::set('sf_logging_enabled',false); sfConfig::set('sf_logging_enabled' ,false); // // Your process ideally in a try/catch to ensure you can re-enable it // again // sfConfig::set('sf_logging_enabled',$loggingStateBefore); I think there are only 2 settings you

[symfony-users] Fileupload with Ajax/IFrame and Preview

2009-10-30 Thread ridcully
Is there is a easy way to do a Imageupload with Ajax and Image Preview in Symfony? Any Widget/Plugin what can do this? Thanx Joerg --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to

[symfony-users] Re: Tiny mce not working

2009-10-30 Thread Eno
On Fri, 30 Oct 2009, Massimiliano Arione wrote: You should avoid to use such helpers, link the tinymce one. Works for me. -- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to