[symfony-users] Re: demande_inscription

2010-03-25 Thread Massimiliano Arione
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

[symfony-users] Re: sfWidgetFormJqueryDate - Bug when selecting in list the 8th or 9th of a month

2010-03-25 Thread Massimiliano Arione
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

[symfony-users] Symfony 1.2 how to make session never expires until browser is closed?

2010-03-25 Thread Sid Bachtiar
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

[symfony-users] Credentials problem

2010-03-25 Thread wueb
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

Re: [symfony-users] Credentials problem

2010-03-25 Thread Sid Bachtiar
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: #

Re: [symfony-users] Credentials problem

2010-03-25 Thread Sid Bachtiar
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,

[symfony-users] Re: Credentials problem

2010-03-25 Thread wueb
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

Re: [symfony-users] Re: Credentials problem

2010-03-25 Thread Sid Bachtiar
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

[symfony-users] Re: Credentials problem

2010-03-25 Thread wueb
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

[symfony-users] config routing

2010-03-25 Thread aabbassi
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-users] Re: Credentials problem

2010-03-25 Thread wueb
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

[symfony-users] Re: demande_inscription

2010-03-25 Thread aabbassi
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

[symfony-users] Virtual columns admin-generator fail

2010-03-25 Thread Txus
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

[symfony-users] CSRF attack detected message

2010-03-25 Thread Dss
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

[symfony-users] How to install sfPiwikPlugin with Symfony 1.4

2010-03-25 Thread Mickael
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

[symfony-users] Too much data in visualization

2010-03-25 Thread Serra
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

[symfony-users] [Doctrine Migration] How to use one connection for generated migration diff files

2010-03-25 Thread jp_morvan
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:

[symfony-users] Re: Too much data in visualization

2010-03-25 Thread wueb
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

RE: [symfony-users] Virtual columns admin-generator fail

2010-03-25 Thread Alexander Deruwe
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

[symfony-users] [i18n] use extract task on variables

2010-03-25 Thread Red1
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] Re: Symfony 1.2 how to make session never expires until browser is closed?

2010-03-25 Thread Sid Bachtiar
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

[symfony-users] Re: How to install sfPiwikPlugin with Symfony 1.4

2010-03-25 Thread Massimiliano Arione
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

[symfony-users] Re: Best way to store app settings that are configurable from administrator interface

2010-03-25 Thread Gorka
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

[symfony-users] Re: sfValidatorDoctrineChoice and i18n

2010-03-25 Thread Tom Ptacnik
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',

Re: [symfony-users] Invitation to connect on LinkedIn

2010-03-25 Thread Luis Alberto Zarrabeitia
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

[symfony-users] sfWidgetFormChoice rendered as an unordered list

2010-03-25 Thread HiDDeN
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-users] no logs created in symfony 1.2.12

2010-03-25 Thread Peter Peltonen
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:

[symfony-users] no web debug toolbar in symfony 1.2.12

2010-03-25 Thread Peter Peltonen
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

Re: [symfony-users] no web debug toolbar in symfony 1.2.12

2010-03-25 Thread Tom Haskins-Vaughan
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

Re: [symfony-users] no logs created in symfony 1.2.12

2010-03-25 Thread Tom Haskins-Vaughan
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.

Re: [symfony-users] Re: Best way to store app settings that are configurable from administrator interface

2010-03-25 Thread Tom Haskins-Vaughan
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:

Re: [symfony-users] no web debug toolbar in symfony 1.2.12

2010-03-25 Thread 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

[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 an

Re: [symfony-users] no logs created in symfony 1.2.12

2010-03-25 Thread Peter Peltonen
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

Re: [symfony-users] no web debug toolbar in symfony 1.2.12

2010-03-25 Thread Frank Stelzer
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

[symfony-users] Sort list of a foreign table with the Admin Generator

2010-03-25 Thread jpcai...@piji.ca
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

[symfony-users] Change the executeNew() method to define full-time as the default value for the type column:

2010-03-25 Thread Andrea
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');

Re: [symfony-users] Re: Credentials problem

2010-03-25 Thread Denis Golovin
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

[symfony-users] The template indexSuccess.js.php does not exist

2010-03-25 Thread Goldcap
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:

[symfony-users] How to implement a basic filter on frontend with Doctrine sf1.4??

2010-03-25 Thread trankh
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

[symfony-users] Re: Too much data in visualization

2010-03-25 Thread rob
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

Re: [symfony-users] How to implement a basic filter on frontend with Doctrine sf1.4??

2010-03-25 Thread Tom Haskins-Vaughan
+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

[symfony-users] for the sfGuardPlugin, how do determine from within layout.php if a user has authenticated

2010-03-25 Thread michael hodges
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,

Re: [symfony-users] for the sfGuardPlugin, how do determine from within layout.php if a user has authenticated

2010-03-25 Thread Tom Haskins-Vaughan
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

Re: [symfony-users] for the sfGuardPlugin, how do determine from within layout.php if a user has authenticated

2010-03-25 Thread Michał Piotrowski
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

[symfony-users] Re: for the sfGuardPlugin, how do determine from within layout.php if a user has authenticated

2010-03-25 Thread michael hodges
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/

[symfony-users] Re: for the sfGuardPlugin, how do determine from within layout.php if a user has authenticated

2010-03-25 Thread michael hodges
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,