[symfony-users] Sf2 - PR3 - embed actions

2010-09-15 Thread Vincent UNG
Hi !!! I'm using Sf2 PR2 and PR3 I was looking at the view quick tour especially the 2.4. Embed other Actions section I just copy-paste the snippet of code for embed my fancyAction but the action helper returns me a NULL value. Am I doing it wrong ? Is this possibly a bug ? Thanks !! See ya~

[symfony-users] Symfony2 - upload files

2010-08-11 Thread Vincent UNG
Hi !! i'm trying to use an upload file action. I trie my code without Symfony2, and it works fine. but, when i'm trying to do this winthin Sf2, with the same code, my move_uploaded_file() function doesn't works. I have this error Warning: move_uploaded_file(/egoodealer/web/uploads/ avatar.PNG) [a

[symfony-users] Symfony2 - upload files

2010-08-11 Thread Vincent UNG
Hi !! i'm trying to use an upload file action. I trie my code without Symfony2, and it works fine. but, when i'm trying to do this winthin Sf2, with the same code, my move_uploaded_file() function doesn't works. I have this error Warning: move_uploaded_file(/egoodealer/web/uploads/ avatar.PNG) [a

[symfony-users] Re: Symfony2 - upload files

2010-08-11 Thread Vincent UNG
sorry, I sent the message before finishing write it so, you have my php code And now my html code (just in case) form action=?php echo $view-router-generate(add_img_exec) ? method=post enctype=multipart/form-data input id=userfile name=userfile type=file / input name=folder

[symfony-users] Symfony2 - database query in the model

2010-07-26 Thread Vincent UNG
Hi ! I'm using Symfony2 for personal project and for fun too ! Well... it's more for testing this new version. Anyway, I was wondering, how can I execute a database query inside my models Actually, when I create an instance of an object, I give the $this-

[symfony-users] Re: Symfony2 - database query in the model

2010-07-26 Thread Vincent UNG
Okay, thanks ! On 26 juil, 11:49, Fabien Potencier fabien.potenc...@symfony- project.com wrote: On 7/26/10 11:47 AM, Vincent UNG wrote: Hi ! I'm using Symfony2 for personal project and for fun too ! Well... it's more for testing this new version. Anyway, I was wondering, how can I

[symfony-users] Re: Symfony2 - database query in the model

2010-07-26 Thread Vincent UNG
On 26 juil, 11:49, Fabien Potencier fabien.potenc...@symfony- project.com wrote: On 7/26/10 11:47 AM, Vincent UNG wrote: Hi ! I'm using Symfony2 for personal project and for fun too ! Well... it's more for testing this new version. Anyway, I was wondering, how can I execute

[symfony-users] Re: jQuery and Ajax, DOM problem

2010-06-04 Thread Vincent UNG
Thanks a lot Tom I'm using live now, and It perfectly works ! Thanks again :) -- 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

[symfony-users] jQuery and Ajax, DOM problem

2010-06-02 Thread Vincent UNG
Hello symfony users !! I have a problem with symfony and ajax (i'm using jQuery) When I click on a button, I send an ajax query that load an other module. The problem is I can't act on these new element with jQuery, for example in this new content (load with Ajax) I can't define a $

[symfony-users] Jobeet Tutorial | Day 17 with sf1.4.4

2010-05-28 Thread Vincent UNG
Hi ! I'm trying to include a search engine in my project with Zend_Search_Lucene according to the day 17 of the jobeet tutorial. I just copy/paste the code (http://www.symfony-project.org/jobeet/1_4/ Doctrine/en/17) and replace by my model name. When I do this task symfony doctrine:data-load I

[symfony-users] Strange generate schema.sql

2010-05-07 Thread Vincent UNG
Hi ! I'm using Doctrine and MySQL. I wrote my schema.yml and tried to generate sql file with symfony doctrine:build-sql Here is an example of my schema.yml Table 1 : Window: connection: doctrine columns: id_window: type : integer(2)

[symfony-users] Include css and js without layout

2010-01-27 Thread Vincent UNG
Hi !! In my project, I have many _from that I have to view withou layout (I already set the $this-setLayout method at false), and I woul like to include a specific CSS and a specific JS file. I tried use_javascript('form') and use_stylesheet('form'), maybe I passed the wrong parameter... How can

[symfony-users] Symfony 1.3 - Range year

2009-12-27 Thread Vincent UNG
Hi, it's me again I have many field as a date field, actually, I use sfWidgetFormJQueryDate and sfWidgetFormDate In my case, this date field is for record the bird date. But the min value for year is 2004, I can't record a date like 1990/12/12. How can I change the range of year ? Thanks ! Pour

[symfony-users] Re: Symfony 1.3 - Range year

2009-12-27 Thread Vincent UNG
I already use it with sfFromExtraPlugin, a symfony plugin that let me to use datepicker of jQuery UI In the widget class, I set option changeMonth, and changeYear as true. and I set the option yearRange as '1980:2010' doesn't work... -- You received this message because you are subscribed to the

[symfony-users] symfony 1.4 install plugin

2009-12-25 Thread Vincent UNG
Hello I have a problem with installing a plugin in symfony 1.4 With php symfony plugin:install sfFormExtraPlugin I have this error : Failed to opening required 'PEAR.php' 'include_path=';C:\php\pear'). And I don't have any folder php in C:\ or pear. Someone can help me please ? Thanks -- You

[symfony-users] Re: symfony 1.4 install plugin

2009-12-25 Thread Vincent UNG
Sorry, I use symfony1.3 -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more

[symfony-users] Re: symfony 1.4 install plugin

2009-12-25 Thread Vincent UNG
Done, it's workt ! Thanks a lot ! -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For

[symfony-users] Re: Redirection after submitting a New form

2009-11-23 Thread Vincent UNG
Hi ! First, excuse me for my english, I don't have a very high level... So, i've already meet this problem before. You just have to change the value, the parameter of setTemplate() method, which call the template pasted as a parameter. For example, if you want to redirect to the index template,

[symfony-users] Re: Different main template

2009-11-23 Thread Vincent UNG
Try with method return::sfSuccess and return::sfError (check for synthax at syfony-project.org, I'm not sure). So, you can have two differents templates for one action. Hope I was clear Bye -- You received this message because you are subscribed to the Google Groups symfony users group. To

[symfony-users] Change redirecting method for credentials required page (or login required)

2009-11-23 Thread Vincent UNG
Hi... Actually, when I try to execute an action that I don't have credential, I'm redirect to the default page of symfony. Can I change this page, or redirect automatically to my login page ? -- You received this message because you are subscribed to the Google Groups symfony users group. To