[symfony-users] Symfony 1.2 web debug toolbar not valid for xhtml

2008-09-12 Thread Sifix
Hallo! I tried to use xhtml appling $this-context-getResponse()-setContentType( 'application/xhtml +xml' ); However in dev enviroment the javascript for the web debug toolbar is not valid. in sfWebDebugClass.class.php line 152: $content = str_ireplace('/body', 'script type=text/

[symfony-users] Symfony 1.2 web debug toolbar not valid for xhtml

2008-09-12 Thread Sifix
Hello! I tried to use xhtml appling $this-context-getResponse()- setContentType( 'application/xhtml+xml' ); However in dev enviroment the javascript for the web debug toolbar is not valid. in sfWebDebugClass.class.php line 152: $content = str_ireplace('/body', 'script type=text/

[symfony-users] Re: Symfony 1.2 web debug toolbar not valid for xhtml

2008-09-12 Thread Sifix
Firefox didn't work with the script so I used handler which is xhtml2 and worked fine For xhtml1 the script code must be enclosed in ! [CDATA[ . ]] On Sep 12, 4:03 pm, Alexander Deruwe [EMAIL PROTECTED] wrote: On 12 Sep 2008, at 14:56, Nicolas Perriault wrote: It is in

[symfony-users] Re: sfGuard - how to implement registration

2008-09-09 Thread Sifix
Hello, Whtat I have understand is if instead of $sf_guard_user_profile = $this-form-save(); you use $sf_guard_user_profile = $this-form-getObject-save(); then you will be able to save the id you set above.. Please also take not the following post on my thread

[symfony-users] Re: sfGuard - how to implement registration

2008-09-09 Thread Sifix
the values of the model with the posted values of the form $this-form-updateObject(); //Change the value to the model user id = 1 $this-form-getObject()-setUserId(1); //Save the model $this-form-getObject()-save(); On Sep 9, 3:49 pm, Sifix [EMAIL PROTECTED] wrote: Hello, Whtat I have