[symfony-users] Re: i18n doubts backend generator

2010-07-02 Thread fRAnKEnSTEin
, symfony is looking for a translation in the 'messages' file. On Thu, Jul 1, 2010 at 21:03, fRAnKEnSTEin shirkav...@gmail.com wrote: hi there, I have added i18n support to my app's backend(generated using backend generator ), following next steps: 1- Create folder called i18n in my app's

[symfony-users] sfguardplugin i18n login page

2010-07-02 Thread fRAnKEnSTEin
Hi, I am using sfguardplugin for everything related to credentials at the backend(generated with the backend generator). I have added a combobox language selector based on Jobbet's tutorial, and everything works fine. The only problem i got is the login page generated by the pluggin, eveytime i

[symfony-users] Re: Create sfGuard user in production environment

2010-07-02 Thread fRAnKEnSTEin
Mariano, Do you have access to the database? for example using phpmyadmin or something? Cheers -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups symfony users

[symfony-users] i18n doubts backend generator

2010-07-01 Thread fRAnKEnSTEin
hi there, I have added i18n support to my app's backend(generated using backend generator ), following next steps: 1- Create folder called i18n in my app's backeng folder 2- Copy/paste file called sf_admin.es.xml to i18n folder just created 3- Set in apps/backend/config/settings.yml ... all:

[symfony-users] Re: i18n doubts backend generator

2010-07-01 Thread fRAnKEnSTEin
notice that i have added in sf_admin.es.xml the next lines: trans-unit sourceReservations/source targetReservaciones/target /trans-unit ... -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com

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

2010-06-11 Thread fRAnKEnSTEin
using the frontend_dev.php i get: You are not allowed to access this file. Check frontend_dev.php for more information. any idea? -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed

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

2010-06-11 Thread fRAnKEnSTEin
ok gonna see chck that, but meanwhile is there any tutorial about deploying symfony projects over dv mediatemple servers? do i have to created vhosts? modify the httpd.conf or something chers -- If you want to report a vulnerability issue on symfony, please send it to security at

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

