[symfony-users] can't create a doctrine field like date_demande_OPT_IN

2010-01-13 Thread l3ia-etu
hi everyone, when listing, into the error is Unknown record property / related component date_demande_optin on Particulier but when i change the field from date_demande_OPT_IN to date_demande_opt_in into the schema.yml file, all is ok is it a bug ? -- You received this message because you

[symfony-users] Re: Symfony forms

2010-01-13 Thread ScherlOMatic
Hello! Is there a question in your post? I can't find one. Bye On 13 Jan., 04:47, Gabo gabopo...@gmail.com wrote: Help!! I have 1 form (document_note); in the form exist: 1. id_documento : new sfWidgetFormDoctrineChoice(array('model' = 'document', 'add_empty' = true)), 2.note: FCKeditor

[symfony-users] Post comments

2010-01-13 Thread blissdrop
How can I add post_id invisible field to comment form? -- 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 from this group, send email to

Re: [symfony-users] Re: Installation on shared hosting

2010-01-13 Thread Frank He
using frontend_dev.php to see the errors. At least, you have already installed your project to blue host On Wed, Jan 13, 2010 at 3:30 AM, Ali aalish...@gmail.com wrote: Hi , thanks alot for your help , this time i m not getting any 500 error but , it show me a blank screen :( On Jan 13,

[symfony-users] sfDoctrineGuard Plugin Status

2010-01-13 Thread ReynierPM
Hi every: I didn't know if this is the right place to ask if not please my apologies. I'm using sfDoctrineGuard plugin for a while in some projects. For now I have latest release 4.0.1 but I have a question: the SVN version is updated and ready to use in production enviroments or not? --

RE: [symfony-users] sfDoctrineGuard Plugin Status

2010-01-13 Thread Olivier LOYNET
For my own I use the SVN version in prod because it's the last uptodate Olivier -Message d'origine- De : symfony-users@googlegroups.com [mailto:symfony- us...@googlegroups.com] De la part de ReynierPM Envoyé : mercredi 13 janvier 2010 14:49 À : symfony-users@googlegroups.com Objet 

Re: [symfony-users] Symfony pgsql

2010-01-13 Thread Alexandre Salomé
Alex Potter : not at all. This is not the symfony function : http://trac.symfony-project.org/browser/branches/1.1/lib/helper/DateHelper.php#L36 In my sample, arguments are not in the good order : ?php echo date_format($created_at, 'd') ? is better ;) Alex' 2010/1/12 Alex Potter

[symfony-users] symfony i18n propel : fallback language, howto implement ?

2010-01-13 Thread DigitalBase
For a new project we have a lot of propel i18n objects. The implementation of the project is to show the preferred language of an object and if that is not available show a secondary or third language (fallback). Each object is always available in at least one language, but not in all languages.

[symfony-users] Re: How to automatically fill out a field that relates to a user?

2010-01-13 Thread apm
For now i solve this, with this way 1. never create form as new form() 2. create object= new object(), fill data in controller $ob- setmythoseid($this-getUser()-GetBlah()), and then create form with this object 3. mark this field as hidden in form class But i dislike this way. Using browser for

[symfony-users] Many-many relationship, propel, forms

2010-01-13 Thread apm
I have problem with many-many mapping into forms. Schema: == Ducks: id:~ name: Hunters: id:~ name: D_H: id:~ duck_id: { type: integer, foreignTable: Hunters, foreignReference: id, required: true } hunter_id: { type: integer, foreignTable: Hunters,

Re: [symfony-users] Re: How to automatically fill out a field that relates to a user?

2010-01-13 Thread apm
2. i totaly cant get myUser object from form class. No idea how get auth user in form::configure Answer to myself get user from form class, possible with sfContext-GetUser, so i can move fill the hidden input from controller to form methods. -- You received this message because you are

[symfony-users] Advanced Forms Example

2010-01-13 Thread axel at
hi list, I'm using embedForm() and embedRelation() (described in: http://www.symfony-project.org/advent_calendar/8/en http://www.symfony-project.org/advent_calendar/9/en ) to handle upload of serveral files to objects of a certain class. everything works fine as described in the example. I use

[symfony-users] Re: How to automatically fill out a field that relates to a user?

2010-01-13 Thread Darren884
Ok guys I got it to work. This is how you would pass Symfony objects to the form. In my Actions I had to overwrite the automatically generated ones with: public function executeNew(sfWebRequest $request) { $this-form = $this-configuration-getForm(false, array ('employee' =

[symfony-users] load routingCms.yml

2010-01-13 Thread smellycat37
hello, I generate from my backend a file routingCms.yml in my frontend application I did it because url of pages can be modified... so a routing like : user_authentication: url: /authentification/user-authentication.html param: { module: user, action: authentication } could be

[symfony-users] Issue with doctrine table search adding id

2010-01-13 Thread PhiKapJames
I'm not sure what's going on this time, but I've created a table that stores users with locations. When i try to pull them though, the query is adding an id field that isn't part of the table (and of course failing). TblApprovalList: connection: internal_web tableName: tblApprovalList

[symfony-users] sfWidgetFormPropelJQueryAutocompleter stops working after submitting form with errors

2010-01-13 Thread J_Wesker
Hi everyone! I'm currently using: sfWidgetFormPropelJQueryAutocompleter for the autocompletition feature. Symfony 1.2 Mozilla Firefox 3.5.5 Firebug 1.4.5 When the new or edit actions are executed, the autocomplete enabled field works like it should, but if a validator catches an error on any

[symfony-users] How to customize query for admin generated module?

2010-01-13 Thread Darren884
How would I customize the query used on the list view for the admin area? I need to tweak it by having it only show records from a certain category, say Books. I would like to do this in the PHP form file or model file... Anyone know how I could do it without messing up the sorting and paging?

Re: [symfony-users] How to customize query for admin generated module?

2010-01-13 Thread Stéphane
Look at the buildQuery() of your auto_xxx.class.php (in cache dir) to overload it in your very own actions class. Cheers, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Wed, Jan 13, 2010 at 9:22 PM,

Re: [symfony-users] load routingCms.yml

2010-01-13 Thread Alexandru-Emil Lupu
I have done recently a thing like that .. and i have succeded via config handlers ... Here are my sources : http://pastebin.com/f16301021 Alecs On Wed, Jan 13, 2010 at 9:01 PM, smellycat37 charley.mail...@gmail.comwrote: hello, I generate from my backend a file routingCms.yml in my frontend

[symfony-users] Re: How to customize query for admin generated module?

2010-01-13 Thread Darren884
Hello that worked perfectly thank you very much for your help. On Jan 13, 12:52 pm, Stéphane stephane.er...@gmail.com wrote: Look at the buildQuery() of your auto_xxx.class.php (in cache dir) to overload it in your very own actions class. Cheers, Before Printing, Think about Your

[symfony-users] Having trouble modifying filters.

2010-01-13 Thread Darren884
In my form I use the setOptions to pass my user object so I can check the credentials in the form class if I want to display or hide fields, however in the FilterForm class there is no setOptions and class variables do not seem to be shared among functions. How am I to get the user object into my

[symfony-users] Have it so if a user doesnt fill in a field it stays as it was?

2010-01-13 Thread Darren884
I have a password field and I want it so if the user doesn't fill it in it stays the same value. How do I accomplish this? I also have a password confirmation field. Thanks -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group,

[symfony-users] How to enable plugin standalone

2010-01-13 Thread DoRiaN
Hello (i'm french, excuse me for my english), I work with sfForm standalone. I would like to enable sfDoctrinePlugin ? Is it possible ? How to do ? Thank you, Dorian -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send

[symfony-users] Re: Error message format

2010-01-13 Thread Ian
Here is the solution I made for Symfony 1.3/1.4. Just add this to your BaseForm class: public function getFormattedErrors($errorSchema = null) { if (null === $errorSchema) { $errorSchema = $this-getErrorSchema(); } $errorArray = array(); foreach ($errorSchema as

Re: [symfony-users] Modify sfGuardUserForm fields

2010-01-13 Thread ozgur ince
you should do your changes in plugins\sfDoctrineGuardPlugin\lib\form\doctrine\sfGuardUserAdminForm.class or change the form class in plugins\sfDoctrineGuardPlugin\modules\sfGuardUser\config\generator.yml On Wed, Jan 13, 2010 at 12:46 AM, Jose San Gil jsangi...@gmail.com wrote: Hi folks! I'm

Re: [symfony-users] sfWidgetFormPropelJQueryAutocompleter stops working after submitting form with errors

2010-01-13 Thread ozgur ince
did you change your executeCreate and executeUpdate actions? On Wed, Jan 13, 2010 at 10:04 PM, J_Wesker j_chave...@hotmail.com wrote: Hi everyone! I'm currently using: sfWidgetFormPropelJQueryAutocompleter for the autocompletition feature. Symfony 1.2 Mozilla Firefox 3.5.5 Firebug 1.4.5

[symfony-users] Re: sfDoctrineGuard is killing me

2010-01-13 Thread Mike Church
** This issue is now resolved *** DISCLAIMER I don't want this to seem like a giant bitch-fest over sfDoctrineGuard, it works great thank you for writing it, REALLY. But boy there were some frustrationg moments for me. I would hate to have built a custom authentication class(es?) myself, so I

[symfony-users] Re: sfWidgetFormJQueryDate option format is no longer supported in version 1.1.1?

2010-01-13 Thread Massimiliano Arione
On 12 Gen, 14:40, dziobacz aaabbbcccda...@gmail.com wrote: Massimiliano maybe you could create a plugin from your solution and place it here:http://www.symfony-project.org/plugins/? :) I don't think a symfony plugin makes sense. Consider that my solution is a *pure-javascript* one. There's no