[symfony-users] How to use Mysql PASSWORD() function

2008-01-07 Thread JJ
Hi I want to insert/update user password in DB using mysql PASSWORD() function. I tried it with doInsert() and doUpdate() method in following way but it is not working. Do I need to use Raw Query Or I can handle it with Criteria Object. $c = new Criteria(); c->add(AdminPeer::LOGINID,$this->login_id

[symfony-users] Re: Problem with Fixtures

2008-01-07 Thread Andy Signer
Hi guys After some search I found a closed bug related to my problem. http://trac.symfony-project.com/ticket/2088 Fabien states there: "This is expected behavior. The values 'true', 'on', '+', 'yes', 'y', 'false', 'off', '-', 'no', 'n' are special in YAML files and are treated as boolean true/f

[symfony-users] Re: Extending Doctrine models

2008-01-07 Thread Karolis Tamutis
Sorry, I was too quick to jump the gun, this never get's called, using rawSet is the only working solution I have found. ublic function setFilePath($value) { // your logic $this->rawSet('file_path', $value); // not camelized! } On 1/8/08, Karolis Tamutis <[EMAIL PROTECTED]> wrote: > >

[symfony-users] Re: Extending Doctrine models

2008-01-07 Thread Karolis Tamutis
To anyone who's facing a similar problem: for example you want a custom setter for a field file_path in Doctrine. Open up the generated model class and add a following method: public function filterSetFilePath($value) { return $modifiedValue; } now $modifiedValue will be saved in the datab

[symfony-users] Re: symfony on other web servers?

2008-01-07 Thread Eno
Dave Dash wrote: > So what are the benefits to running symfony (or PHP5) through > lighttpd? I'm not good with server configuration, but I really > couldn't get *that* much more performance by using > lighttpd+fastcgi versus apache2+mod_php, but I do > like the ease of use that lighttpd offers.

[symfony-users] Re: Is there any way to terminate an action in preExecute?

2008-01-07 Thread Zoltán Németh
2008. 01. 4, p�ntek keltez�ssel 12.15-kor Balaji Srinivasan ezt �rta: > Hi there > I am trying to terminate an action in preExecute. I tried returning > sfView::NONE from it but it didnt work. > Basically I want to check a condition. If that condition is not met, I > want to render a text bloc

[symfony-users] Problem with Fixtures

2008-01-07 Thread Andy Signer
Hi guys, I got a strange behavior with a fixture here. My assumption is, that a single letter 'n' or 'y' are interpreted as false and true in a fixture file. Is this true? Is there a possibility to escape these characters? Now the example. My table looks like: propel: my_table: _attri

[symfony-users] Re: sfSimpleCMS, SEO questions

2008-01-07 Thread mkappe
Thanks Francois, do you think it's the better way to do this? Concettually keyword are related to the page. So i think that creating new fields in the page model is a good choice. In this way i can modify the editor tool adding SEO panel. What do you think? Thanks Marco 2008/1/7