2010-06-11 Thread fRAnKEnSTEin
Hi, Ok i have deleted that limitation, now i can load the frontend_dev.php file but all i can see is a blank page :( Any idea? cheers -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are

[symfony-users] render widget as label

2010-06-04 Thread fRAnKEnSTEin
Hi there, Is there any way of rendering a form widget as a label? for example if i have a form called fooForm defined as: ... ... public function configure() { ... ... $this-setWidgets(array( 'price' = new sfWidgetFormInputText(), )); ...

[symfony-users] render multiple partials ajax

2010-06-03 Thread fRAnKEnSTEin
Hi, is there any way to render multiple partials with an ajax call from a controller? the problem that i am having is that i need to refresh after the ajax call, segments of html that are in differentes separated parts of the dom, so i can not create a partial with this elemets inside(because

[symfony-users] Re: render multiple partials ajax

2010-06-03 Thread fRAnKEnSTEin
talking about a typical ajax request from a browser. On Thursday, June 3, 2010, fRAnKEnSTEin shirkav...@gmail.com wrote: Hi, is there any way to render multiple partials with an ajax call from a controller? the problem that i am having is that i need to refresh after the ajax call

[symfony-users] Re: render multiple partials ajax

2010-06-03 Thread fRAnKEnSTEin
Hi there, Thanks, rendering json like the actions ersponse is a very good idea. Cheers -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups symfony users group.

[symfony-users] Re: Add form widgets dynamically from javascript

2010-05-28 Thread fRAnKEnSTEin
Hi, Luc thanks for your fast reply!. OK as i understand i do not need to embed forms, because i do not need to ... input of data (edition or adding new data) into multiple related objects.. What i need to do is much simpler(i think) than that: **Just think, for example, that i want to create a

[symfony-users] Add form widgets dynamically from javascript

2010-05-27 Thread fRAnKEnSTEin
Hi, Curret work: I have created a regular form class called stepOne using form framework, so it have some widgets and validators.Now in one of my frontend templates i have created a link called add, when the user click over this link, it fires a javascript AJAX method called addrow that creates

[symfony-users] admin i18n doubt

2010-05-20 Thread fRAnKEnSTEin
Hi there, i have the following in a generator.yml of certain module: ... ... config: ... fields: name: { label: Name } ... ... I have implemented succesfuly i18n in amin generator, but all fileds: name: label ... does not get translated...i have tryed

[symfony-users] Call to undefined function include_component()

2010-05-17 Thread fRAnKEnSTEin
Hi, I have followed Language Switching from http://www.symfony-project.org/jobeet/1_4/Doctrine/en/19 tutorial for implementing a combo laguage selector to my site. When i try to load the site i get an error: Fatal error: Call to undefined function include_component() in

[symfony-users] bug? or i am missing something?

2010-05-12 Thread fRAnKEnSTEin
Hi there, i have a module called availability in my backend app, it's generator.yml file has: ... list: ... ... sort: [created_at desc] ... Suddenly when i try to enter into the module i get an error: SQLSTATE[42000]: Syntax error or access violation: 1064 You

[symfony-users] bug? or i am missing something?

2010-05-12 Thread fRAnKEnSTEin
Hi there, i have a module called availability in my backend app, it's generator.yml file has: ... list: ... ... sort: [created_at desc] ... Suddenly when i try to enter into the module i get an error: SQLSTATE[42000]: Syntax error or access violation: 1064 You

[symfony-users] Re: bug? or i am missing something?

2010-05-12 Thread fRAnKEnSTEin
The last post at this URL http://forum.symfony-project.org/index.php/m/91635/ here suggest a solution but it does not worked Any other idea? -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are

[symfony-users] Re: How overwrite addFiltersCriteria in symfony 1.4?

2010-05-06 Thread fRAnKEnSTEin
Hi there, Thank you very much for your help: ...that is why some filter inputs (like the date filter field for example) have 2 fields with the same name... Nice piece of info!. Ok you suggested me that i can take a look at the auto-generated forms. I have searched in cache folder for the auto-

[symfony-users] Re: How overwrite addFiltersCriteria in symfony 1.4?

2010-05-04 Thread fRAnKEnSTEin
Hi, As i see..i think i can not add few addXXXColumnQuery methods and create a query in parts. I tell you why. I have 2 custom inputs, so if i create 2 addXXXColumnQuery methods, ill end with something like this: public function addMyCustomInput1ColumnQuery($query, $field, $value) { } public

[symfony-users] Re: $this-getRequest()-isMethod('post')

2010-05-04 Thread fRAnKEnSTEin
Hi there, If you are inside some controller action you can try $request- isMethod('post') instead $this-getRequest()-isMethod('post') Tell me what happen if you give it a try... Cheers -- If you want to report a vulnerability issue on symfony, please send it to security at

[symfony-users] Re: doctrine mysql driver

2010-05-04 Thread fRAnKEnSTEin
Did you ran check_configuration.php using a browser or using a terminal window? Remember that the PHP program that the browser uses may differ from the one that the terminal uses. So maybe you are getting this error because you are seeing the configuration of the wrong PHP. Run

[symfony-users] Re: How overwrite addFiltersCriteria in symfony 1.4?

2010-05-02 Thread fRAnKEnSTEin
hi There, i do not need to make a join just a select * from where myCriteriaHere the criteria is: (initial_date = myCustomInput1 and final_date = myCustomInput1 ) or (final_date = myCustomInput2 and initial_date = myCustomInput2 ) or (initial_date = myCustomInput1 and

[symfony-users] Re: radiobutton and select values

2010-04-30 Thread fRAnKEnSTEin
thank you very much it worked! -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com 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] Re: Doctrine innerJoin doubt

2010-04-30 Thread fRAnKEnSTEin
yeap! it worked like a charm...thank you very much! -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com 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] Re: How overwrite addFiltersCriteria in symfony 1.4?

2010-04-30 Thread fRAnKEnSTEin
Hi, thank you for your answer. Ok i have a module in my backend called price. For this module i need to add a custom filter this is: i need to add to dates, and make a quey based on the dates selected by the user. So by now as i said before i just configure the generator.yml of the price module,

[symfony-users] Re: Doctrine innerJoin doubt

2010-04-27 Thread fRAnKEnSTEin
hi there, Evert: 1- Why don't you have an `id` column on reservation in your schema? as i saw on jobeete example, they do not define any id column for any of the DB tables..thats because symfony add it automatically for each db table. 2- have you tried to define the innerJoin as -

[symfony-users] radiobutton and select values

2010-04-27 Thread fRAnKEnSTEin
hi, I have some data stored in session variable, what i need to do, is to load that data in the select and radio button that i have in my template. My template looks like: ... ?php echo $form['cmb_adults_1']-render(array('class' = txt_boxes_peq)) ? ?php echo

[symfony-users] Re: radiobutton and select values

2010-04-27 Thread fRAnKEnSTEin
hi, The problem is that i am using a form, so instead of cretaing a select_tag in the template, i use for example something like this in my form class: ... new sfWidgetFormSelect(array( 'choices' = $this-getGroupChoices() )) ... in the form class a tryed to retrieve my session variables using

[symfony-users] Re: radiobutton and select values

2010-04-27 Thread fRAnKEnSTEin
hi, The problem is that i am using a form, so instead of cretaing a select_tag in the template, i use for example something like this in my form class: ... new sfWidgetFormSelect(array( 'choices' = $this- getGroupChoices() )) ... in the form class a tryed to retrieve my session variables using

[symfony-users] Re: Doctrine innerJoin doubt

2010-04-27 Thread fRAnKEnSTEin
someone with an idea..still having problems with this... -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email

[symfony-users] Re: Doctrine innerJoin doubt

2010-04-25 Thread fRAnKEnSTEin
... Any idea? Cheers On 24 abr, 16:05, Tiago Antunes tmb...@gmail.com wrote: Hi fRAnKEnSTEin, Have you tried to access with $reservation-getAdultsReserved() ? Regards, Tiago Antunes On Sat, Apr 24, 2010 at 5:36 AM, fRAnKEnSTEin shirkav...@gmail.com wrote: Hi, 1) I have this DB

[symfony-users] Re: Doctrine innerJoin doubt

2010-04-25 Thread fRAnKEnSTEin
sorry what i want to say is that none of them worked -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com 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] Re: Doctrine innerJoin doubt

