[symfony-users] Re: how to deal with pagination?

2010-06-04 Thread mel_06
ny guide. It'll answer a > lot of questions that you might not even know need to be asked. > > Starting off on the right foot is going to make your life a lot easier > in the long run. > > Good luck! > > On Wednesday, June 2, 2010, mel_06 <06melc...@gmail.com>

[symfony-users] Re: how to deal with pagination?

2010-06-02 Thread mel_06
found this link! very simple to understand and it works! http://www.achari.in/pagination-using-pager-with-doctrine-sfdoctrinepager-symfony-php-mvc-framework On Jun 2, 2:28 pm, Ben Bieker wrote: > Am 02.06.2010 08:22, schrieb mel_06: > > > hi guys! > > > i'm just new

[symfony-users] how to deal with pagination?

2010-06-01 Thread mel_06
hi guys! i'm just new to symfony. i can already list data from my database but now needs to be paginated. hope you can help me! thanks!!! my routing.yml list_laptops_by_popularity: url: /laptop/list-by-popularity param: { module: laptop, action: listByPopularity } class: sfDoctrineRou

[symfony-users] Re: how to put a class on list element using sfform?

2010-04-30 Thread mel_06
i have this error! why? The form formatter "listCustom" does not exist. On Apr 29, 4:19 pm, Ozzy wrote: > Yes, that is right. You should escape " characters in PHP when > defining strings. > > On Apr 29, 10:50 am, mel_06 <06melc...@gmail.com> wrote: > >

[symfony-users] Re: how to put a class on list element using sfform?

2010-04-29 Thread mel_06
but still i'm having an error: Empty module and/or action after parsing the URL "/" (/). On Apr 29, 4:19 pm, Ozzy wrote: > Yes, that is right. You should escape " characters in PHP when > defining strings. > > On Apr 29, 10:50 am, mel_06 <06melc...@gmail.com

[symfony-users] Re: how to put a class on list element using sfform?

2010-04-29 Thread mel_06
but still i'm having an error: Empty module and/or action after parsing the URL "/" (/). On Apr 29, 4:19 pm, Ozzy wrote: > Yes, that is right. You should escape " characters in PHP when > defining strings. > > On Apr 29, 10:50 am, mel_06 <06melc...@gmail.com

[symfony-users] Re: how to put a class on list element using sfform?

2010-04-29 Thread mel_06
lass="clearfix" into it do it looks like this: > > > $rowFormat   = "\n  %error%%label%\n  %field% > > %help%\n > > %hidden_fields%\n"; > > :) > > Sent from my iPhone > > On Apr 29, 2010, at 5:25 AM, mel_06 <06melc...@gmail.com> wrote:

[symfony-users] Re: how to put a class on list element using sfform?

2010-04-28 Thread mel_06
er to use in your form > to be "listCustom". You can, of course, name it however you like, just make > sure you also rename the widget file. :) > > Does this do the trick? > > Daniel > > On 28.04.2010, at 12:10, mel_06 wrote: > > > > > example: > &

[symfony-users] Re: how to put a class on list element using sfform?

2010-04-28 Thread mel_06
se > class), the HTML structure, what is rendered, what you want to change and how. > > Zip it up or post it tohttp://pastebin.com > > This is the only way I and the others here can really help you. > > Daniel > > On 28.04.2010, at 11:51, mel_06 wrote: > > > &g

[symfony-users] Re: how to put a class on list element using sfform?

2010-04-28 Thread mel_06
he $arguments argument, that > is, as the second argument. > > But what kind of widget is your "list element"? A choice widget? > > On 28.04.2010, at 10:36, mel_06 wrote: > > > > > yes a CSS class indeed. how can i do that? > > > On Apr 28, 4:25 p

[symfony-users] Re: how to put a class on list element using sfform?

2010-04-28 Thread mel_06
yes a CSS class indeed. how can i do that? On Apr 28, 4:25 pm, Daniel Lohse wrote: > A CSS class? You've got to be a bit more specific than that. :) > > Cheers, Daniel > > On 28.04.2010, at 10:22, mel_06 wrote: > > > > > hi guys! > > > i need to ins

[symfony-users] Re: how to put a class on list element using sfform?

