Re: [symfony-users] handling multiple subdomains, sharing the lib and apps folder

2010-02-18 Thread Absalón Valdés
this can help: http://trac.symfony-project.org/wiki/HowToRedirectPublicHtmlToWebFolder 2010/2/18 nick l...@teamlalala.com I know this question comes up a lot, but I'm having trouble tracking down the info I need. I'd like to have a bunch of sub-domains: one.mysite.com two.mysite.com

Re: [symfony-users] Re: Ajax Forms

2010-02-09 Thread Absalón Valdés
hi. i apologize for my english. i,ll try to help. you can use jQuery or any else javascript library for submiting forms with ajax: - http://net.tutsplus.com/tutorials/javascript-ajax/submit-a-form-without-page-refresh-using-jquery/ you see? well, after submit form you should refresh

Re: [symfony-users] Re: Ajax Forms

2010-02-09 Thread Absalón Valdés
on ajax validation symfony automatically removes layout, so you can retrive error messages with a ajax call using jquery in same way that I explained on my last post. (with .error or .notice selector). in module action, you can return only messages in ajax request: if

Re: [symfony-users] How to properly override Doctrine_Record::delete()?

2010-02-06 Thread Absalón Valdés
hi. you can use a event handler adn the catch delete execution, e.g: class backendConfiguration extends sfApplicationConfiguration { public function configure() { $this-dispatcher-connect('admin.delete_object', array($this,'xmethod')); } public function xmethod(sfEvent $event) {