[symfony-users] Re: sfguardauth // How to display a layout depending on user's group

2010-10-22 Thread ziclo
Hello Gustavo, I don't understand what you mean by Then in your own actions . Which action are you speaking. I just want to change the layout accordingly to user's group jsut after login. -- If you want to report a vulnerability issue on symfony, please send it to security at

[symfony-users] Doctrine request problem with different connexions

2010-10-19 Thread ziclo
Hello, I have a problem with a doctrine request which uses a link between two differents databases. The schema : == # config/doctrine/schema.yml rsource: connection: doctrine1 columns: oid: {type: integer, primary: true} nameres: { type:

[symfony-users] Re: Doctrine Form filter // getRelatedModelName

2010-09-17 Thread ziclo
in the model (TrackerManagerTable.class.php). Or create some own method and call it from whereever you want. Why are you implementing this logic in the filter class? BR On 16 Sep., 12:34, ziclo lauren...@gmail.com wrote: Hello, In my form filters i want to display a select widget (multi

[symfony-users] Doctrine formfilter // input type

2010-09-17 Thread ziclo
Hello, I use synmfony + doctrine I have two tables : Table Prets (store articles borowed to managers) Table CDP (Store all manager names) Actually i use the default widget sfWidgetFormDoctrineChoice get from the BaseFormfilter (generated by doctrine) which allow me to get a list of managers

[symfony-users] Doctrine Form filter // getRelatedModelName

2010-09-16 Thread ziclo
Hello, In my form filters i want to display a select widget (multi choice). My problem is that the id appears but i want manager's name instead (relation one to many). I also want to display another field, manager's firstname. How can i do ? Here is my formfilter class : public function

[symfony-users] Re: Connection to MS sql server

2010-09-15 Thread ziclo
... To summarize, it's a PITA to use pdo_mssql. Thank God Doctrine 2 will be using sqlsvr instead of this s**tty solution. Hope I could have been of any help. =) On Sep 9, 8:18 am, ziclo lauren...@gmail.com wrote: Hi everybody, I'm trying to add a new database to my symfony project. One managed

[symfony-users] sfguardauth // How to display a layout depending on user's group

2010-09-12 Thread ziclo
Hello, I use sfguard plugin and i want to display a layout dedicated to specific user's group (different menus/functionnalities). Sequences : 1 - user1 (group1) logs in 2 - route to homepage with the layout1 If user2 (group2) logs in so he is redirected to the homepage with layout2. How can i

[symfony-users] Connection to MS sql server

2010-09-09 Thread ziclo
Hi everybody, I'm trying to add a new database to my symfony project. One managed by mysql and the other by MS SQL server. I get an error about mssql driver when i rebuild all (schema, etc..)I do not know which driver to use for MS SQL. Here is my database.yml An idea ? Symfony version : 1.4

[symfony-users] Re: Doctrine Pager max per page problem

2010-09-07 Thread ziclo
wrote: Could you show us your action's code? On Fri, Aug 27, 2010 at 12:11 PM, ziclo lauren...@gmail.com wrote: More explanation about this issue : If the number of objects returned is 10 then objects are displayed. If number of objects returned 10 then nothing is displayed. I think

[symfony-users] schema.yml // 2 relations for a same table problem

2010-09-07 Thread ziclo
Hello, I have created a schema.yml but I do not know how to create 2 relations for a same table. How can i disctinct those 2 relations (rsource). With a suffix ? Here is my code : TrackerPret: actAs: { Timestampable: ~ } connection: doctrine attributes: export: tables columns:

[symfony-users] Re: Doctrine Pager max per page problem

2010-08-27 Thread ziclo
More explanation about this issue : If the number of objects returned is 10 then objects are displayed. If number of objects returned 10 then nothing is displayed. I think there is a problem with the pager. But what ? An idea ? Thank you On 6 août, 15:46, ziclo lauren...@gmail.com wrote: My

[symfony-users] Re: Doctrine Pager max per page problem

2010-08-06 Thread ziclo
My symfony version : 1.4.1 with doctrine On 6 août, 14:57, ziclo lauren...@gmail.com wrote: Hi everybody ! On the frontend i have a module called articles which is composed by a list of results. I use doctrine pager like the one in the admin backend. I have set up a max number of rows

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

2010-04-23 Thread ziclo
No ideas about this issue ? Help would be very appreciated. Thank you On 27 mar, 22:06, ziclo lauren...@gmail.com wrote: Hello, I use the admin generator actions and others methods for my frontend (i just copied actions and classes). My problem is that when i use the filter in order to get

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

2010-03-30 Thread ziclo
. On the backend this problem doesn't occur. Ziclo On 29 mar, 22:14, trankh juliend1...@gmail.com wrote: 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/6f6

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

2010-03-29 Thread ziclo
Any idea ? Thank you for your help ! On 27 mar, 22:06, ziclo lauren...@gmail.com wrote: Hello, I use the admin generator actions and others methods for my frontend (i just copied actions and classes). My problem is that when i use the filter in order to get objects for a particular category

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

2010-03-27 Thread ziclo
Ziclo -- 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 unsubscribe from

[symfony-users] Re: Symfony frontend sort by th

2010-03-18 Thread ziclo
I found the solution to this issue : I copied all actions found into the cache / backend folder. Then i debugged some errors (lib missing, etc..). So the solution is to use the admin filters, pager and sort actions. Now it works fine. Thank you all ! On 13 fév, 14:55, ziclo lauren...@gmail.com

[symfony-users] sfguardplugin - layout by usergroup

2010-03-15 Thread ziclo
Hi, I would like to display a layout depending to user's group. Furthermore, i want to hide or show menus (defined into the layout) depending on user's group. First i used the credentials and it works fine when a user try to access an unauthorized module (by url). But i want to show only menus

[symfony-users] Re: Symfony frontend sort by th

2010-03-10 Thread ziclo
Gareth, Is your solution compatible with Doctrine ? I have a lot of errors when i try to implement it. Ziclo On 5 mar, 07:17, Gareth McCumskey gmccums...@gmail.com wrote: In your view in the header cell: th?php echo link_to(image_tag('sort_icon.png'),'module/action?sort=column_name

[symfony-users] Re: Symfony frontend sort by th

2010-03-09 Thread ziclo
works well so I personally don't understand what is difficult about it. On Mon, Mar 8, 2010 at 2:52 PM, ziclo lauren...@gmail.com wrote: Thank you all. I just think that a tutorial should exists on how to create sortable columns like the way it is in the backend. Same thing for the use

[symfony-users] Re: Symfony frontend sort by th

2010-03-08 Thread ziclo
Thank you all. I just think that a tutorial should exists on how to create sortable columns like the way it is in the backend. Same thing for the use of filters. These are common functionnalities that i want to use for the frontend. I thought it would be simple to implement but not. I don't want

[symfony-users] Re: Symfony frontend sort by th

2010-03-04 Thread ziclo
Does anyone has a tutorial about that ? The backend is usefull but a good tutorial would be appreciate in order to be able to do that kind of common functionnalities. Tnak you On 18 fév, 11:16, ziclo lauren...@gmail.com wrote: Hello, That what i'm going to do. Thank you On 18 fév, 09:12

[symfony-users] Re: Symfony frontend sort by th

2010-02-18 Thread ziclo
, ziclo lauren...@gmail.com wrote: Is there a native (doctrine or symfony) method ? Thanks On 14 fév, 14:52, Daniel Lohse annismcken...@googlemail.com wrote: You should take a look at the internal Sympal plugin sfSympalDataGridPlugin. This will do what you want and there's also some

[symfony-users] Re: Symfony frontend sort by th

2010-02-18 Thread ziclo
with the correct ORDER BY sql in it On Sat, Feb 13, 2010 at 3:55 PM, ziclo lauren...@gmail.com wrote: Hi, I would like to be able to sort (order by ASC ou DESC) by clicking on a colon title (th). The same way as the backend of the jobeet tutorial. I don't want it on the backend

[symfony-users] Re: Symfony frontend sort by th

2010-02-17 Thread ziclo
Is there a native (doctrine or symfony) method ? Thanks On 14 fév, 14:52, Daniel Lohse annismcken...@googlemail.com wrote: You should take a look at the internal Sympal plugin sfSympalDataGridPlugin. This will do what you want and there's also some documentation about it on the Sympal

[symfony-users] Symfony frontend sort by th

2010-02-13 Thread ziclo
(result of a query) by a simple click on the title of a colonn. Does a tutorial exists about that ? Thank you. Ziclo -- 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