[symfony-users] Re: Unknown method SfGuardUser::checkPassword

2010-06-23 Thread Tom Ptacnik
I don't know what's wrong but you don't have to copy files from model/ doctrine/sfGuardPlugin into model/doctrine/, the callasses are loaded also from model/doctrine/sfGuardPlugin On 19 čvn, 19:21, Ricardo Jose Guzman Milanes wrote: > Hello, > > After installing sfDoctrineApplyPlugin and calling

[symfony-users] Re: Symfony "design" issue

2010-06-23 Thread Tom Ptacnik
I think that events would be right way to go ( http://www.symfony-project.org/gentle-introduction/1_4/en/17-Extending-Symfony ) I would create myUser which extends of sfGuardSecurityUser or sfBasicSecurityUser or something like that. Then when credentials will be changed notify(), if user is logg

[symfony-users] Re: Doctrine fails on insert new value

2010-06-23 Thread Tom Ptacnik
Which type of database do you use? On 22 čvn, 15:27, Marxy wrote: > Hello! > > I got this error while added new value on standrd form generated by > default. > > execute : SELECT r.sprint_id AS r__sprint_id, r.sprint_name AS > r__sprint_name, r.sprint_start AS r__sprint_start, r.sprint_end AS >

[symfony-users] Re: How to pass PHP values to addJavascript() (or something else) ?

2010-06-23 Thread Tom Ptacnik
So if I need to get some variables in javascript from the app, you advice is to generate it into the DOM? Example: I need to detect which culture is set. Then i should generate en into the DOM and then in the javascript read the value of the div by id? On 23 čvn, 14:57, Massimiliano Arione wrot

[symfony-users] Re: Updating the database with embedded form values

2010-06-23 Thread bretth
Additionally to this; I have tried using the doUpdateObject() method; I figure I can put the update code in there. However, the method isn't getting called. In my /lib/form/doctrine/businessForm.class.php, as a method of the businessForm class, I have: protected function doUpateObject($values)

[symfony-users] Re: mediatemnple Dv server symfony deployment

2010-06-23 Thread fRAnKEnSTEin
Hi, Thank you very much for your help. Basically 3 steps for making this work: 1- Cleaning cache is a very good idea 2- The tutorial posted above works like a charm! 3- Also runing the "frontend_dev.php" mode helps for debuggin problems Cheers On 18 jun, 07:26, Nicolás Moreira wrote: > Try my

[symfony-users] Updating the database with embedded form values

2010-06-23 Thread bretth
Hi all, i've got a question regarding where to put the code that actually saves the values in an embedded form. My scenario: I have a business object and a business_category object as well as a business_business_category object which ties business_categories to a business in a many to many relati

Re: [symfony-users] ahDoctrineEasyEmbeddedRelationsPlugin bug when sfWidgetFormInputFile used?

2010-06-23 Thread Daniel Lohse
Yes, this is — regrettably — a known and documented shortcoming of this plugin. I'll have to spend some time getting this to work. :( Daniel Sent from my iPad On Jun 23, 2010, at 5:21 PM, slau wrote: > Hi, > > bug or feature or developer mistake? > > I try to use ahDoctrineEasyEmbeddedRela

[symfony-users] ahDoctrineEasyEmbeddedRelationsPlugin bug when sfWidgetFormInputFile used?

2010-06-23 Thread slau
Hi, bug or feature or developer mistake? I try to use ahDoctrineEasyEmbeddedRelationsPlugin for a gallery with multiple pictures. So this is a 1:n relation. The form works fine as long my embed pictureForm has just standard input-fields. as soon I change the file field to "sfWidgetFormInput

Re: [symfony-users] change label in ahDoctrineEasyEmbeddedRelationsPlugin

2010-06-23 Thread Daniel Lohse
I'll have to take a look at that — please ping me again in a little while (this evening or tomorrow morning). Daniel Sent from my iPad On Jun 23, 2010, at 10:29 AM, slau wrote: > Hi everybody, > > I am using ahDoctrineEasyEmbeddedRelationsPlugin to embed pictureForms > within a let's say

[symfony-users] I18n in form filter

2010-06-23 Thread HAUSa
Is it possible to use fields from the i18n object table in the form filter? So can I embed the UserI18nFormFilter class in my UserFormFilter? The normal embedI18n function from the sfForm class doesn't work... -- If you want to report a vulnerability issue on symfony, please send it to security

[symfony-users] Re: Get record id and set it into form

2010-06-23 Thread titiyoyo
i used mergeForm() i used id_table_a as foreign key. so if i change it to table_a_id symfony would act as you described ? On 21 juin, 12:48, glmasw wrote: > When you say 'merged two forms' did you use the embedForm() or > mergeForm() or did you do this manually? > > Assuming that the table_a_id

[symfony-users] Re: How to pass PHP values to addJavascript() (or something else) ?

2010-06-23 Thread Massimiliano Arione
On 22 Giu, 10:03, François wrote: > I'd like to pass values to my JS script when I call it. So I look the > API for the addJavascript() method, herre is it : You shouldn't pass variables from php to javascript. Javascript should be always unobtrusive, so the only point of contact between your htm

Re: [symfony-users] Abridged summary of symfony-users@googlegroups.com - 44 Messages in 23 Topics

2010-06-23 Thread joost . farla
Beste, Tot en met 27 juni ben ik niet aanwezig op kantoor. U kunt voor dringende zaken contact opnemen met Wout Withagen: w...@freshheads.com of 013 5448761. Met vriendelijke groet, Joost Farla joost.fa...@freshheads.com - - freshheads grafisch ontwerp en internet applicaties Dunantstraat 1c

[symfony-users] Re: Day 1 - jobeet problem

2010-06-23 Thread Christian
same thing with frontend_dev.php... On 23 Giu, 08:55, pghoratiu wrote: > Try with frontend_dev.php because index.php (the production > controller) does not print out error messages. > Also try to put there a phpinfo.php that prints out the phpinfo() so > you can check if all your settings are all

[symfony-users] Re: Route does not add a parameter when its defined as a default one.

2010-06-23 Thread Ivo Az.
These are just example routes, there are no routes with the same name. Why should order of route matter when I use it's name in the url helper (e.g. link_for(5 '@blog?page=5'))? For Route 3 this should output http://localhost/blog/page/5, but the output is http://localhost/blog. On Jun 23, 4:38 am

[symfony-users] Re: Day 1 - jobeet problem

2010-06-23 Thread Christian
i opened it and this is the log: [Wed Jun 23 13:47:30 2010] [error] [client 127.0.0.1] PHP Warning: require_once(/home/chris/public_html/jobeet/web/config/ ProjectConfiguration.class.php): failed to open stream: No such file or directory in /home/chris/public_html/jobeet/web/index.php on line 4 [W

Re: [symfony-users] Symfony 2 Online Conference

2010-06-23 Thread Fabien Potencier
On 6/23/10 4:58 AM, Eno wrote: Anyone attending the online conference tomorrow? I didn't receieve any technical info on how to join the conference and my email asking for info bounced back (with an error message in French malheureusement!). Maybe someone at Sensio can help me? I will take ca