[symfony-users] Re: mergeForm id issue

2011-04-20 Thread dagger
any one? -- 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 this group, send email to symfony-users@googlegroups.com To unsubscri

[symfony-users] mergeForm id issue

2011-04-20 Thread dagger
Hi people, I have 2 tables Account (id, email, password), and profile(id, account_id, name, dob, status). I thought to use mergeForm and make them as one form and keep things simple and clean. I followed this tutorial http://www.devexp.eu/2009/03/19/symfony-forms-framework-merge-2-forms/ Th

[symfony-users] how can i get "mysql result resource" in symfony after making a call to doSelectXX to use in mysql_num_rows() ?

2010-09-03 Thread dagger
Hi all, I heard that mysql_num_rows returns the total number of records of a given criteria faster then doCount() - but mysql_num_rows requires a Mysql result resource parameter - how can i get it from ResultSet returned by doSelectStmt or any other function? or is there another way to execute a

[symfony-users] Re: autocomplete does not work when loaded in response to an ajax call

2010-09-02 Thread dagger
thanks alot rob... all functional! On Sep 2, 7:40 pm, rob wrote: > By default, content loaded via Ajax calls does not execute scripts. > Try adding the parameter 'script' => true to the list of arguments of > link_to_remote. -- If you want to report a vulnerability issue on symfony, please send

[symfony-users] autocomplete does not work when loaded in response to an ajax call

2010-09-02 Thread dagger
Hi, I am trying to implement input_auto_complete_tag - its a copy of http://www.symfony-project.org/book/1_0/11-Ajax-Integration#chapter_11_sub_autocompletion when i load the page normally - like a normal get request - no ajax involved - the auto complete field works but when i load the same for

[symfony-users] implementing PHP soapclient in action

2010-02-09 Thread dagger
Hi All, I don't know if this group is the right place to discuss this - but since i'm using symfony and i need help with php soap extension i am posting for your views. Goal: connecting with a SOAP based webservice and performing multiple operations First i searched for a symfony plugin to do th

[symfony-users] Re: many to many relationships at admin not working

2009-10-17 Thread dagger
d: true } > >>>>>   role_permission: > >>>>>     role_id:          { type: INTEGER, required: true, foreignTable: > >>>>> role, foreignReference: id} > >>>>>     permission_id:    { type: INTEGER, required: true, foreignTable: > >&

[symfony-users] Re: How to execute a stored procedure on a remote db server throught symfony?

2009-09-30 Thread dagger
any suggests? On Sep 28, 11:22 am, Farrukh Abbas wrote: > I'm using propel as orm > > -- > Kind regards > Farrukh Abbas > > On 28 Sep 2009, at 09:20, Gareth McCumskey wrote: > > > > > Are you using Propel or Doctrine as your ORM? > > > On

[symfony-users] How to execute a stored procedure on a remote db server throught symfony?

2009-09-27 Thread dagger
Hi, in my current project I have to connect to a remote system and execute some stored procedures then get the returned data and save it on to the local database... Is there a way I can achieve this through symfony or would I have to bank on plain php? Your time n help is highly appreciated... T

[symfony-users] how to create a download link to a file in uploads directory?

2009-09-27 Thread dagger
Hi, A simple question... How can i create a download link to a file uploaded to uploads directory under web of symfony? something like - thanks for the reply --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfon

[symfony-users] is creating subdomains on the fly possible - username.mysite.com ?? instead of mysite.com/username from controller

2009-09-21 Thread dagger
Hi I wanted to know if generating subdomains on the fly is possible ? e.g. a user specifies a username and submits the form and on the server side the controller creates the subdomain based on the username - dagger.mysite.com ? and if dagger.mysite.com is any better then mysite.com/dagger

[symfony-users] many to many relationships at admin not working

2009-09-15 Thread dagger
Hi, I'm trying to implement the many to many relation between Role and Permission ... but the admin_check_list is not appearing ... i am using symfony 1.2 ... the structure follows schema.yml permission: id: method_name: { type: VARCHAR, size: 50, required: true } action_name:

[symfony-users] how can i customize field error format?

2009-09-09 Thread dagger
Hi, How can i achieve the following? make errors appear like this Required or like Username Required instead of the standard formatting in an un-ordered list Required without having to change any core framework files? any help is appreciated. thanks --~--~-~--~~--

[symfony-users] how to send e-mail independent of an action?

2009-09-08 Thread dagger
How can i send an e-mail from within an action, but the action shall not wait for the method to return in order to send the response to the browser/user... for example the standard subscription confirmation e-mail ... at the time of signup the action invokes a method to send e-mail but does not w

[symfony-users] Re: Flash attribute of sfUser not working in test and production environment

2009-08-26 Thread dagger
yeah thanks, can u also provide me with some links? also - any one face a similar issue with session and test/production environment? On Aug 26, 6:08 am, Eno wrote: > On Tue, 25 Aug 2009, dagger wrote: > > I would also like to know if there are any systems developed in >

[symfony-users] Flash attribute of sfUser not working in test and production environment

2009-08-25 Thread dagger
Hi, I have a simple application of posting a review on an article, and when a user posts the review (the user is set to be authenticated, review is invserted in db, and the user is redirected back to the article detail page) on the subsequent page he/she should be able to see a confirmation messa

[symfony-users] Re: implementing one to many relation between User and Images at backend

2009-07-29 Thread dagger
simple and straight forward. thanks On Jul 29, 1:21 pm, dagger wrote: > How can i change the admin user form to be able to add the 4 or less > images edit form? and how can i manipulate the forms used by admin > generator ? please help > > On Jul 28, 9:36 pm, dagger wrote: > &

[symfony-users] Re: implementing one to many relation between User and Images at backend

2009-07-29 Thread dagger
How can i change the admin user form to be able to add the 4 or less images edit form? and how can i manipulate the forms used by admin generator ? please help On Jul 28, 9:36 pm, dagger wrote: > Hi, > > I am trying to implement the edit page of User object which can have > many ima

[symfony-users] implementing one to many relation between User and Images at backend

2009-07-28 Thread dagger
Hi, I am trying to implement the edit page of User object which can have many images; How can i make a very user friendly edit image section in User edit form on backend? have no idea... please help, this is a big show stopper in my project. Requirement - User at sign-up uploads 4 images - now

[symfony-users] Re: File field looses content if other fields of form contain error

2009-07-17 Thread dagger
please help me out here to find what m i doing wrong On Jul 17, 2:58 pm, dagger wrote: > I have a form user and i have embedded another form for images upload > in it. > > Now when i select a picture to be uploaded, and make a mistake in any > other field of the user form, then

[symfony-users] File field looses content if other fields of form contain error

2009-07-17 Thread dagger
I have a form user and i have embedded another form for images upload in it. Now when i select a picture to be uploaded, and make a mistake in any other field of the user form, then the validation fails and the user is shown the error messages ... but when the form reloads for the users ... the i

[symfony-users] File Upload not working in symfony 1.2.7 when 2 forms are embadded in one view

2009-06-12 Thread dagger
Hi, Concept: I have made 2 tables - images and resort - each resort has a logo and can have many pictures - but for this application idecided that each resort would have 4 images. Problem: in the earlier version of symfony all was well. But then i upgraded to symfony 1.2.7 - and after that it s