2010-04-25 Thread fRAnKEnSTEin
Hi, Yes i have tryed: $reservation-getAdultsReserved() or $reservation-adultsreserved or $reservation-adults_reserved or $reservation-adultsReserved or $reservation-AdultsReserved() and so on..none of them workeddo i have something wrong in my db schema or somthingthis is rare... Any

[symfony-users] Doctrine innerJoin doubt

2010-04-23 Thread fRAnKEnSTEin
Hi, 1) I have this DB schema: Reservation: columns: name: { type: string(255), notnull: true } email: { type: string(255), notnull: true } commets:{ type: string(500), notnull: true } ReservationDetail: columns:

[symfony-users] join and custom filtering

2010-04-18 Thread fRAnKEnSTEin
Hi, 1- I generated a backend using the admin generator of symfony. Two of the generated modules are called client and picture(one client can have many pictures). Now in the client module i configurate the generator.yml in the list: option to show a View action, like so: ... list:

[symfony-users] Re: join and custom filtering

2010-04-18 Thread fRAnKEnSTEin
for the first issue this is my schema.yml Client: actAs: { Timestampable: ~ } columns: name: { type: string(255), notnull: true } email: { type: string(255), notnull: true } phone_number: { type: string(255), notnull: true }

[symfony-users] help with sfWidgetFormChoice and forms

2010-04-14 Thread fRAnKEnSTEin
Hi, Two questions here, any advice will be apreciatted: 1- I'm using sfWidgetFormChoice in a form. The problem that i'm having is that i need to place the options tags generated by de widget into tr of a table instead using ul that the widget generates by default. Is there any way of rendering

[symfony-users] Re: Form help

2010-04-14 Thread fRAnKEnSTEin
Maybe this help a bit: Assuming the field you talk about author field is a select widget in the form you can set its default value in the options section of the widget, to get the logged user, use something like: class myUser extends sfGuardSecurityUser { public function getUserId() {

[symfony-users] Re: Best way to implement a multi step form

2010-04-14 Thread fRAnKEnSTEin
I was thinking about saving form data from step 1 to step 2 in the session, but I may have problems with form serialisation. Theres no prolbem with that(in fact there are 2 popular ways of doing this: a)using session or b)using cookies)..because what you are going to sve in session is an array

[symfony-users] Some doubts

2010-04-13 Thread fRAnKEnSTEin
hi, I'm new in symfony, and i have some doubts about forms creation, by the way, i have been following this tutorial: http://www.symfony-project.org/forms/1_4/en/01-Form-Creation 1- Why in symfony all the HTML elements like inputs, selects etc should be created using php rendering? dont

[symfony-users] Re: Some doubts

2010-04-13 Thread fRAnKEnSTEin
Hi, Thank you very much Dennis Benkert and Peter Petrik help me alot! 1- About the debbuging app i already installed xdebug on my system, but rather than use that with an IDE like netbeans or eclipse, i just one to print the value of some variable in the screen. Just as simple as that, for

[symfony-users] Re: Some doubts

2010-04-13 Thread fRAnKEnSTEin
yeah! everything works! thanks Gareth McCumskey and the others ;) -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups symfony users group. To post to this group,

[symfony-users] Custom template and backend generator

2010-04-10 Thread fRAnKEnSTEin
Hi, I have created a backed using the backend generator of symfony and got 2 problems. One of the generated modules is called availability, it's generator.yml file is like: ... list: actions: generateSeason: { label: Generate Season } ... and its related action in the