[symfony-users] sfValidatorPropelUnique giving problems when updating sfGuardUserProfile

2008-12-01 Thread Flancer
I have this code: new sfValidatorPropelUnique(array('model' = 'sfGuardUserProfile', 'column' = array('email','nric'))) Which I think should check the combined uniqueness of the fields with the name of email,nric. Strangely enough, this code prevents me from editing the record unless i make

[symfony-users] Re: symfony 1.2 has been released

2008-12-01 Thread [EMAIL PROTECTED]
I'm not going to tell to anyone, It's to good to be shared. How can I download all the copies from the server? ;) Thanks!!! Fabian Lange wrote: Dear symfony community, I do not want you to miss our symfony 1.2 release. So head over to our blog and check my posting:

[symfony-users] Problem with create Admin generator Symfony 1.2

2008-12-01 Thread Necho
Hi ! I have problems with admin generator on Symfony 1.2. When i want to create a new staff for exemple, i have the form but when i click on save, i will be redirected on the list page but i don't my new staff ! Why? See you --~--~-~--~~~---~--~~ You received

[symfony-users] Re: Changed images/CSS/JS after a new build...

2008-12-01 Thread Sumedh
Someone plz look here? :) On Nov 29, 4:06 pm, Sumedh [EMAIL PROTECTED] wrote: When one changes some code on live site...there might be some changes in files that get cached (like images and CSS and JS)... How can one make the browsers reload these new items after the build? Yes, cleaning

[symfony-users] Re: Problem with create Admin generator Symfony 1.2

2008-12-01 Thread Fabien Potencier
I think this is a routing problem. Can you copy/paste your routing.yml file? -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.com | aide-de-camp.org Tél: +33 1 40 99 80 80 Necho wrote: Hi ! I have problems with admin generator on Symfony 1.2. When i

[symfony-users] Re: symfony 1.2 has been released

2008-12-01 Thread Lee Bolding
Cool. Looks like a lot of interesting new features congratulations :) Now, a few questions... In the What's new documentation there are a lot of mentions of Propel this and Propel-that (things like ObjectRouting) are the Doctrine versions analogous with the Propel ones? or is Doctrine

Re : [symfony-users] Re: Problem with create Admin generator Symfony 1.2

2008-12-01 Thread Teddy Maitre
change_culture:   url:   /change_culture/:culture   param: { module: user, action: changeCulture }   requirements:     culture: (en_US|fr_FR|de_DE) # default rules homepage:   url:   /   param: { module: main, action: index } default_index:   url:   /:module   param: { action: index } default:  

Re: Re : [symfony-users] Re: Problem with create Admin generator Symfony 1.2

