[symfony-users] Re: demande_inscription
http://www.symfony-project.org/plugins/sfDoctrineGuardPlugin/4_0_1?tab=plugin_readme On 23 Mar, 14:59, safa boubekri boubekri.s...@gmail.com wrote: bonjour je suis ingénieur d'état génie logiciel maintenant je développe une application avec symfony je trouve des difficultés pou créer une page d'authentification SVP comment puisse-je créer une page authentification en symfony avec sfDoctrineGuardPlugin -- 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@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[symfony-users] Re: sfWidgetFormJqueryDate - Bug when selecting in list the 8th or 9th of a month
Just don't use that plugin. Instead, you should use a pure javascript solution, that is the best approach. See http://garakkio.altervista.org/datepicker/ cheers Massimiliano -- 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@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[symfony-users] Symfony 1.2 how to make session never expires until browser is closed?
Hi all, I couldn't seem to find how to do this. Does anyone know how to set user timeout to never expires until the browser window is closed (like PHP behavior)? Symfony 1.2 + Propel Cheers, Sid -- Blue Horn Ltd - System Development http://bluehorn.co.nz -- 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@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[symfony-users] Credentials problem
Hey I have credentials for each module i build. For example: # Module abc have the security.yml: all: credentials: 6 But i can access my module abc even without the credential 6. The results of the hasCredential are strange too, because i always get 1 from them, even if i remove the credential. Example: $this-addCredential(xpto); echo $this-hasCredential(xpto); // prints 1 $this-removeCredential(xpto); echo $this-hasCredential(xpto); // prints 1 What is happening? PS: My default security.yml have: default: is_secure: true -- 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@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [symfony-users] Credentials problem
Your security.yml needs to specify the required credentials, for example: default: is_secure: on credentials: admin Then don't forget to clear cache On Thu, Mar 25, 2010 at 11:24 PM, wueb webmaster@gmail.com wrote: Hey I have credentials for each module i build. For example: # Module abc have the security.yml: all: credentials: 6 But i can access my module abc even without the credential 6. The results of the hasCredential are strange too, because i always get 1 from them, even if i remove the credential. Example: $this-addCredential(xpto); echo $this-hasCredential(xpto); // prints 1 $this-removeCredential(xpto); echo $this-hasCredential(xpto); // prints 1 What is happening? PS: My default security.yml have: default: is_secure: true -- 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@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- Blue Horn Ltd - System Development http://bluehorn.co.nz -- 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@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [symfony-users] Credentials problem
Another thing... I think you confuse authentication and credential. is_secure is only checking whether the user has logged in or not (authentication), it doesn't check the credentials. A user can still logged in (authenticated) without having any credential. On Thu, Mar 25, 2010 at 11:26 PM, Sid Bachtiar sid.bacht...@gmail.com wrote: Your security.yml needs to specify the required credentials, for example: default: is_secure: on credentials: admin Then don't forget to clear cache On Thu, Mar 25, 2010 at 11:24 PM, wueb webmaster@gmail.com wrote: Hey I have credentials for each module i build. For example: # Module abc have the security.yml: all: credentials: 6 But i can access my module abc even without the credential 6. The results of the hasCredential are strange too, because i always get 1 from them, even if i remove the credential. Example: $this-addCredential(xpto); echo $this-hasCredential(xpto); // prints 1 $this-removeCredential(xpto); echo $this-hasCredential(xpto); // prints 1 What is happening? PS: My default security.yml have: default: is_secure: true -- 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@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- Blue Horn Ltd - System Development http://bluehorn.co.nz -- Blue Horn Ltd - System Development http://bluehorn.co.nz -- 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@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[symfony-users] Re: Credentials problem
My security.yml on the application or inside the module? I already have. Right now they are like this: #application security.yml default: is_secure: on #module security.yml all: credentials: 6 I try what you suggest and nothing happened unfortunally. I still can access module withouth credential 6. -- 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@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [symfony-users] Re: Credentials problem
It should be 'default' I think, not 'all'. On Thu, Mar 25, 2010 at 11:36 PM, wueb webmaster@gmail.com wrote: My security.yml on the application or inside the module? I already have. Right now they are like this: #application security.yml default: is_secure: on #module security.yml all: credentials: 6 I try what you suggest and nothing happened unfortunally. I still can access module withouth credential 6. -- 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@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- Blue Horn Ltd - System Development http://bluehorn.co.nz -- 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@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[symfony-users] Re: Credentials problem
I know mate. The problem is the logged user can't have access to a specific module if he don't have the Credential 6, but he is having access to it, even without the Credential 6. On 25 Mar, 10:31, Sid Bachtiar sid.bacht...@gmail.com wrote: Another thing... I think you confuse authentication and credential. is_secure is only checking whether the user has logged in or not (authentication), it doesn't check the credentials. A user can still logged in (authenticated) without having any credential. On Thu, Mar 25, 2010 at 11:26 PM, Sid Bachtiar sid.bacht...@gmail.com wrote: Your security.yml needs to specify the required credentials, for example: default: is_secure: on credentials: admin Then don't forget to clear cache On Thu, Mar 25, 2010 at 11:24 PM, wueb webmaster@gmail.com wrote: Hey I have credentials for each module i build. For example: # Module abc have the security.yml: all: credentials: 6 But i can access my module abc even without the credential 6. The results of the hasCredential are strange too, because i always get 1 from them, even if i remove the credential. Example: $this-addCredential(xpto); echo $this-hasCredential(xpto); // prints 1 $this-removeCredential(xpto); echo $this-hasCredential(xpto); // prints 1 What is happening? PS: My default security.yml have: default: is_secure: true -- 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@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- Blue Horn Ltd - System Development http://bluehorn.co.nz -- Blue Horn Ltd - System Developmenthttp://bluehorn.co.nz -- 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@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[symfony-users] config routing
hello, I'm a begainner of symfony technology. i try to create my first project it's work wonderful using this urlhttp://localhost/sf_sandbox/ web/frontend_dev.php but what can i do to make this url work http:// localhost/sf_sandbox/web. thanks -- 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@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[symfony-users] Re: Credentials problem
Well, i follow Symfony book instructions. They say is all. But i try default and nothing happened. http://www.symfony-project.org/reference/1_4/en/08-Security On 25 Mar, 10:38, Sid Bachtiar sid.bacht...@gmail.com wrote: It should be 'default' I think, not 'all'. On Thu, Mar 25, 2010 at 11:36 PM, wueb webmaster@gmail.com wrote: My security.yml on the application or inside the module? I already have. Right now they are like this: #application security.yml default: is_secure: on #module security.yml all: credentials: 6 I try what you suggest and nothing happened unfortunally. I still can access module withouth credential 6. -- 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@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- Blue Horn Ltd - System Developmenthttp://bluehorn.co.nz -- 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@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[symfony-users] Re: demande_inscription
hi, It's easy :) after install sfDoctrineGuardPlugin, be sure that all table of this plugin was correctly added in the database, so copy the module sfGuardAuth in your module application and you must confidure this in setting.yml. It's easy :). good luck On 23 mar, 14:59, safa boubekri boubekri.s...@gmail.com wrote: bonjour je suis ingénieur d'état génie logiciel maintenant je développe une application avec symfony je trouve des difficultés pou créer une page d'authentification SVP comment puisse-je créer une page authentification en symfony avec sfDoctrineGuardPlugin -- 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@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[symfony-users] Virtual columns admin-generator fail
Hi, I would like to add a Virtual column to an admin generator list. I add a field with _ before the name and I created a partial to render this field. All works OK with render, but I try to access the $form varaivle I got an error. How can I obtain a ID value of the object without the $form? Why it doesn't works? I'm using 1.4 version with the sandbox. Thanks in advance. -- 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@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[symfony-users] CSRF attack detected message
Hello all! Is there a way to change or customize the CSRF attack detected message in Symfony 1.4? Could find anything in the net... One thought was using I18N ... Take care! -- 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@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[symfony-users] How to install sfPiwikPlugin with Symfony 1.4
Hello everybody, I just want to apologize before starting explain my problem for my english which can be bad. I have a website developped with Symfony 1.4 and I would like to install the sfPiwikPlugin which is normally compatable with this version of Symfony. But when I try to write in a DOS Console : symfony plugin:install sfPiwikPlugin I get a message saying that it couldn't find this sfPiwikPlugin. So I know there is a manual install for every plugin but I don't understand how I have to do. Someone could help me please? What should I do step by step ? Thanks in advance, Mickael -- 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@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[symfony-users] Too much data in visualization
Dear All, I developed an application with symfony. Everything is almost ok, except a problem in visualizzation of data. I have a page where I want to show all the elements of one table of my database. Since the number of elements is about 2500 the visualizzation in localhost works well (it spends sometime, but it works), while if I try to visualize the same data connecting to a server web where there is the same application it does not work very well. The results are truncated to about 1000. Anyone have a idea to fix this problem? thanks in advance Giuseppe -- 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@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[symfony-users] [Doctrine Migration] How to use one connection for generated migration diff files
Hi, I've two connections in databases.yml : all: connection1: class: sfDoctrineDatabase param: dsn: 'mysql:host=myhost;dbname=dbname1;' username: username password: pwd connection2: class: sfDoctrineDatabase param: dsn: 'mysql:host=myhost;dbname=dbname2;' username: username password: pwd I've changed some stuff in schema.yml (add foreign key on one table from connection2 to another table from connection 1). If I build all, there is no problem, relation is good. But I don't want to. I used symfony doctrine:generate-migrations-diff. So, I've now 2 generated migrations files. But I don't find where I can say that this migration action have to use connection1 and this other action have to use connection2. Have you an 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 to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[symfony-users] Re: Too much data in visualization
Can't you use a pager? On 25 Mar, 07:46, Serra giuseppe.se...@gmail.com wrote: Dear All, I developed an application with symfony. Everything is almost ok, except a problem in visualizzation of data. I have a page where I want to show all the elements of one table of my database. Since the number of elements is about 2500 the visualizzation in localhost works well (it spends sometime, but it works), while if I try to visualize the same data connecting to a server web where there is the same application it does not work very well. The results are truncated to about 1000. Anyone have a idea to fix this problem? thanks in advance Giuseppe -- 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@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
RE: [symfony-users] Virtual columns admin-generator fail
You are adding a virtual field to the list view - there is no form there. Your partial will have access to an object with the name of the model the admin generator is for. (I.e. if you generated a module for your Car model, your partial will have a $car object to work with.) Sorry if I am expressing myself poorly... In a bit of a hurry. A. -Oorspronkelijk bericht- Van: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com] Namens Txus Verzonden: woensdag 24 maart 2010 11:43 Aan: symfony users Onderwerp: [symfony-users] Virtual columns admin-generator fail Hi, I would like to add a Virtual column to an admin generator list. I add a field with _ before the name and I created a partial to render this field. All works OK with render, but I try to access the $form varaivle I got an error. How can I obtain a ID value of the object without the $form? Why it doesn't 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 subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[symfony-users] [i18n] use extract task on variables
Hi, Would it be possible to run i18n extract task on variables ? Even with ugly method ? Thx in advance, Red1 -- 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@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[symfony-users] Re: Symfony 1.2 how to make session never expires until browser is closed?
I've found a solution http://bluehorn.co.nz/2010/03/26/how-to-make-symfony-session-to-never-timeout/ On Thu, Mar 25, 2010 at 10:01 PM, Sid Bachtiar sid.bacht...@gmail.com wrote: Hi all, I couldn't seem to find how to do this. Does anyone know how to set user timeout to never expires until the browser window is closed (like PHP behavior)? Symfony 1.2 + Propel Cheers, Sid -- Blue Horn Ltd - System Development http://bluehorn.co.nz -- Blue Horn Ltd - System Development http://bluehorn.co.nz -- 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@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[symfony-users] Re: How to install sfPiwikPlugin with Symfony 1.4
Just RTFM http://www.symfony-project.org/plugins/sfPiwikPlugin/1_0_1?tab=plugin_readme symfony plugin:install sfPiwikPlugin -s=beta On 24 Mar, 12:08, Mickael mickael.derv...@gmail.com wrote: Hello everybody, I just want to apologize before starting explain my problem for my english which can be bad. I have a website developped with Symfony 1.4 and I would like to install the sfPiwikPlugin which is normally compatable with this version of Symfony. But when I try to write in a DOS Console : symfony plugin:install sfPiwikPlugin I get a message saying that it couldn't find this sfPiwikPlugin. So I know there is a manual install for every plugin but I don't understand how I have to do. Someone could help me please? What should I do step by step ? Thanks in advance, Mickael -- 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@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[symfony-users] Re: Best way to store app settings that are configurable from administrator interface
Wouldn't Alex's solution also need a cache reload? On 24 mar, 13:58, Tom Haskins-Vaughan t...@templestreetmedia.com wrote: Sorry Alex, this was meant to arrive before yours ;-) On Wed, Mar 24, 2010 at 8:57 AM, Tom Haskins-Vaughan t...@templestreetmedia.com wrote: I think the problem you're going to run into here is that the cache needs to be reloaded each time you make a change to the app.yml file. So perhaps it's best to have a config table in your database. On Tue, Mar 23, 2010 at 11:04 AM, Adi VELICU adi.vel...@gmail.com wrote: Hello, I am new to Symfony, but I did my best to document myself before asking this question. I have a couple of settings in my application which I've placed in app.yml for now. They are related to aspects of the application that should be modifiable by the administrator through a web interface. Is this the best way to do it? For now I've created an action and a form that displays the content of the app.yml file and writes it after the admin has modified it. I am not sure this is the best solution; if the administrator were to make a mistake in editing the YML file, he might lock himself out of the administrative interface. Any tips on where to define a couple of application-specific parameters (such as max_images_per_page, max_images_per_gallery etc) that can be easily modified by the administrator? Thanks, Adi -- 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@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.- Ocultar texto de la cita - - Mostrar texto de la cita - -- 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@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[symfony-users] Re: sfValidatorDoctrineChoice and i18n
At first I want to say that I'm only guessing what might be wrong, because I'm not much experienced Symfony user...so If someone else know whats wrong, just write it ;) I would try to simplier the code of the widget... 'category'= new sfWidgetFormDoctrineChoice(array('model' = 'Category', 'method' = 'getName', 'add_empty' = '')), Then you can try to remove the validator for the widget ... is it working without he validator? On 24 bře, 08:59, HiDDeN davidmoralesmoj...@gmail.com wrote: Like this: $query_categories = Doctrine_Core::getTable('Category')-createQuery('c')-select('c.id, t.name name, t.slug slug')- leftJoin('c.Translation t')-andWhere('t.lang = ?', 'en'); 'category' = new sfWidgetFormDoctrineChoice(array('model' = 'Category', 'method' = 'getName', 'key_method' = 'getSlug', 'query' = $query_categories, 'add_empty' = '')), On Mar 24, 8:13 am, Tom Ptacnik to...@tomor.cz wrote: How does the DoctrineChoice widget for this validator look? On 22 bře, 15:16, HiDDeN davidmoralesmoj...@gmail.com wrote: Yes, it is defined as a i18n table: Category: actAs: I18n: fields: [name] actAs: Sluggable: { fields: [name], uniqueBy: [lang, name] } columns: id: { type: integer(2), unsigned: true, primary: true } name: { type: string, length: 50, notnull: true } On Mar 22, 2:53 pm, Tom Ptacnik to...@tomor.cz wrote: Have the model Category a slug attribute?, or better, has it a getSlug() method? On 22 bře, 12:19, HiDDeN davidmoralesmoj...@gmail.com wrote: I'm using Symfony 1.4.3 + Doctrine 1.2, and a typical i18n category table (the ids are in category, and the name and slug in category_translation). I have this Doctrine validator defined in my form: $this-setValidators(array( 'category' = new sfValidatorDoctrineChoice(array('model' = 'Category', 'column' = 'slug')), )); So, when I submit the form, I get this error: Unknown column slug Then I thought: ok, maybe I should include a query with the Translation table linked, let's do it: $query = Doctrine_Core::getTable('Category')-createQuery('c')-leftJoin('c.Translat ion t'); $this-setValidators(array( 'category' = new sfValidatorDoctrineChoice(array('model' = 'Category', 'query' = $query, 'column' = 'slug')), )); And when resubmiting, I'm again getting the same error: Unknown column slug Mmm... ok, maybe I should define a select statement with the slug field defined. So, I redefine my query like this: $query = Doctrine_Core::getTable('Category')-createQuery('c')-select('c.id, t.name name, t.slug slug')-leftJoin('c.Translation t'); And again the error: Unknown column slug I have no more ideas... what should I do?? Thanks! -- 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@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [symfony-users] Invitation to connect on LinkedIn
Gah, I'm so sorry. I didn't notice that linkedIn was sending this to all my contacts. I wonder how many more mailing lists this was sent to. I'm very disappointed... and very sorry. Luis. -- On Wed, Mar 24, 2010 at 11:02 PM, Luis Zarrabeitia zarrabei...@gmail.comwrote: LinkedIn Luis Zarrabeitia requested to add you as a connection on LinkedIn: Sammi, -- 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@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[symfony-users] sfWidgetFormChoice rendered as an unordered list
Hello. Is there some way to render a sfWidgetFormChoice as an unordered list? In the API there is an option called 'renderer_class' but I can't find any documentation or example about it. Thanks! -- 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@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[symfony-users] no logs created in symfony 1.2.12
I have a problem with my symfony 1.2.12 installation that I inherited from another developer: no logs are being created in the log directory. In apps/frontend/config/settings.yml I have: logging_enabled:on for prod, dev and test. And in apps/frontend/config/factories.yml prod: logger: class: sfNoLogger param: level: err loggers: ~ cli: controller: class: sfConsoleController request: class: sfConsoleRequest response: class: sfConsoleResponse test: storage: class: sfSessionTestStorage param: session_path: %SF_TEST_CACHE_DIR%/sessions response: class: sfWebResponse Are those settings somehow misconfigured or am I missing something else? Best, Peter -- 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@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[symfony-users] no web debug toolbar in symfony 1.2.12
I would like to use the web debug toolbar, but for some reason I am unable to make it appear (I've inherited this symfony installation from another developer). In apps/frontend/config/settings.yml I have web_debug: on for prod, dev and test. But I see no toolbar? Do I need to request it with some specific parameter or what should I do to get it appear? Newbie regards, Peter -- 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@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [symfony-users] no web debug toolbar in symfony 1.2.12
Is it set for the correct environment (prod, dev, etc)? Did you clear your cache? symfony cc Does it appear if you change it to true instead of on? I don't remember when that change happened. On Thu, Mar 25, 2010 at 1:05 PM, Peter Peltonen peter.pelto...@gmail.com wrote: I would like to use the web debug toolbar, but for some reason I am unable to make it appear (I've inherited this symfony installation from another developer). In apps/frontend/config/settings.yml I have web_debug: on for prod, dev and test. But I see no toolbar? Do I need to request it with some specific parameter or what should I do to get it appear? Newbie regards, Peter -- 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@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- 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@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [symfony-users] no logs created in symfony 1.2.12
Does the logdirectory have write permissions for the web server user? On Thu, Mar 25, 2010 at 12:55 PM, Peter Peltonen peter.pelto...@gmail.com wrote: I have a problem with my symfony 1.2.12 installation that I inherited from another developer: no logs are being created in the log directory. In apps/frontend/config/settings.yml I have: logging_enabled: on for prod, dev and test. And in apps/frontend/config/factories.yml prod: logger: class: sfNoLogger param: level: err loggers: ~ cli: controller: class: sfConsoleController request: class: sfConsoleRequest response: class: sfConsoleResponse test: storage: class: sfSessionTestStorage param: session_path: %SF_TEST_CACHE_DIR%/sessions response: class: sfWebResponse Are those settings somehow misconfigured or am I missing something else? Best, Peter -- 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@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- 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@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [symfony-users] Re: Best way to store app settings that are configurable from administrator interface
Perhaps. I just wanted to make it clear that I was commenting on Adi's email rather than Alex's :) On Thu, Mar 25, 2010 at 9:04 AM, Gorka glopezdeto...@gmail.com wrote: Wouldn't Alex's solution also need a cache reload? On 24 mar, 13:58, Tom Haskins-Vaughan t...@templestreetmedia.com wrote: Sorry Alex, this was meant to arrive before yours ;-) On Wed, Mar 24, 2010 at 8:57 AM, Tom Haskins-Vaughan t...@templestreetmedia.com wrote: I think the problem you're going to run into here is that the cache needs to be reloaded each time you make a change to the app.yml file. So perhaps it's best to have a config table in your database. On Tue, Mar 23, 2010 at 11:04 AM, Adi VELICU adi.vel...@gmail.com wrote: Hello, I am new to Symfony, but I did my best to document myself before asking this question. I have a couple of settings in my application which I've placed in app.yml for now. They are related to aspects of the application that should be modifiable by the administrator through a web interface. Is this the best way to do it? For now I've created an action and a form that displays the content of the app.yml file and writes it after the admin has modified it. I am not sure this is the best solution; if the administrator were to make a mistake in editing the YML file, he might lock himself out of the administrative interface. Any tips on where to define a couple of application-specific parameters (such as max_images_per_page, max_images_per_gallery etc) that can be easily modified by the administrator? Thanks, Adi -- 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@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.- Ocultar texto de la cita - - Mostrar texto de la cita - -- 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@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- 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@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [symfony-users] no web debug toolbar in symfony 1.2.12
Hi, On Thu, Mar 25, 2010 at 7:32 PM, Tom Haskins-Vaughan t...@templestreetmedia.com wrote: Is it set for the correct environment (prod, dev, etc)? As I wrote, it is set for prod, dev and test. I am not sure which of those I am running. Where is that set? Did you clear your cache? symfony cc Yes. Does it appear if you change it to true instead of on? I don't remember when that change happened. Everything seems to be on/off in that file but I tried it anyway and it did not change anything. Best, Peter -- 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@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[symfony-users] Re: Question about choice widget
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 an edit form with a choice widget with radio buttons. Symfony renders the options in a column, but I wanted the choices in the same line this way: Sexo: Chico (o) Chica () So i have modified the code from the line ?php echo $form['sexo']? to this: ul li id=chico label class=etiqueta_opcion_sexo for=usuario_sexo_0Chico/label input type=radio id=usuario_sexo_0 value=0 name=usuario[sexo] /li li label class=etiqueta_opcion_sexo for=usuario_sexo_1Chica/label input type=radio id=usuario_sexo_1 value=1 name=usuario[sexo] /li /ul But now, how can i set the checked one? Using if's? or is there any more elegant way? Regards 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 symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [symfony-users] no logs created in symfony 1.2.12
Hi, On Thu, Mar 25, 2010 at 7:33 PM, Tom Haskins-Vaughan t...@templestreetmedia.com wrote: Does the logdirectory have write permissions for the web server user? Yes: ls -lahd log drwxrwxrwx 3 peter nood01 4.0K Mar 17 18:45 log Any other ideas? Best, Peter -- 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@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [symfony-users] no web debug toolbar in symfony 1.2.12
Search your complete project for sf_web_debug. Maybe the other developer has disabled the web debug toolbar by hand [1] somewhere else in the code. Btw on/off in yml files would still work. The parser was replaced in 1.3 imho. [1] with sfConfig::set('sf_web_debug', false); Am 25.03.2010 um 19:07 schrieb Peter Peltonen: Hi, On Thu, Mar 25, 2010 at 7:32 PM, Tom Haskins-Vaughan t...@templestreetmedia.com wrote: Is it set for the correct environment (prod, dev, etc)? As I wrote, it is set for prod, dev and test. I am not sure which of those I am running. Where is that set? Did you clear your cache? symfony cc Yes. Does it appear if you change it to true instead of on? I don't remember when that change happened. Everything seems to be on/off in that file but I tried it anyway and it did not change anything. Best, Peter -- 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@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users +unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- 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@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[symfony-users] Sort list of a foreign table with the Admin Generator
Hi, I am struggling with the admin generator in 1.2 to be able to sort (in filter, add edit) a foreign table by a specific column. How can I achieve this? Thanks, JP -- 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@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[symfony-users] Change the executeNew() method to define full-time as the default value for the type column:
Hi all, i'm following the Pratical Guide of Symfony and in day 10 we try to set a default value for a column of form. The code is: // apps/frontend/modules/job/actions/actions.class.php public function executeNew(sfWebRequest $request) { $job = new JobeetJob(); $job-setType('full-time'); $this-form = new JobeetJobForm($job); } My problem is that for test the default value I setup the setType call to: $job-setType('part-time'); So now I load a page for post a new job but the default value is always 'full-time'. Maybe i make some mistake but i don't know where. Thanks a lot. Andrea -- 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@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [symfony-users] Re: Credentials problem
I'm not shure, but I think you need to check sfUser credentials by youself. -- 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@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[symfony-users] The template indexSuccess.js.php does not exist
I'm trying to debug this error which occurs when using Blackberry devices. I have Symfony 1.1.4 running behind nginx and fastcgi, for over a year now, and we'd like to make the site available to mobile users. But I get this strange error from the controller when I use Blackberry even though: The template indexSuccess.js.php does not exist or is unreadable in . 1) All requests for non-php assets bypass php. 2) Other pages (via memcached) are served just fine with all assets, etc... Do I need to use a custom filter for these browser types in 1.1.4? I noticed that there was an issue with request formats here: http://trac.symfony-project.org/changeset/8227?format=diffnew=8227 Sorry if I'm missing something, we love symfony! Thanks Andy Madsen -- 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@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[symfony-users] How to implement a basic filter on frontend with Doctrine sf1.4??
Hello, I am a beginner to symfony. I haven't found a correct explanation for How to implement a basic filter on frontend with Doctrine?? I tried to tweek admin backend filters and copy to frontend but it is really dirty. Moreover, i don't want to display edit or delete button, I just want a list.. Thank you! -- 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@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[symfony-users] Re: Too much data in visualization
Maybe an Apache/PHP/Whatever misconfiguration? -- 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@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [symfony-users] How to implement a basic filter on frontend with Doctrine sf1.4??
+1 I've always been interseted in doing this On 3/25/10, trankh juliend1...@gmail.com wrote: Hello, I am a beginner to symfony. I haven't found a correct explanation for How to implement a basic filter on frontend with Doctrine?? I tried to tweek admin backend filters and copy to frontend but it is really dirty. Moreover, i don't want to display edit or delete button, I just want a list.. Thank you! -- 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@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- Sent from my mobile device -- 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@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[symfony-users] for the sfGuardPlugin, how do determine from within layout.php if a user has authenticated
Hello all, Another newbie question. I've spent several days hunting for a way to determine if a user has been authenticated or not from within layout.php Reading the API (symfony 1.4) I thought one of the three boolean functions below would let me know if a user object is instantiated or not, but they don't. My goal is to check first and not call the get('user') function unless the user object has been instantiated. The 'if' tests below yield the same results regardless of whether or not I've logged in a user using the sfGuardPlugin. I'm in the wrong track it seems, but given that I'm attempting to execute this code from layout.php, not sure what the correct approach should be. Any advice would be greatly appreciated. I note that config shows symfony/ user/sfUser/authenticated: true and alternatively I've been trying to figure out how to access that info, but with no luck. Thanks -Michael if(sfContext::getInstance()-hasInstance('user')) fwrite ($file, hasInstance\n); if(sfContext::getInstance()-has('user')) fwrite ($file, has\n); if(sfContext::getInstance()-offsetExists('user')) fwrite ($file, offsetExists\n); $user = sfContext::getInstance()-get('user'); fwrite ($file, $user.: \n); session: symfony/user/sfUser/attributes: { symfony/user/sfUser/attributes: { }, admin_module: { sfGuardUser.sort: [username, asc], sfGuardGroup.sort: [null, null], sfGuardPermission.sort: [null, null], student_class_standing.sort: [class_of_year, desc], payment_type.sort: [null, null], student.sort: [last_name, asc], transaction_receipt.sort: [paid_date, desc], student_fee.sort: [null, null], institution.sort: [null, null] }, symfony/user/sfUser/flash: { }, symfony/user/sfUser/flash/remove: { }, sfGuardSecurityUser: { user_id: '2' } } symfony/user/sfUser/authenticated: true symfony/user/sfUser/credentials: [admin_permission, frontoffice_permission, reports_permission, backoffice_permission] symfony/user/sfUser/culture: en symfony/user/sfUser/lastRequest: 1269561611 -- 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@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [symfony-users] for the sfGuardPlugin, how do determine from within layout.php if a user has authenticated
I'm pretty sure a user instance is created regardless of whether you're logged in or not, or even whether or not you're using sfGuard. On 3/25/10, michael hodges mhodg...@gmail.com wrote: Hello all, Another newbie question. I've spent several days hunting for a way to determine if a user has been authenticated or not from within layout.php Reading the API (symfony 1.4) I thought one of the three boolean functions below would let me know if a user object is instantiated or not, but they don't. My goal is to check first and not call the get('user') function unless the user object has been instantiated. The 'if' tests below yield the same results regardless of whether or not I've logged in a user using the sfGuardPlugin. I'm in the wrong track it seems, but given that I'm attempting to execute this code from layout.php, not sure what the correct approach should be. Any advice would be greatly appreciated. I note that config shows symfony/ user/sfUser/authenticated: true and alternatively I've been trying to figure out how to access that info, but with no luck. Thanks -Michael if(sfContext::getInstance()-hasInstance('user')) fwrite ($file, hasInstance\n); if(sfContext::getInstance()-has('user')) fwrite ($file, has\n); if(sfContext::getInstance()-offsetExists('user')) fwrite ($file, offsetExists\n); $user = sfContext::getInstance()-get('user'); fwrite ($file, $user.: \n); session: symfony/user/sfUser/attributes: { symfony/user/sfUser/attributes: { }, admin_module: { sfGuardUser.sort: [username, asc], sfGuardGroup.sort: [null, null], sfGuardPermission.sort: [null, null], student_class_standing.sort: [class_of_year, desc], payment_type.sort: [null, null], student.sort: [last_name, asc], transaction_receipt.sort: [paid_date, desc], student_fee.sort: [null, null], institution.sort: [null, null] }, symfony/user/sfUser/flash: { }, symfony/user/sfUser/flash/remove: { }, sfGuardSecurityUser: { user_id: '2' } } symfony/user/sfUser/authenticated: true symfony/user/sfUser/credentials: [admin_permission, frontoffice_permission, reports_permission, backoffice_permission] symfony/user/sfUser/culture: en symfony/user/sfUser/lastRequest: 1269561611 -- 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@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- Sent from my mobile device -- 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@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [symfony-users] for the sfGuardPlugin, how do determine from within layout.php if a user has authenticated
Hi, 2010/3/26 michael hodges mhodg...@gmail.com: Hello all, Another newbie question. I've spent several days hunting for a way to determine if a user has been authenticated or not from within layout.php Something like this? ?php if ($sf_user-isAuthenticated()): ? li ?php echo link_to('Wyloguj', '@sf_guard_signout') ? /li ?php else: ? li ?php echo link_to('Logowanie', '@sf_guard_signin') ? /li li ?php echo link_to('Rejestracja', '@sf_guard_register') ? /li ?php endif; ? Reading the API (symfony 1.4) I thought one of the three boolean functions below would let me know if a user object is instantiated or not, but they don't. My goal is to check first and not call the get('user') function unless the user object has been instantiated. The 'if' tests below yield the same results regardless of whether or not I've logged in a user using the sfGuardPlugin. I'm in the wrong track it seems, but given that I'm attempting to execute this code from layout.php, not sure what the correct approach should be. Any advice would be greatly appreciated. I note that config shows symfony/ user/sfUser/authenticated: true and alternatively I've been trying to figure out how to access that info, but with no luck. Thanks -Michael if(sfContext::getInstance()-hasInstance('user')) fwrite ($file, hasInstance\n); if(sfContext::getInstance()-has('user')) fwrite ($file, has\n); if(sfContext::getInstance()-offsetExists('user')) fwrite ($file, offsetExists\n); $user = sfContext::getInstance()-get('user'); fwrite ($file, $user.: \n); session: symfony/user/sfUser/attributes: { symfony/user/sfUser/attributes: { }, admin_module: { sfGuardUser.sort: [username, asc], sfGuardGroup.sort: [null, null], sfGuardPermission.sort: [null, null], student_class_standing.sort: [class_of_year, desc], payment_type.sort: [null, null], student.sort: [last_name, asc], transaction_receipt.sort: [paid_date, desc], student_fee.sort: [null, null], institution.sort: [null, null] }, symfony/user/sfUser/flash: { }, symfony/user/sfUser/flash/remove: { }, sfGuardSecurityUser: { user_id: '2' } } symfony/user/sfUser/authenticated: true symfony/user/sfUser/credentials: [admin_permission, frontoffice_permission, reports_permission, backoffice_permission] symfony/user/sfUser/culture: en symfony/user/sfUser/lastRequest: 1269561611 -- 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@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- 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@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[symfony-users] Re: for the sfGuardPlugin, how do determine from within layout.php if a user has authenticated
I also thought that would be a possibility. However, when not logged in the line $user = sfContext::getInstance()-get('user'); creates the error below: Fatal error: Call to a member function __toString() on a non-object in /Applications/XAMPP/xamppfiles/htdocs/mililani/plugins/ sfDoctrineGuardPlugin/lib/user/sfGuardSecurityUser.class.php on line 230 On Mar 25, 2:58 pm, Tom Haskins-Vaughan t...@templestreetmedia.com wrote: I'm pretty sure a user instance is created regardless of whether you're logged in or not, or even whether or not you're using sfGuard. On 3/25/10, michael hodges mhodg...@gmail.com wrote: Hello all, Another newbie question. I've spent several days hunting for a way to determine if a user has been authenticated or not from within layout.php Reading the API (symfony 1.4) I thought one of the three boolean functions below would let me know if a user object is instantiated or not, but they don't. My goal is to check first and not call the get('user') function unless the user object has been instantiated. The 'if' tests below yield the same results regardless of whether or not I've logged in a user using the sfGuardPlugin. I'm in the wrong track it seems, but given that I'm attempting to execute this code from layout.php, not sure what the correct approach should be. Any advice would be greatly appreciated. I note that config shows symfony/ user/sfUser/authenticated: true and alternatively I've been trying to figure out how to access that info, but with no luck. Thanks -Michael if(sfContext::getInstance()-hasInstance('user')) fwrite ($file, hasInstance\n); if(sfContext::getInstance()-has('user')) fwrite ($file, has\n); if(sfContext::getInstance()-offsetExists('user')) fwrite ($file, offsetExists\n); $user = sfContext::getInstance()-get('user'); fwrite ($file, $user.: \n); session: symfony/user/sfUser/attributes: { symfony/user/sfUser/attributes: { }, admin_module: { sfGuardUser.sort: [username, asc], sfGuardGroup.sort: [null, null], sfGuardPermission.sort: [null, null], student_class_standing.sort: [class_of_year, desc], payment_type.sort: [null, null], student.sort: [last_name, asc], transaction_receipt.sort: [paid_date, desc], student_fee.sort: [null, null], institution.sort: [null, null] }, symfony/user/sfUser/flash: { }, symfony/user/sfUser/flash/remove: { }, sfGuardSecurityUser: { user_id: '2' } } symfony/user/sfUser/authenticated: true symfony/user/sfUser/credentials: [admin_permission, frontoffice_permission, reports_permission, backoffice_permission] symfony/user/sfUser/culture: en symfony/user/sfUser/lastRequest: 1269561611 -- 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@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- Sent from my mobile device -- 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@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[symfony-users] Re: for the sfGuardPlugin, how do determine from within layout.php if a user has authenticated
that works perfectly!!! Many thanks. I was looking for something like $sf_user, but I'm still figuring out how to discover what is in the current context. - Michael On Mar 25, 3:06 pm, Michał Piotrowski mkkp...@gmail.com wrote: Hi, 2010/3/26 michael hodges mhodg...@gmail.com: Hello all, Another newbie question. I've spent several days hunting for a way to determine if a user has been authenticated or not from within layout.php Something like this? ?php if ($sf_user-isAuthenticated()): ? li ?php echo link_to('Wyloguj', '@sf_guard_signout') ? /li ?php else: ? li ?php echo link_to('Logowanie', '@sf_guard_signin') ? /li li ?php echo link_to('Rejestracja', '@sf_guard_register') ? /li ?php endif; ? Reading the API (symfony 1.4) I thought one of the three boolean functions below would let me know if a user object is instantiated or not, but they don't. My goal is to check first and not call the get('user') function unless the user object has been instantiated. The 'if' tests below yield the same results regardless of whether or not I've logged in a user using the sfGuardPlugin. I'm in the wrong track it seems, but given that I'm attempting to execute this code from layout.php, not sure what the correct approach should be. Any advice would be greatly appreciated. I note that config shows symfony/ user/sfUser/authenticated: true and alternatively I've been trying to figure out how to access that info, but with no luck. Thanks -Michael if(sfContext::getInstance()-hasInstance('user')) fwrite ($file, hasInstance\n); if(sfContext::getInstance()-has('user')) fwrite ($file, has\n); if(sfContext::getInstance()-offsetExists('user')) fwrite ($file, offsetExists\n); $user = sfContext::getInstance()-get('user'); fwrite ($file, $user.: \n); session: symfony/user/sfUser/attributes: { symfony/user/sfUser/attributes: { }, admin_module: { sfGuardUser.sort: [username, asc], sfGuardGroup.sort: [null, null], sfGuardPermission.sort: [null, null], student_class_standing.sort: [class_of_year, desc], payment_type.sort: [null, null], student.sort: [last_name, asc], transaction_receipt.sort: [paid_date, desc], student_fee.sort: [null, null], institution.sort: [null, null] }, symfony/user/sfUser/flash: { }, symfony/user/sfUser/flash/remove: { }, sfGuardSecurityUser: { user_id: '2' } } symfony/user/sfUser/authenticated: true symfony/user/sfUser/credentials: [admin_permission, frontoffice_permission, reports_permission, backoffice_permission] symfony/user/sfUser/culture: en symfony/user/sfUser/lastRequest: 1269561611 -- 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@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- 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@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.