[symfony-users] functionnal test with custom url like client.exemple.com

2010-09-14 Thread eljam
Hello, i'm using the technique of http://www.symfony-project.org/more-with-symfony/1_4/en/02-Advanced-Routing to make a multiclient plateform. What i'm suppose to do to avoid the error from the routing class when i make a test ? It's looking for an client object that cannot be created because the

[symfony-users] Symfony 1.2: dynamic show hide widget

2009-10-07 Thread eljam
Hello everybody, I've have a table with 20 fields. Symfony generate for me the form with the 20 fields. So for now that's good for me. Now i need for each client to hide or show some field, not all because some of them are used in a workflow. About the show hide thing, i need to hide the field o

[symfony-users] Re: [SAAS] Multiclient system + multidata mask

2009-09-21 Thread eljam
ally finish it, but I keep getting distracted with other   > projects :-/ > > However, this week I'm going to start a hobby project based on Symfony   > 1.3 - and I already know it's going to need an EAV data model. So,   > progress on sfDynamicForm may accelerate if I find t

[symfony-users] [SAAS] Multiclient system + multidata mask

2009-09-21 Thread eljam
Hello here is my problem: Example: I've got a form with three fields "firstname, lastname, dob" for client X. Now the client Y want an other field like "sex" but the client X didn't want it. So i think my problem is quite explicit with this example. Do you know a pattern like datamask that a can

[symfony-users] Re: sfDoctrineGuardPlugin credential problem symfony 1.2

2009-02-24 Thread eljam
Another important thing, "is_superadmin" is set to false so this is not the problem. On Feb 24, 12:05 am, eljam wrote: > hi, > > i've got a problem with the credential check of sfDoctrineGuardPlugin. > In fact, i have a permission called "cp" which is per

[symfony-users] sfDoctrineGuardPlugin credential problem symfony 1.2

2009-02-23 Thread eljam
hi, i've got a problem with the credential check of sfDoctrineGuardPlugin. In fact, i have a permission called "cp" which is perfectly had in the credential when i check the log. But when i do a simple test like hasCredential ('admin')) echo 'ok'; ?>. it returns ok or the connected user doesn't h

[symfony-users] Jobeet doctrine Day 16 - Problem with the route object class

2008-12-28 Thread eljam
Hi, In the day 16, we have a method "public function getForToken(array $parameters)" which take an array of the url parameters where we can catch the token. The problem is that the doctrine object class send an query object as the first parameter so we could not retrieve the token parameter in