Re: [symfony-users] A bug in the Web debug toolbar notification?

2010-09-17 Thread Sebastien Armand [Pink]
Your crud generate module never sends a reply directly from the create and update actions. You are redirected either to the edit action or to the show action if you generated a module with the show option on. So the answer you send to the browser from inside create is only a http header with the

[symfony-users] [symfony2-sandbox PR3] missing files for MongoDB

2010-09-17 Thread spike3111
If I created a new instance of the new Symfony Bundle \ Bundle \ DoctrineMongoDBBundle \ DoctrineMongoDBBundle (), and I start the console hello php / console, an error message C: \ Users \ Me \ Documents \ devweb \ sandsf2 hello php / console PHP Fatal error: Class 'Doctrine \ ODM \ MongoDB \

[symfony-users] Re: Choices Grouping

2010-09-17 Thread ScherlOMatic
Hello! You are using the wrong widget. Take a look at the 'select' widgets. One possibility would be: $this-setWidgets(array( 'name' = new sfWidgetFormSelect(array( 'choices' = self::$choices, 'multiple' = true, )) )); And please try to post code

[symfony-users] Migration table generate table connection

2010-09-17 Thread luigi
Hi, I executed the task doctrine:generate-migrations-diff. System generate the migration class, but in this class the system add a new table named connection. class Version1 extends Doctrine_Migration_Base { public function up() { $this-dropTable('connnection'); -???

[symfony-users] Existing symfony project configuration in server and localhost

2010-09-17 Thread kutty
Hi, I am already having one of Php symfony framework project. it working fine.But client want some additional features in symfony project. So i want how to configure the localhost and webserver(Site5) server.please tell me eveeery one. Note:alreaady install symfony framework in my system and

[symfony-users] [Symfony2 - Sandbox PR3] Re: missing files for MongoDB

2010-09-17 Thread spike3111
Yes I have the latest version of the symfony sandbox, PR3, and it does not work. On 17 sep, 11:10, Henrik Bjornskov jegerhen...@gmail.com wrote: have you installed Doctrine ODM MongoDB ? On Sep 17, 9:56 am, spike3111 gilles.gauthie...@gmail.com wrote: If I created a new instance of the new

[symfony-users] Re: Migration table generate table connection

2010-09-17 Thread luigi
Ops! It's my error. In lib folder there wac a model with name connection. Excuse me. On 17 Set, 12:04, luigi lma...@opsource.it wrote: Hi, I executed the task doctrine:generate-migrations-diff. System generate the migration class, but in this class the system add a new table named

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

2010-09-17 Thread ziclo
I finaly found what i'm looking for : The solution was the use of the 'method' option which let me choose the field i want to display from the foreign table. Thanks public function configure() { $this-setWidgets(array( 'oid_cdp'= new sfWidgetFormDoctrineChoice(array('model' =

Re: [symfony-users] Re: Symfony 2 - Stability rate of change

2010-09-17 Thread Donald Tyler
Thanks for the response, that was pretty helpful. On Thu, Sep 16, 2010 at 4:43 PM, Jeremy Mikola jmik...@gmail.com wrote: Symfony's biggest change was likely in August (massive namespace/class renaming), and *crosses fingers* we shouldn't see anything on that scale again - but you'll

[symfony-users] Symfony 2 - Pulling the pieces together

2010-09-17 Thread Donald Tyler
One thing I've noticed with the documentation (unless I'm just missing it), is that there seems to be documentation on the various parts of the framework (Validation, Forms, ORM etc), but no documentation on how to best integrate these pieces in a cohesive project. For example, I'm not sure where

[symfony-users] automated response

2010-09-17 Thread Saad Tazi | Twist Image
Merci de votre message. Je suis présentement absent du bureau. Je serai de retour le 25 septembre. L'accès à mes courriels pourrait être limité durant cette période. En cas d’urgence, vous pouvez rejoindre notre équipe technique en envoyant un courriel à l’adresse suivante:

[symfony-users] individual User layouts?

2010-09-17 Thread marc
Hi everyone, i'm playing around with symfony 1.4 for about two month now and i like it very much. I'm thinking about replacing our portal with a symfony application. For that i need to implement individual user layouts. We have customers that want to have their portal in corporate style. So i

[symfony-users] Distribution of rights in Symfony

2010-09-17 Thread Pavel Pecheny
Previously I ignored the question of distribution of rights in Symfony (Symfony 14.4. Doctrine) when there was a clear difference between the frontend and the backend Now I have a problem to solve: 1. there is one appliaction and depending on the credentials users have different access modules; 2.

Re: [symfony-users] individual User layouts?

2010-09-17 Thread Gustavo Adrian
Create a baseAction with a preExecute method where you check which user is logged in, and change the layout accordingly. Then, extend your own actions from this baseAction: // myApp/lib/actions/baseAction.class.php class baseAction extends sfActions { public function preExecute() {

[symfony-users] Re: ahDoctrineEasyEmbeddedRelations question

2010-09-17 Thread wodzik
hi deBear ;) When i made my first project i symfony i made many mistakes:) I see my mistakes in your schema.yml :) Read about relations tag in schema every table :) you are missing refClass and foregnAlias in your. It gives you connection between all tables, and you don't need write any update

[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

Re: [symfony-users] Re: Choices Grouping

2010-09-17 Thread Gerda Graciela Rodrigues
Hi Thanks! but.. not to solve it ... will be used checkbox must read: Computers ( ) PHP ( ) Symfony ( ) Postgree Mathematics ( ) Statistics ( ) Probability this reading: ( ) PHP ( ) Symfony ( ) Postgree ( ) Statistics ( ) Probability computer where this table

[symfony-users] [Symfony2, SandBox, PR3] Re: missing files for MongoDB

2010-09-17 Thread spike3111
I have idea to look for into the cache. I found a method : getDoctrine_Odm_Mongodb_DocumentManagerService() ! Great ! Now i have a new problem when i try to test: config.yml: doctrine_odm.mongodb: default_database: musik default_connection: conn1 default_document_manager: dm1

Re: [symfony-users] [Symfony2, SandBox, PR3] Re: missing files for MongoDB

2010-09-17 Thread Daniel Lohse
This means that you don't have the PHP (!) extension (!) for MongoDB installed. Take a look at the documentation for installing it. Cheers, Daniel Sent from my iPhone4 On Sep 17, 2010, at 9:13 PM, spike3111 gilles.gauthie...@gmail.com wrote: I have idea to look for into the cache. I found a

[symfony-users] Re: [Symfony2, SandBox, PR3] Re: missing files for MongoDB

2010-09-17 Thread spike3111
Oh, yes! I skipped this step when I downloaded MogoDB! Thank you;) On 17 sep, 22:15, Daniel Lohse annismcken...@googlemail.com wrote: This means that you don't have the PHP (!) extension (!) for MongoDB installed. Take a look at the documentation for installing it. Cheers, Daniel Sent from