[symfony-users] Any good reason to execute symfony with sudo?

2010-01-07 Thread Javier Garcia
Hi, im wondering if is there any good reason to execute symfony with sudo. Javi -- 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: From link_to to m_link_to

2010-01-09 Thread Javier Garcia
On 01/09/2010 05:43 AM, rekarnar wrote: try and check the head of your document and see if it is attempting to load the css with an incorrect path Hi rekarnar, I think you are referring to the file cropper.css, but it's loaded correctly when the template is showed without the modal box

[symfony-users] Copying my project: errors with symbolic links

2010-01-12 Thread Javier Garcia
Hi, to save my copy in an external disk i have use this: sudo cp /opt/lampp/htdocs/rs/* -R /media/disk-1/rs After that i get this error messages: cp: cannot create symbolic link `/media/disk-1/rs/web/sfProtoculousPlugin': Operation not permitted cp: cannot create symbolic link

Re: [symfony-users] How to enable plugin standalone

2010-01-14 Thread Javier Garcia
On 01/13/2010 10:36 PM, DoRiaN wrote: 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 To enable Doctrine

Re: [symfony-users] Modify sfGuardUserForm fields

2010-01-14 Thread Javier Garcia
On 01/14/2010 06:30 AM, ozgur ince wrote: 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 Hi, you should never modify the code or

Re: [symfony-users] how can I check the name of module and action in layout ?

2010-01-14 Thread Javier Garcia
On 01/14/2010 08:51 PM, dziobacz wrote: How can I check on the layout current module and action which use this layout ? Hi dziobac: sf_context-getModuleName() and sf_context- getActionName() Javi -- You received this message because you are subscribed to the Google Groups symfony users

Re: [symfony-users] widget multiple option

2010-01-15 Thread Javier Garcia
On 01/14/2010 11:20 PM, Gabo wrote: Help!! I have this in schema: documents_users: columns: document_id: { type: integer } user_id: { type: integer } created_at: { type: timestamp } y en the form, i change the widget user_id for this: 'user_id' = new

[symfony-users] Trying to add prototype functions

2010-01-15 Thread Javier Garcia
Hi, I have added this in a template: div id=mutsu class=apple/div ?php if( $('mutsu').hasClassName(apple) ){ alert(div has CSS apple class.); ? } but when i load the template in the browser, the javascript alert is not showed. Even in Netbeans i have a syntax error... I added

Re: [symfony-users] Re: Trying to add prototype functions

2010-01-15 Thread Javier Garcia
On 01/15/2010 09:20 PM, Tiago Nunes wrote: You're confusing PHP code with Javascript code, and that's not good. Thanks Tiago, it's true.. Anywy im trying this: ?php echo javascript_tag( if($('mutsu').hasClassName(apple)) { alert(div has CSS apple class.); } ) ? And it doesn't

[symfony-users] Trying to operate sfLightboxPlugin 1.0.11

2010-01-18 Thread Javier Garcia
Hi, i've just installed sfLightboxPlugin in sf 1.2.10 through: symfony plugin:install sfLightboxPlugin symfony plugin:publish-assets symfony cc Then i wrote this code (i copied it from sfLighboxplugin Readme): ?php use_helper('Lightbox'); ? ?php // Modal Lightbox plugin test $link_options =

[symfony-users] Trying to operate sfLightboxPlugin 1.0.11

2010-01-18 Thread Javier Garcia
Hi, i've just installed sfLightboxPlugin in sf 1.2.10 through: symfony plugin:install sfLightboxPlugin symfony plugin:publish-assets symfony cc Then i wrote this code (i copied it from sfLighboxplugin Readme): ?php use_helper('Lightbox'); ? ?php // Modal Lightbox plugin test $link_options =

Re: [symfony-users] Images belonging to a modal box are not showed

2010-01-23 Thread Javier Garcia
Thanks Gábor! On 01/23/2010 01:37 PM, Gábor Fási wrote: In the css it refers to the images as `url(images/...)`, but you need `url(/images/...)`. On Sat, Jan 23, 2010 at 13:32, Javier Garciatirengar...@gmail.com wrote: Hi, i have installed this library to show modal windows:

Re: [symfony-users] Re: Definitive guide for 1.3 and 1.4

2010-01-25 Thread Javier Garcia
Yes, i agree completely. Javi On 01/25/2010 11:29 AM, Gareth McCumskey wrote: I understand, as well, that this is an open source project and that the community should pitch in to things like the documentation in order to update it but you see I am caught in a bit of a catch 22 situation.

[symfony-users] Different edit and new forms: what should i do with _form.php

2010-01-25 Thread Javier Garcia
Hi, i want different edit and new forms for a mudule, i mean they will not have the same widgets. I want the first one only have name, address, and city, and the second one only name. Shoud i create two _form.php? For example _form_edit.php and _form_new.php? Regards Javi -- You received

Re: [symfony-users] Different edit and new forms: what should i do with _form.php

2010-01-25 Thread Javier Garcia
On 01/25/2010 01:00 PM, Stéphane wrote: Do you use the admin-gen feature ? No, the module is ordinary (doctrine:generate-module). -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to

Re: [symfony-users] Re: Definitive guide for 1.3 and 1.4

2010-01-25 Thread Javier Garcia
Hi, Thanks Fabien for your words. I think every software should have its official manual updated even if NOBODY is reading it. I think 1600 open tickets are too much tickets. I think maybe 1.3 and 1.4 could wait some?. Javi On 01/25/2010 04:52 PM, Fabien Potencier wrote: On 1/25/10 4:45

[symfony-users] Running symfony projects in Netbeans 6.8

2010-01-26 Thread Javier Garcia
Hi, if i go to File Project Properties Run configuration, a dialog box appears where i write this: Project URL: http://rs.localhost/ Index file: frontend.php But I get this line at the bottom of the dialog box: Index file must be a valid relative URL. Any idea? Javi -- You received

Re: [symfony-users] Re: Running symfony projects in Netbeans 6.8

2010-01-26 Thread Javier Garcia
On 01/26/2010 08:28 PM, stuart.lo...@gmail.com wrote: You also need to set the web root in the Sources section of the project configuration. Set the web root to web Thanks Stuart, it worked!. I dont have that line in red anymore.. -- You received this message because you are subscribed to

Re: [symfony-users] Customize sfGuardAuth forms

2010-01-29 Thread Javier Garcia
On 01/29/2010 03:36 AM, MartinB wrote: is there a better place so that I can upgrade the plugin and then not have to make this change again? Yes, you should write it at lib/form/doctrine/sfDoctrineGuardPlugin/sfGuardGroupForm.class.php and /sfGuardGroupPermissionForm. Javi -- You

Re: [symfony-users] No content

2010-02-02 Thread Javier Garcia
Hi, On 01/21/2010 06:01 PM, Eno wrote: Look at your web server error logs. Do you mean there are hosting providers that have error logs for FPT uploading? Javi -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send

[symfony-users] How to upload a database to the production server with symfony ?

2010-02-03 Thread Javier Garcia
Hi, just that. Javi -- 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 symfony-users+unsubscr...@googlegroups.com. For more

[symfony-users] Trying to add Whatever:hover (csshover3.htc)

2010-02-10 Thread Javier Garcia
Hi, i have this problem: http://forum.symfony-project.org/index.php/m/26709/ Any idea? Javi -- 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,

[symfony-users] How to change time till the user is logged out (if there is no activity in the session) ?

2010-02-10 Thread Javier Garcia
Hi, just that. Using sfDoctrineGuardPlugin Javi -- 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

[symfony-users] Re: Trying to add Whatever:hover (csshover3.htc)

2010-02-11 Thread Javier Garcia
No idea? Javi On 10 feb, 18:19, Javier Garcia tirengar...@gmail.com wrote: Hi, i have this problem: http://forum.symfony-project.org/index.php/m/26709/ Any idea? Javi -- You received this message because you are subscribed to the Google Groups symfony users group. To post

[symfony-users] Is there any way to see all the functions that have been executed?

2010-02-11 Thread Javier Garcia
Hi, Im having an error and as always something like this is showed below the error message: * 50. } 51.} 52. * at *sfFilterChain-execute*() in /SF_ROOT_DIR/lib/symfony/filter/sfRenderingFilter.class.php/ line 33 ...

Re: [symfony-users] Re: Is there any way to see all the functions that have been executed?

2010-02-12 Thread Javier Garcia
On 02/11/2010 10:02 PM, Stéphane wrote: So you must have xdebug installed to have a usable stack trace. I installed xdebug. I tried to follow the way the app is executed using Step into/over/out in NB, but i find _very difficult and tedious_ to follow all the way since send the request till

[symfony-users] Trying to give a default value to a filter form

2010-02-15 Thread Javier Garcia
Hi, im trying to give a default value to a field of a filter. I have no problems giving a default value to a form this way: $m = new Birthday(); $m-setName('Peter'); $this-filter = new BirthdayForm($m); But when i try this: $m = new Birthday(); $m-setName('Peter'); $this-filter = new

Re: [symfony-users] Filtering a list from the action

2010-02-15 Thread Javier Garcia
() method to display only the list of objects having myotherobj_id = $id. *De :* symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com] *De la part de* Javier Garcia *Envoyé :* lundi 15 février 2010 14:23 *À

[symfony-users] Re: Filtering a list from the action

2010-02-16 Thread Javier Garcia
: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com] De la part de Javier Garcia Envoyé : lundi 15 février 2010 14:23 À : symfony-users@googlegroups.com Objet : [symfony-users] Trying to give a default value to a filter form Hi, im trying to give a default value

Re: [symfony-users] Re: Filtering a list from the action

2010-02-16 Thread Javier Garcia
On 02/16/2010 04:19 PM, Florian wrote: What is the error? Have you cleared your navigation history/cache ? ( firefox seems to keep the selected values... ) Yes, i cleared it but the default value is not showed.. There isn't any error. -- You received this message because you are

Re: [symfony-users] Re: Filtering a list from the action

2010-02-16 Thread Javier Garcia
On 02/16/2010 04:26 PM, Tom Ptacnik wrote: Or you need to set this in the action? Yes, i need to set this in the action. -- 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

Re: [symfony-users] Re: Filtering a list from the action

2010-02-16 Thread Javier Garcia
. De : symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com] De la part de Javier Garcia Envoyé : lundi 15 février 2010 14:23 À : symfony-users@googlegroups.com Objet : [symfony-users] Trying to give a default value to a filter form Hi, im trying to give a default

[symfony-users] Re: How can I configure a route for a module using a 2-columns key ?

2010-02-16 Thread Javier Garcia
Anyone knows why the subject of the thread change? Javi On Feb 16, 5:56 pm, NOOVEO - Christophe Brun c.b...@nooveo.fr wrote: Basically, the related table is an association table : VitrineLivre:   actAs: { Timestampable: ~ }   columns:     vitrine_paragraphe_id: { type: integer(4), primary:

Re: [symfony-users] Javascript files included no matter what

2010-02-16 Thread Javier Garcia
On 02/16/2010 01:50 PM, Salim wrote: Hi all, I have a project where i commented all include_javascripts statements but they are included anyway. Is it a known issue, or am i missing something? Thank's for your help. Have you tried plugin:publish-assets? In the inverse direction (i had

[symfony-users] Why is not created the field id in the table?

2010-02-17 Thread Javier Garcia
Hi, i have this schema below. My problem: the field id in the table amigo_usuario is not created . Any idea? Usuario: inheritance: extends: sfGuardUser type: simple columns: nombre_apellidos: string(60) sexo: boolean fecha_nac: date provincia: string(60)

[symfony-users] Is there anyway to go to the next element in a Doctrine collection?

2010-02-17 Thread Javier Garcia
Hi, Im trying to show two elements of a Doctrine collection inside a div this way: foreach ($friends as $friend) { ? div id=photo_friend ?php echo link_to( image_tag( '/uploads/fotografias_miembros/'.$friend-getAvatar()),

Re: [symfony-users] Is there anyway to go to the next element in a Doctrine collection?

2010-02-17 Thread Javier Garcia
Responsabilitée Environnementale! On Wed, Feb 17, 2010 at 8:52 PM, Javier Garcia tirengar...@gmail.com mailto:tirengar...@gmail.com wrote: Hi, Im trying to show two elements of a Doctrine collection inside a div this way: foreach ($friends as $friend) { ? div id=photo_friend

Re: [symfony-users] Is there anyway to go to the next element in a Doctrine collection?

2010-02-17 Thread Javier Garcia
Votre Responsabilitée Environnementale! On Wed, Feb 17, 2010 at 9:17 PM, Javier Garcia tirengar...@gmail.com mailto:tirengar...@gmail.com wrote: I wrote this below inside the loop: ?php next($amigos_miembro) ? But it doesn't work.. Javi On 02/17/2010 08:57 PM, Stéphane

[symfony-users] Re: Is there anyway to go to the next element in a Doctrine collection?

2010-02-19 Thread Javier Garcia
No idea about this? Javi On Feb 17, 9:44 pm, Javier Garcia tirengar...@gmail.com wrote: Maybe this time the image is attached correctly..:).. On 02/17/2010 09:23 PM, St�phane wrote: Why not foreach-ing ? Please give us more of your template to understand what you want to do. Cheers

Re: [symfony-users] Hiding / Not showing a column from DB in CRUD forms

2010-02-24 Thread Javier Garcia
Hi, read the chapter about the Backend in the symfony manual. It's easy. Javi On 02/24/2010 03:45 PM, Bill P. wrote: Hello, I have been recently working in Grails (Java's symfony framework) and there is some weirdness if i want to create columns (properties) but not have them show up in

[symfony-users] Blank page after uploading my project to a hosting provider

2010-02-24 Thread Javier Garcia
Hi, i freezed the project and then i have uploaded it. When i open an URL it shows a blank page. There isnt any log in my hosting provider... Javi -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to

Re: [symfony-users] Blank page after uploading my project to a hosting provider

2010-02-24 Thread Javier Garcia
On 02/24/2010 09:14 PM, Eno wrote: Did you clear cache? I would also question why your provider can't have logs... Ok, just remove the content of the cache folder...Thanks. This is what i got about the log:

Re: [symfony-users] Re: Blank page after uploading my project to a hosting provider

2010-02-24 Thread Javier Garcia
On 02/24/2010 09:33 PM, Eno wrote: Ah, free hosting, that explains it... So... could you tell me a hosting provider with a log where i can see the errors? Javi -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send

Re: [symfony-users] Re: Blank page after uploading my project to a hosting provider

2010-02-25 Thread Javier Garcia
Hi, thanks all, On 02/24/2010 09:33 PM, Alexandru-Emil Lupu wrote: I could suggest you to comment out the security things in your _dev file and try see what that file sais ... You might get the answer there .. This is my frontend_dev.php file. I don't see any security thing commented:

Re: [symfony-users] need help on sfGuardPlugin

2010-02-25 Thread Javier Garcia
On 02/25/2010 11:45 AM, ram wrote: Hi Fabien, I'm Ram from India. I'm using sfGuardPlugin in one of my project. Can you please tell me how to use the same plugin for user registration at front end. Is it possible to use for register the user? Please help me. Thanks in advance, Try

Re: [symfony-users] Re: Filtering a list from the action

2010-02-26 Thread Javier Garcia
I finally get it works with this: $this-filter = new BirthdayFormFilter(array('name'=array('text'='Peter'))); Javi On 02/16/2010 05:35 PM, Javier Garcia wrote: I give you more code: I have this code below in the index template. The filter form (without Peter as default value, of course

[symfony-users] Question about sfWidgetFormChoice

2010-03-05 Thread Javier Garcia
Hi, I have this widget: $this-widgetSchema['age_from'] = new sfWidgetFormChoice(array('choices' = array('' ='-', range(14,130; When i click on it to select a value, the expanded select shows a italic 14, between '-' and 14,15 Any idea? Javi -- If you want to report a

[symfony-users] Error 500 in production: if there isn't any frontend_dev.php how can i see the what is the problem?

2010-03-09 Thread Javier Garcia
Hi, just that. I didn't find anything inside the log folder. Javi -- 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

[symfony-users] Re: Error 500 when i try to login the web app in production

2010-03-09 Thread Javier Garcia
I want to add i dont have any problems using if i deploy using my own rsync/ssh command. Javi On Mar 9, 1:01 pm, Javier Garcia tirengar...@gmail.com wrote: Hi, in production when i try to login to a user session of my web app, i get an error 500. This is what i'm founding in the php error

Re: [symfony-users] Re: Error 500 when i try to login the web app in production

2010-03-09 Thread Javier Garcia
Hi again, On 03/09/2010 02:34 PM, Billy Paradise wrote: client denied by server configuration is usually an apache error - I would check there first. Make sure you have something like: Directory /usr/local/www/domains Options Indexes FollowSymLinks AllowOverride All Order

[symfony-users] Re: Error 500 when i try to login the web app in production

2010-03-09 Thread Javier Garcia
it that way (obviously removing the Directory part you just added). On Tue, Mar 9, 2010 at 20:19, Javier Garcia tirengar...@gmail.com wrote: Hi again, On 03/09/2010 02:34 PM, Billy Paradise wrote: client denied by server configuration is usually an apache error - I would check there first

Re: [symfony-users] Re: Error 500 when i try to login the web app in production

2010-03-10 Thread Javier Garcia
On 03/10/2010 10:07 AM, Eno wrote: You need to ask whoever is hosting the application to add the config directives to your vhost configuration Do you mean modify httpd.conf? I can not modify httpd.conf, not even if i ask to modify it. On 03/10/2010 10:07 AM, Eno wrote: You need to ask

[symfony-users] After deploying, should i unfreeze the project in the remote host?

2010-03-10 Thread Javier Garcia
Hi, just that. I suppose no. Javi -- 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

Re: [symfony-users] Re: Error 500 when i try to login the web app in production

2010-03-10 Thread Javier Garcia
More news: when i get that 500 error this line below is written also in web/error_log: [10-Mar-2010 14:37:57] PDO Connection Error: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/opt/lampp/var/mysql/mysql.sock' (2) Even if i have written this in databases.yml:

[symfony-users] Re: Error 500 when i try to login the web app in production

2010-03-11 Thread Javier Garcia
Problem solved: locally i have, for example, my web directory in /opt/lammp/htdocs/ rs/web. Remotely i had /public_html/web, now I changed to /public_html/ rs/web and no error 500 anymore. Javi On Mar 10, 9:45 pm, Javier Garcia tirengar...@gmail.com wrote: More news: when i get that 500

[symfony-users] Re: Error 500 when i try to login the web app in production

2010-03-11 Thread Javier Garcia
Problem solved: locally i have, for example, my web directory in /opt/lammp/htdocs/ rs/web. Remotely i had /public_html/web, now I changed to /public_html/ rs/web and no error 500 anymore. Javi On Mar 10, 9:45 pm, Javier Garcia tirengar...@gmail.com wrote: More news: when i get that 500

[symfony-users] Paginate the result of two queries

2010-03-11 Thread Javier Garcia
Hi, to get the friends of a user i have a table like this: AmigoUsuario: columns: user1_id: type: integer(4) user2_id: type: integer(4) estado: type: integer default: 0 relations: User1: class: Usuario local: user1_id foreignAlias:

[symfony-users] Question about a form and unset

2010-03-12 Thread Javier Garcia
Hi, i have installed sfDoctrineGuardExtraPlugin. When i execute sfGuardRegister/register i found a form with username, email, password, and confirmation password. Now i want to remove the field 'username' from the form. For that i have written this class sfGuardFormRegister extends

[symfony-users] I don't want two filters in my section 'People' !!!!

2010-03-13 Thread Javier Garcia
Hi, in my social network, i have a section called 'People'. There, there are a paginated list of the members and a filter. The action that shows this section is miembros/index. Its template has the code to show the paged list and the filter. div id='lista_miembros' ... /div div

[symfony-users] Question about an AJAX link and the dev and prod enviroments

2010-03-15 Thread Javier Garcia
Hi, i have this line below that shows a link to go the next page of a list. a href=# onclick=new Ajax.Updater('lista_miembros', '/frontend_dev.php/miembros/filtrar?page=2')Next page/a The problem: as expected, it only works in the development enviroment of the frontend (frontend_dev.php).

[symfony-users] Re: Question about an AJAX link and the dev and prod enviroments

2010-03-15 Thread Javier Garcia
Ok, this is the solution: a href=# onclick=new Ajax.Updater('lista_miembros', '?php echo url_for(miembros/filtrar?page=2); ?')next/a Javi On Mar 15, 5:59 pm, Javier Garcia tirengar...@gmail.com wrote: Hi, i have this line below that shows a link to go the next page

[symfony-users] How to different forms filters in backend and frontend ?

2010-03-15 Thread Javier Garcia
Hi, I have 2 modules (one in the backend and the other one in the frontend) based on the same model. Is there any trick to get different form filter in the backend and in the frontend? Javi -- If you want to report a vulnerability issue on symfony, please send it to security at

[symfony-users] How can i see the content of Auto* classes of backend ?

2010-03-16 Thread Javier Garcia
Hi, i have created a backend and an admin module. In apps/backend/modules/actions/actions.class.php I have this : class cocheActions extends autoCocheActions { } Is there any way to see the content of autoCocheActions ? My proposal is find out how the pagination in backend works, concretely

[symfony-users] Re: How can i see the content of Auto* classes of backend ?

2010-03-16 Thread Javier Garcia
/$app dir They are deleted when you symfony cc Cheers, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Tue, Mar 16, 2010 at 1:43 PM, Javier Garcia tirengar...@gmail.comwrote: Hi, i have created

[symfony-users] Questio about the code of the backend

2010-03-18 Thread Javier Garcia
Hi, this is the index action and template generated at the backend for the model coche. public function executeIndex(sfWebRequest $request) { // sorting if ($request-getParameter('sort') $this-isValidSortColumn($request-getParameter('sort'))) {

[symfony-users] Re: Questio about the code of the backend

2010-03-18 Thread Javier Garcia
, Javier Garcia wrote: Hi, this is the index action and template generated at the backend for the model coche. public function executeIndex(sfWebRequest $request)  {    // sorting    if ($request-getParameter('sort') $this-isValidSortColumn($request-getParameter('sort

[symfony-users] Deploying: if i write the password in properties.ini, why i have to write it again?

2010-03-18 Thread Javier Garcia
Hi, this is my properties.ini. When i deploy my project (deploy --go) it asks me the password. [symfony] name=rs [production] host=208.43.66.44 port=65001 user=tirengar dir=public_html type=rsync pass=my_password --- Javi -- If you want to report a

[symfony-users] Re: Questio about the code of the backend

2010-03-18 Thread Javier Garcia
variable coming from. As for the $filters variable, you're right, that's not there but it's in the indexAction – this calls $this-getPager() which in turn calls $this-buildQuery() and this sets $this-filters. Phew. :) Cheers, Daniel On 18.03.2010, at 17:33, Javier Garcia wrote: Hi Daniel

[symfony-users] Date format: es_ES

2010-03-23 Thread Javier Garcia
Hi, in the Edit action, i have a date widget with a format month/day/year. I would like that the format of that date widget was day/month/year. I have followed the manual, and i now i have this in my settings.yml all: .settings: default_culture: es_ES I have also removed the cookies as the

Re: [symfony-users] Date format: es_ES

2010-03-23 Thread Javier Garcia
'fecha_nac'= new sfWidgetFormDate(), On 03/23/2010 07:36 PM, Tom Haskins-Vaughan wrote: which widget are you using? On Tue, Mar 23, 2010 at 2:14 PM, Javier Garciatirengar...@gmail.com wrote: Hi, in the Edit action, i have a date widget with a format month/day/year. I would

Re: [symfony-users] Date format: es_ES

2010-03-23 Thread Javier Garcia
On 03/23/2010 08:05 PM, Tom Haskins-Vaughan wrote: Try this:http://www.symfony-project.org/api/1_2/sfWidgetFormI18nDate Thanks, works! -- 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: Question about choice widget

2010-03-25 Thread Javier Garcia
Well, what i mean is, if the genre stored of a member is male, it should be active in Chico, so how can i do it? using if's and functions that retrieve the genre of the member to set the radio button state ? Javi On Mar 25, 7:03 pm, Javier Garcia tirengar...@gmail.com wrote: Hi, i have

[symfony-users] After editing the data of a member logged, loggingin is not possible

2010-03-26 Thread Javier Garcia
Hi, i have installed sfDoctrineGuardUser and have created this model that inherits sfGuardUser model: Usuario: inheritance: extends: sfGuardUser type: simple columns: nombre_apellidos: string(60) sexo: boolean fecha_nac: date provincia: string(60) localidad:

[symfony-users] Re: After editing the data of a member logged, loggingin is not possible

2010-03-26 Thread Javier Garcia
Hi again, i have realized that when i push the Save button in edit form, the value of the field 'password' changes (well its encrypted version). Why? I tried this time with symfony 1.3 and it happens the same. Javi On Mar 26, 2:06 pm, Javier Garcia tirengar...@gmail.com wrote: Hi, i have

[symfony-users] Re: After editing the data of a member logged, loggingin is not possible

2010-03-26 Thread Javier Garcia
Even if i unset 'password' field, it happens the same.. Javi On Mar 26, 5:45 pm, Javier Garcia tirengar...@gmail.com wrote: Hi again, i have realized that when i push the Save button in edit form, the value of the field 'password' changes (well its encrypted version). Why? I tried

[symfony-users] Re: After editing the data of a member logged, loggingin is not possible

2010-03-28 Thread Javier Garcia
? In PluginsfGuardUser there is an method setPassword() overwritten - it handle the not changing blank password On 26 bře, 19:02, Javier Garcia tirengar...@gmail.com wrote: Even if i unset 'password' field, it happens the same.. Javi On Mar 26, 5:45 pm, Javier Garcia tirengar...@gmail.com wrote: Hi

[symfony-users] Re: After editing the data of a member logged, loggingin is not possible

2010-03-28 Thread Javier Garcia
? In PluginsfGuardUser there is an method setPassword() overwritten - it handle the not changing blank password On 26 bře, 19:02, Javier Garcia tirengar...@gmail.com wrote: Even if i unset 'password' field, it happens the same.. Javi On Mar 26, 5:45 pm, Javier Garcia tirengar...@gmail.com wrote: Hi

[symfony-users] Trying to translate sfDoctrineGuardPlugin

2010-03-29 Thread Javier Garcia
Hi, these are my steps: - I have added this line to 'frontend/config/settings.yml' all: settings: default_culture:es_ES - I have created a file called 'plugins/sfDoctrineGuardPlugin/i18n/sf_guard.es_ES.xml' with this content: ?xml version=1.0 encoding=UTF-8 ? !DOCTYPE xliff

Re: [symfony-users] Re: Trying to translate sfDoctrineGuardPlugin

2010-03-29 Thread Javier Garcia
On 03/29/2010 03:05 PM, Massimiliano Arione wrote: Just use standard messages.es.xml file in your app/APPNAME/i18n directory. Thanks Massimiliano, but it doesn't work.. Javi -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You

[symfony-users] Why i can not retrieve a constant from app.yml ?

2010-03-30 Thread Javier Garcia
Hi, this is my frontend/config/app.yml all: sf_doctrineguard_plugin: app_sf_guard_plugin_signin_form:sfGuardFormSigninByEmail and i have this code in plugins/sfDoctrineGuardPlugin/modules/sfGuardAuth/lib/BasesfGuardAuthActions.class.php class BasesfGuardAuthActions extends

Re: [symfony-users] Why i can not retrieve a constant from app.yml ?

2010-03-30 Thread Javier Garcia
Works, thanks both! On 03/30/2010 04:02 PM, Jose Antonio Pio Gil wrote: Try this: all: sf_doctrineguard_plugin: app_sf_guard_plugin_signin_form: sfGuardFormSigninByEmail $class = sfConfig::get('app_sf_doctrineguard_plugin_app_sf_guard_plugin_signin_form', 'sfGuardFormSignin'); or

[symfony-users] What about the Remember me widget? What it serves for? Is useful?

2010-03-30 Thread Javier Garcia
Hi, the signin form of sfDoctrineGuardPlugin shows the widget Remember me. I suppose it serves for the web browser 'remember' the password, but now i think it is not very used so i should remove it.. Am i right? Javi -- If you want to report a vulnerability issue on symfony, please send it

[symfony-users] Re: Any way to show the global errors only if there isn't any field error?

2010-03-31 Thread Javier Garcia
:48 am, Javier Garcia tirengar...@gmail.com wrote: Hi, in a form if there is a field and a global error both messages are showed. I would like to show the global errors only if there isn't any field error. Any idea? Javi -- If you want to report a vulnerability issue on symfony, please send

[symfony-users] Re: Any way to show the global errors only if there isn't any field error?

2010-03-31 Thread Javier Garcia
31, 2:57 pm, Javier Garcia tirengar...@gmail.com wrote: For example: i have the signin action of sfDoctrineGuardPlugin. I have empty the 'username' input widget and then click on 'Sign in', this two messages are showed -Required and The username and/or password is invalid. I would like to show

[symfony-users] Associating a stylesheet to a template of a plugin

2010-04-01 Thread Javier Garcia
Hi, i have this line below in frontend/config/view.yml: stylesheets:[main.css] The rules of that file are applied to the templates of the modules of frontend, but no to the templates of sfDoctrineGuardPlugin. Even if i write ?php use_stylesheet('main') ? at the beginning of the

[symfony-users] Re: Associating a stylesheet to a template of a plugin

2010-04-01 Thread Javier Garcia
Thanks Michal, but it doesn't work either.. Javi On Apr 1, 11:21 am, Michał Piotrowski mkkp...@gmail.com wrote: 2010/4/1 Javier Garcia tirengar...@gmail.com: Hi, i have this line below in frontend/config/view.yml: stylesheets:    [main.css] The rules of that file are applied

[symfony-users] How would you reverse the notnull:true in a schema of a plugin?

2010-04-01 Thread Javier Garcia
Hi, sfGuardUser model of sfDoctrineGuardPlugin is defined this way: sfGuardUser: actAs: [Timestampable] columns: id: type: integer(4) primary: true autoincrement: true username: type: string(128) notnull: true unique: true As you can see

[symfony-users] Re: Associating a stylesheet to a template of a plugin

2010-04-01 Thread Javier Garcia
³: 2010/4/1 Javier Garcia tirengar...@gmail.com: Thanks Michal, but it doesn't work either.. I customized this way three sfDoctrineGuard plugins for my project. It works fine here. ls -R apps/frontend/modules/sfGuardAuth/ apps/frontend/modules/sfGuardAuth/: actions  lib  templates

[symfony-users] Re: Is there any way to see all the functions that have been executed?

2010-04-01 Thread Javier Garcia
...@gmail.com wrote: try: http://cn.php.net/debug_backtrace Xdebug is not required for that function On Feb 12, 2010, at 5:11 PM, Javier Garcia wrote: On 02/11/2010 10:02 PM, Stéphane wrote: So you must have xdebug installed to have a usable stack trace. I installed xdebug. I tried

[symfony-users] Re: How would you reverse the notnull:true in a schema of a plugin?

2010-04-03 Thread Javier Garcia
in the username field? On Thu, Apr 1, 2010 at 9:07 AM, Javier Garcia tirengar...@gmail.com wrote: Hi, sfGuardUser model of sfDoctrineGuardPlugin is defined this way: sfGuardUser:  actAs: [Timestampable]  columns:    id:      type: integer(4)      primary: true      autoincrement

[symfony-users] Trying to copy the project root folder to a pendrive. Error making symbolic link: Operation not permitted

2010-04-05 Thread Javier Garcia
Hi, im trying to copy the root folder of my sf project to a pendrive but im getting this error: Error while copying sfProtoculous There was an error copying the file into /media/KINGSTON/rs/web. Error making symbolic link: Operation not permitted I've tried with the project unfreezed and

[symfony-users] ¿Hay algun chat irc en español sob re symfony?

2010-04-05 Thread Javier Garcia
Hola, solo eso. Javi Ubuntu 8.04 -- 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 would you reverse the notnull:true in a schema of a plugin?

2010-04-06 Thread Javier Garcia
Other opinions? Javi On Apr 3, 2:26 pm, Tom Haskins-Vaughan t...@templestreetmedia.com wrote: Hi Javi, While some good points are made in that post, I'm not too concered, and I will continue to store emails in the username field. If you store email in username field, you have to be really

[symfony-users] Class not found even after cleaning the cache

2010-04-07 Thread Javier Garcia
Hi, im getting this error: Fatal error: Class 'ValidatorPasswordActual' not found in /opt/lampp/htdocs/rs/lib/form/cambiarPasswordForm.class.php on line /21/ This is the line 21: $this-validatorSchema-setPostValidator(new sfValidatorAnd(array(new ValidatorPasswordActual(), And this is

Re: [symfony-users] Class not found even after cleaning the cache

2010-04-07 Thread Javier Garcia
Inside a folder that i created called /lib/validator. Javi On 04/07/2010 04:01 PM, Daniel Lohse wrote: Where did you store that validator class? Daniel On 07.04.2010, at 15:41, Javier Garcia wrote: Hi, im getting this error: Fatal error: Class 'ValidatorPasswordActual' not found

Re: [symfony-users] Class not found even after cleaning the cache

2010-04-07 Thread Javier Garcia
with .class.php Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Wed, Apr 7, 2010 at 5:35 PM, Javier Garcia tirengar...@gmail.com mailto:tirengar...@gmail.com wrote: Inside a folder that i created called

[symfony-users] Is Symfonians source code updated?

2010-04-08 Thread Javier Garcia
Hi, i can't find the Change your password form (Home Profile Change your password). -- Javi Ubuntu 8.04 -- 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

Re: [symfony-users] Re: How would you reverse the notnull:true in a schema of a plugin?

2010-04-08 Thread Javier Garcia
On 04/08/2010 09:28 AM, Tom Ptacnik wrote: Did you try to overwrite the schema of sfguard in your schema.yml? Thanks Tom, I tried writing in config/doctrine/schema.yml this: car: columns: brand: type: string(32) and this below in

Re: [symfony-users] Re: How would you reverse the notnull:true in a schema of a plugin?

2010-04-09 Thread Javier Garcia
On 04/09/2010 12:22 PM, Tom Ptacnik wrote: I thought that you want to just change the username field in sfGuar from not null to null .. don't change the schema in plugin just try to add into your project schema.yml the: sfGuardUser: columns: username: type: string(128)

[symfony-users] Re: How would you reverse the notnull:true in a schema of a plugin?

2010-04-11 Thread Javier Garcia
Hi, it doesn't work because i'm using sf 1.2. Is there any way to operate schemas overwriting in sf 1.2 o 1.3? Javi On Apr 9, 9:55 pm, Javier Garcia tirengar...@gmail.com wrote: On 04/09/2010 12:22 PM, Tom Ptacnik wrote: I thought that you want to just change the username field in sfGuar

  1   2   3   4   >