2010-04-28 Thread mel_06
yes, a CSS class indeed. how can i do that? On Apr 28, 4:25 pm, Daniel Lohse wrote: > A CSS class? You've got to be a bit more specific than that. :) > > Cheers, Daniel > > On 28.04.2010, at 10:22, mel_06 wrote: > > > > > hi guys! > > > i need to ins

[symfony-users] how to put a class on list element using sfform?

2010-04-28 Thread mel_06
hi guys! i need to insert a class for my list element using sfform? 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 Google Groups "symfony users" group. To post to

[symfony-users] Re: how to set form fields value into array?

2009-11-04 Thread mel_06
i know the action part but declaring the form in my problem? how can i do my single upload form into a multi upload form? On Nov 4, 7:22 pm, mel_06 <06melc...@gmail.com> wrote: > tried adding this code, but won't upload any file? > > for ( $i = 0; $i <= count('

[symfony-users] Re: how to set form fields value into array?

2009-11-04 Thread mel_06
sfConfig::get('sf_upload_dir') . '/directory', 'mime_types' =>array ('web_images','audio/mpeg','video/x-ms-wmv','video/x-flv'))) , )); } On Nov 3, 6:32 pm,

[symfony-users] how to set form fields value into array?

2009-11-03 Thread mel_06
i'm doing a multiple uploads but my problem is i can't set my form fields to accept values of more than one? using the widgets, here is my form $this->setWidgets(array( 'file' => new sfWidgetFormInputFile(array('label' => 'File',)), )); $this->widgetSchema->setNameFormat('website

[symfony-users] how to implement sfWidgetFormInputSWFUploadPlugin tutorial?

2009-10-27 Thread mel_06
i'm just really knew to symfony. is anyone knows how to use sfWidgetFormInputSWFUploadPlugin? thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfon

[symfony-users] Re: how to build a form for multiple uploads?

2009-10-27 Thread mel_06
or how can i turn this regular upload http://vit.free.fr/symfony/0.6.3/upload.html into a multiple upload? On Oct 27, 10:14 am, mel_06 <06melc...@gmail.com> wrote: > i tried searching but unfortunately there's too little documentation > for symfony at the moment. >

[symfony-users] Re: how to build a form for multiple uploads?

2009-10-26 Thread mel_06
> > Otherwise, sourcecode will help you to find an approach. > > Alexandre > > 2009/10/26 mel_06 <06melc...@gmail.com> > > > > > i'm just new to symfony, used to code igniter before. > > > i'm doing a multiple upload but i'm really st

[symfony-users] how to build a form for multiple uploads?

2009-10-26 Thread mel_06
i'm just new to symfony, used to code igniter before. i'm doing a multiple upload but i'm really stuck on how i will do my form for this. i do hope for someone's help. thanks in advance --~--~-~--~~~---~--~~ You received this message because you are subscribed t

[symfony-users] Re: ffmpeg on symfony?

2009-10-23 Thread mel_06
urnCode"); > $this->log("Output : ".implode("\n", $returnValue)); > > Tell us output and return code. > > Alexandre > > 2009/10/23 mel_06 <06melc...@gmail.com> > > > > > > > i'm just new to symfony, i'm having troubl

[symfony-users] Re: ffmpeg on symfony?

2009-10-23 Thread mel_06
urnCode"); > $this->log("Output : ".implode("\n", $returnValue)); > > Tell us output and return code. > > Alexandre > > 2009/10/23 mel_06 <06melc...@gmail.com> > > > > > > > i'm just new to symfony, i'm having troubl

[symfony-users] ffmpeg on symfony?

2009-10-22 Thread mel_06
i'm just new to symfony, i'm having trouble with using ffmpeg on symfony. i just modified this code which work properly on code igniter framework for symfony. but it doesn't save the 10sec audio file on the directory path? and i need to save this as well to the database? here's my code: public f

[symfony-users] file upload problem?

2009-10-22 Thread mel_06
i'm just new to symfony, i'm working with file upload and everytime i upload a file the output is "csrf token: Required." here's my code: my action public function executeIndex($request) { $this->form = new WebsiteForm(); if ($request->isMethod('post')) { $this->form->bind($request->getParamete