2008-12-01 Thread Fabien Potencier
The routes for admin gen modules must be at the beginning of the file. -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.com | aide-de-camp.org Tél: +33 1 40 99 80 80 Teddy Maitre wrote: change_culture: url: /change_culture/:culture param: {

[symfony-users] sf 1.2 admin generator - action does not exist

2008-12-01 Thread Rytis Daugirdas
Hello, I've run into a problem with admin generator. php symfony propel:generate-admin admin Administrator Now I go to http://localdomain/admin_dev.php/administrators and I get sfError404Exception: Action administrators/index does not exist. What could be the problem? The cache is cleared. --

Re: Re : [symfony-users] Re: Problem with create Admin generator Symfony 1.2

2008-12-01 Thread Teddy Maitre
Thanks ! It does work now! I must write all the new code before the default rules no? --- En date de : Lun 1.12.08, Fabien Potencier [EMAIL PROTECTED] a écrit : De: Fabien Potencier [EMAIL PROTECTED] Objet: Re: Re : [symfony-users] Re: Problem with create Admin generator Symfony 1.2 À:

[symfony-users] Re: sf 1.2 admin generator - action does not exist

2008-12-01 Thread Alistair Stead
You have a typo in your URL should it not be administrator? singular? Regards Alistair 2008/12/1 Rytis Daugirdas [EMAIL PROTECTED] Hello, I've run into a problem with admin generator. php symfony propel:generate-admin admin Administrator Now I go to

[symfony-users] Bug in sfTesterForm ??

2008-12-01 Thread xwolf
Hello, Today I have updated symfony to 1.2.0 version, run my project's tests and got many errors. Error shows when I try to check the error message in the from. For example it is always 'required' instead of the error I have defined in form class. In the browser error message is correct and also

[symfony-users] Bug in sfTesterForm ??

2008-12-01 Thread xwolf
Hello, Today I have updated symfony to 1.2.0 version, run my project's tests and got many errors. Error shows when I try to check the error message in the from. For example it is always 'required' instead of the error I have defined in form class. In the browser error message is correct and also

[symfony-users] Re: sf 1.2 admin generator - action does not exist

2008-12-01 Thread Rytis Daugirdas
Well, I am not sure. Yes, /administrator does work, BUT the documentation indicates a plural form: http://www.symfony-project.org/book/1_2/14-Generators http://localhost/backend.php/article*s* Anyway, thanks for helping, it does work, even if not according to the documentation. On Mon, Dec 1,

[symfony-users] Re: Bug in sfTesterForm ??

2008-12-01 Thread xwolf
There are more bugs. Line 160 and 164 I think there also should be $error-getMessage() instead of $error-getCode(). On 1 Gru, 14:00, xwolf [EMAIL PROTECTED] wrote: Hello, Today I have updated symfony to 1.2.0 version, run my project's tests and got many errors. Error shows when I try to check

[symfony-users] Re: In-place editor tag woes

2008-12-01 Thread Charley Tiggs
It could be the reason, yes. You'll need to modify your asynchronously loaded script to have the parameter 'script' = true. You'll then see any javascript included in the asynchronous call executed. Charley On Nov 26, 2008, at 2:58 AM, GarethMc wrote: Just realised that perhaps this

[symfony-users] 1.2 v. admin generator impossible to set up

2008-12-01 Thread PaulM
Does someone have any example that works with the admin generator? I followed the documentation for 1.2 from the site but it is buggy with misspellings and commands that should work but dont. Does anyone have any tutorials that work well? --~--~-~--~~~---~--~~

[symfony-users] Re: What about the Symfony Guide ...

2008-12-01 Thread PaulM
i have the same question On Dec 1, 9:05 am, Reynier Perez Mira [EMAIL PROTECTED] wrote: Hi every: I have one doubt about the release of Symfony 1.2. Is the documentation updated or not? What is the state of this? Regards and thanks in advance Ing. Reynier Pérez Mira Dirección Técnica

[symfony-users] Re: 1.2 v. admin generator impossible to set up

2008-12-01 Thread Fabian Lange
There are plenty of examples on the site that work, in the blog and in chapter 14 of the book. Which doesnt work? Fabian On Mon, Dec 1, 2008 at 3:05 PM, PaulM [EMAIL PROTECTED] wrote: Does someone have any example that works with the admin generator? I followed the documentation for 1.2 from

[symfony-users] multiple connections default?

2008-12-01 Thread gimler
hallo, how can i set one connection as default when i use multiple connections? greetings Gimler --~--~-~--~~~---~--~~ 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] Admin's Customization with Symfony 1.2

2008-12-01 Thread Necho
Hi ! I would like to custom the admin of my module Staff. I have read the tutorial http://www.symfony-project.org/blog/2008/10/31/new-in-symfony-1-2-the-admin-generator and i have seen that it's possible! I must edit the code but where is this code file? The code file of admin generator for

[symfony-users] Re: 1.2 v. admin generator impossible to set up

2008-12-01 Thread Fabien Potencier
I have fixed the http://www.symfony-project.org/blog/2008/10/31/new-in-symfony-1-2-the-admin-generator blog post. -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.com | aide-de-camp.org Tél: +33 1 40 99 80 80 PaulM wrote: Does someone have any example

[symfony-users] Re: 1.2 v. admin generator impossible to set up

2008-12-01 Thread Thomas Rabaix
symfony cc ? On Mon, Dec 1, 2008 at 3:50 PM, PaulM [EMAIL PROTECTED] wrote: Here is what I am doing based on this documentation: http://www.symfony-project.org/book/1_2/14-Generators Step 1: Create schema.yml: propel: blog_article: id: ~ title: varchar(255)

[symfony-users] Re: 1.2 v. admin generator impossible to set up

2008-12-01 Thread Ant Cunningham
Did you try clearing the cache? PaulM wrote: Here is what I am doing based on this documentation: http://www.symfony-project.org/book/1_2/14-Generators Step 1: Create schema.yml: propel: blog_article: id: ~ title: varchar(255) content:

[symfony-users] Re: 1.2 v. admin generator impossible to set up

2008-12-01 Thread PaulM
Yes I have tried everything. I used symfony before and so I basically understand how it worksbut the docs need to be updated... On Dec 1, 9:58 am, Ant Cunningham [EMAIL PROTECTED] wrote: Did you try clearing the cache? PaulM wrote: Here is what I am doing based on this documentation:

[symfony-users] Re: 1.2 v. admin generator impossible to set up

2008-12-01 Thread PaulM
Fatal error: Class 'ArticleFormFilter' not found in E:\www\symf\cache \backend2\dev\modules\autoArticle\lib \BaseArticleGeneratorConfiguration.class.php on line 210 On Dec 1, 9:58 am, Ant Cunningham [EMAIL PROTECTED] wrote: Did you try clearing the cache? PaulM wrote: Here is what I am

