[symfony-users] relation betwwen a sfGuardUser and an other object in schema.yml

2010-05-04 Thread trankh
Every symfony developper has encountered this implemantation. How to define a relation between a sfGuardUser and an other object? I need a schema.yml example. Imagine an object EventMember which defines a relation between anobjet Event and an object sfGuardUser (which is a member in the

[symfony-users] Jquery and AJAX symfony 1.4

2010-04-19 Thread trankh
Hello, I want to call a simple action without passing any argument inside a jquery function. No argument because a random function is called inside the action. The routing (in input and output) is this: plantyourtree: url: /tree/plantyourtree param: { module: tree, action: new } the js

[symfony-users] Re: Jquery and AJAX symfony 1.4

2010-04-19 Thread trankh
for what URL to send, inside your script tag, assign to a javascript variable Controller (action) $this-getResponse()-setHttpHeader('Content-type','text/json'); return $this-renderText('SOMETHING VERY USEFULLY); All the other interactions will be equal, 2010/4/19 trankh juliend1...@gmail.com

[symfony-users] symfony 1.4 Doctrine manytomany documentation

2010-04-10 Thread trankh
Do you have an up-to-date documlentation for symfony 1.4 and Doctrine. I want to do some unit tests with manytomany model but impossible to find the right syntax. I saw an interesting documentation here http://www.symfony-project.org/doctrine/1_2/en/06-Working-With-Data but it is not up to date

[symfony-users] Re: Frontend // pager or filter display issue

2010-03-29 Thread trankh
How do you use generator for frontend filter. Because i tried to do that in an other way but i have a bug. http://groups.google.com/group/symfony-users/browse_thread/thread/6f6b5a482d4f44ad Thank you On 29 mar, 19:06, ziclo lauren...@gmail.com wrote: Any idea ? Thank you for your help ! On

[symfony-users] Re: How to implement a basic filter on frontend with Doctrine sf1.4??

2010-03-27 Thread trankh
I can explain my problem from start: There is a filter where i can choose a category and a list of trees is displayed depending of the category chosen. Each tree belongs to one or several categories. This is my action which displays in a first time all trees. In a seconde time, after filter

[symfony-users] Re: How to implement a basic filter on frontend with Doctrine sf1.4??

2010-03-26 Thread trankh
Yes... On 26 mar, 00:03, Tom Haskins-Vaughan t...@templestreetmedia.com wrote: +1 I've always been interseted in doing this On 3/25/10, trankh juliend1...@gmail.com wrote: Hello, I am a beginner to symfony. I haven't found a correct explanation for How to implement a basic

[symfony-users] Re: How to implement a basic filter on frontend with Doctrine sf1.4??

2010-03-26 Thread trankh
($this-formFilter-getName()));     }     $query = $this-formFilter-buildQuery($this-formFilter-getValues());     $this-myModels = $query-execute();   } On 25 mar, 21:26, trankh juliend1...@gmail.com wrote: Hello, I am a beginner to symfony. I haven't found a correct explanation for How

[symfony-users] How to implement a basic filter on frontend with Doctrine sf1.4??

2010-03-25 Thread trankh
Hello, I am a beginner to symfony. I haven't found a correct explanation for How to implement a basic filter on frontend with Doctrine?? I tried to tweek admin backend filters and copy to frontend but it is really dirty. Moreover, i don't want to display edit or delete button, I just want a