[symfony-users] Re: 1.2 v. admin generator impossible to set up

2008-12-01 Thread Nicolas Perriault
On Mon, Dec 1, 2008 at 4:09 PM, PaulM [EMAIL PROTECTED] wrote: Fatal error: Class 'ArticleFormFilter' not found in E:\www\symf\cache \backend2\dev\modules\autoArticle\lib \BaseArticleGeneratorConfiguration.class.php on line 210 You need to run ./symfony propel:build-filters Then symfony cc

[symfony-users] Re: 1.2 v. admin generator impossible to set up

2008-12-01 Thread PaulM
Still the same.should I reinstall Symfony? ;) do a Symfony Reboot? On Dec 1, 10:12 am, Nicolas Perriault [EMAIL PROTECTED] wrote: On Mon, Dec 1, 2008 at 4:09 PM, PaulM [EMAIL PROTECTED] wrote: Fatal error: Class 'ArticleFormFilter' not found in E:\www\symf\cache

[symfony-users] Re: 1.2 v. admin generator impossible to set up

2008-12-01 Thread PaulM
Let me ask you this: 1.1 Documents show : propel: blog_article: _attributes: { phpName: Article } id: title: varchar(255) content: longvarchar created_at: blog_comment: _attributes: { phpName: Comment } id: article_id: author: varchar(255)

[symfony-users] Re: 1.2 v. admin generator impossible to set up

2008-12-01 Thread Serkan Koyuncu
are you using multiple versions of symfony? 1.0 w 1.2? 2008/12/1 PaulM [EMAIL PROTECTED] Let me ask you this: 1.1 Documents show : propel: blog_article: _attributes: { phpName: Article } id: title: varchar(255) content: longvarchar created_at:

[symfony-users] Re: 1.2 v. admin generator impossible to set up

2008-12-01 Thread PaulM
no...just 1 - 1.2 version. On Dec 1, 10:50 am, Serkan Koyuncu [EMAIL PROTECTED] wrote: are you using multiple versions of symfony? 1.0 w 1.2? 2008/12/1 PaulM [EMAIL PROTECTED] Let me ask you this: 1.1 Documents show : propel:  blog_article:    _attributes: { phpName: Article }

[symfony-users] Re: 1.2 v. admin generator impossible to set up

2008-12-01 Thread PaulM
I did everything again the exact same way and still getting the same error: Fatal error: Class 'ArticleFormFilter' not found in E:\www\symf\cache \backend\dev\modules\autoArticle\lib \BaseArticleGeneratorConfiguration.class.php on line 210 On Dec 1, 11:28 am, PaulM [EMAIL PROTECTED] wrote:

[symfony-users] Re: 1.2 v. admin generator impossible to set up

2008-12-01 Thread PaulM
Okay - I did Propel:build-filters and now its working but HOLY COW - why so much work for something so simple... there has to be a better way! On Dec 1, 11:28 am, PaulM [EMAIL PROTECTED] wrote: no...just 1  - 1.2 version. On Dec 1, 10:50 am, Serkan Koyuncu [EMAIL PROTECTED] wrote: are

[symfony-users] Re: 1.2 v. admin generator impossible to set up

2008-12-01 Thread PaulM
Someone must redo the entire doc for the admin generator. Here is why: generator: class: sfPropelGenerator param: model_class: BlogArticle theme: admin non_verbose_templates: true with_show: false singular: ~ plural:

[symfony-users] Re: 1.2 v. admin generator impossible to set up

2008-12-01 Thread Fabien Potencier
What do you have in the lib/model/filter/ directory? -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.com | aide-de-camp.org Tél: +33 1 40 99 80 80 PaulM wrote: I did everything again the exact same way and still getting the same error: Fatal

[symfony-users] Re: Changed images/CSS/JS after a new build...

2008-12-01 Thread pghoratiu
You have to use versioning for your resource files, one way to do it is described here: http://particletree.com/notebook/automatically-version-your-css-and-javascript-files/ Regards, gabriel On Dec 1, 1:58 pm, Sumedh [EMAIL PROTECTED] wrote: Someone plz look here? :) On Nov 29, 4:06 

[symfony-users] Re: 1.2 v. admin generator impossible to set up

2008-12-01 Thread Fabien Potencier
PaulM wrote: Someone must redo the entire doc for the admin generator. Here is why: generator: class: sfPropelGenerator param: model_class: BlogArticle theme: admin non_verbose_templates: true with_show: false singular:

[symfony-users] Re: 1.2 v. admin generator impossible to set up

2008-12-01 Thread PaulM
Okay - finaly I am at the bottom of this thing: symfony cc does not empty the cache folderis this a problem? this is why stuff gets not purged On Dec 1, 12:38 pm, PaulM [EMAIL PROTECTED] wrote: okay - here is the problemin the docs -  there are several versions for the

[symfony-users] Looks like the docs for Admin Generators need major update

2008-12-01 Thread PaulM
Can someone please do exactly as the docs suggest and eliminate the confusing errors that make it difficult for everyone to learn the new admin generator? the schema does not correspond to the commands followed in the documentation...and the schema from one section of the doc model is different

[symfony-users] Re: What about the Symfony Guide ...

2008-12-01 Thread Reynier Perez Mira
http://www.symfony-project.org/book/1_2/ This is outdate see by yourself the Chapter 10 Forms for example Ing. Reynier Pérez Mira Dirección Técnica IP --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users

[symfony-users] Re: What about the Symfony Guide ...

2008-12-01 Thread Fabian Lange
Hi, it is not: This chapter describes the way forms were implemented in symfony 1.0. For compatibility reason and because of the admin generator feature still uses this system, this information is also valuable for symfony 1.1. However, if you start a new project with symfony 1.1, you also

[symfony-users] Re: Admin's Customization with Symfony 1.2

2008-12-01 Thread Jonathan Wage
Just create the directory `apps/my_app/name_of_module/templates` and if you create a template with the same name it will use that file instead of the auto generated cache version. - Jon On Mon, Dec 1, 2008 at 8:38 AM, Necho [EMAIL PROTECTED] wrote: Hi ! I would like to custom the admin of

[symfony-users] Re: What about the Symfony Guide ...

2008-12-01 Thread Reynier Perez Mira
- http://www.symfony-project.org/book/forms/1_2/en/ I agree with you Fabian we can use this book (that remains incomplete yet) but this is not the only thing that changes in the new Symfony 1.2. There are a lots of things changed here for example: * Routing * Forms * Request * and much

[symfony-users] Re: Symfony prejudices and myths

2008-12-01 Thread Richtermeister
Another myth I've encountered is that sf forces you to use an ORM or DBA.. I'd love to see that talk, but I won't be able to go to the conference. Is it in english, and is there a way for you to tape it and put it online? :) On Nov 25, 12:21 pm, Stefan Koopmanschap [EMAIL PROTECTED] wrote:

[symfony-users] Re: Changed images/CSS/JS after a new build...

2008-12-01 Thread Eno
On Nov 29, 6:06 am, Sumedh [EMAIL PROTECTED] wrote: When one changes some code on live site...there might be some changes in files that get cached (like images and CSS and JS)... How can one make the browsers reload these new items after the build? One way is to add a query string when you

[symfony-users] Re: symfony 1.2 has been released

2008-12-01 Thread Cinxgler Mariaca Minda
2008/12/1 Lee Bolding [EMAIL PROTECTED]: Thanks! Shouldn't this be in the 1.2 version of the book though? +1 A user contributed notes under each book chapter would be nice, like the one in the online php manual, that's very useful, I think -- Cinxgler Mariaca Minda

[symfony-users] Re: Symfony prejudices and myths

2008-12-01 Thread Eno
On Nov 25, 3:21 pm, Stefan Koopmanschap [EMAIL PROTECTED] project.com wrote: For instance, that symfony is slow, that you only do configuration, that it is extremely coupled, etc. I think the main ones are performance and ORM usage. And as far as configuration goes, its no better or no worse

[symfony-users] Re: What about the Symfony Guide ...

2008-12-01 Thread Eno
On Dec 1, 3:49 pm, Nicolas Perriault [EMAIL PROTECTED] wrote: I don't want to speak in the name of Fabien, but to me the Jobeet tutorials will be the new book, dedicated to 1.2. Just imagine 24x the the content seen in the first day. I love the new tutorial since Ive been waiting for 1.2 for

[symfony-users] 来自Kenneth Lin的邮件

2008-12-01 Thread Kenneth Lin
Dear men or women: I am sorry to apply for leaving the mailgroup. Coz there are too much information everyday, I can't read. Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to

[symfony-users] Re: 来自Kenneth Lin的 邮件

2008-12-01 Thread Eno
On Tue, 2 Dec 2008, Kenneth Lin wrote: Dear men or women: I am sorry to apply for leaving the mailgroup. Coz there are too much information everyday, I can't read. http://googlegroups.com/group/symfony-users/subscribe -- --~--~-~--~~~---~--~~ You

[symfony-users] sfForms widget and validator

2008-12-01 Thread ken
Does calling $this-setWidget('control_name', new sfWidgetXXX) also reset its associated validator given the widget has already a declared validator from its base class? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups