[symfony-users] Re: Sending mails with maillayout in sf1.1
On Fri, Oct 3, 2008 at 5:06 PM, freakx0 [EMAIL PROTECTED] wrote: How is the best way to send mails (text/plain, html) in actions with an layout (layouts/mail.php)? You can set the content of an action as a mime part of your email using the getPresentationFor method of sfController. Then just configure your action to use a dedicated email layout. ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com Phone: +33 660 92 08 67 --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---
[symfony-users] Understanding routing system
Hi every: I have a problem with routing system. I have this rule: list_author: url: /modules/author/list param: { module: geslicsoft, action: ListAuthors } So if I call the URL: http://gestion.local/backend_dev.php/geslicsoft/modules/author/list this rule match and will be executed, no? Well Symfony when I try this URL send me this error message: [sfError404Exception] Action geslicsoft/modulos does not exist. stack trace * at () in SF_SYMFONY_LIB_DIR\controller\sfController.class.php line 207 ... 204. $this-dispatcher-notify(new sfEvent($this, 'application.log', array(sprintf('Action %s/%s does not exist', $moduleName, $actionName; 205. } 206. 207. throw new sfError404Exception(sprintf('Action %s/%s does not exist.', $moduleName, $actionName)); 208. } 209. 210. // create an instance of the action Why? What I'm doing wrong? Cheers and thanks in advance Ing. Reynier Pérez Mira Grupo de Soporte al Desarrollo - Dirección Técnica IP --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---
[symfony-users] Re: Understanding routing system
as i know, the correct URL for the routing pattern /modules/author/list should be: http://gestion.local/backend_dev.php/modules/author/list without geslicsoft On Sat, 04 Oct 2008 23:46:57 +0800, Reynier Perez Mira [EMAIL PROTECTED] wrote: Hi every: I have a problem with routing system. I have this rule: list_author: url: /modules/author/list param: { module: geslicsoft, action: ListAuthors } So if I call the URL: http://gestion.local/backend_dev.php/geslicsoft/modules/author/list this rule match and will be executed, no? Well Symfony when I try this URL send me this error message: [sfError404Exception] Action geslicsoft/modulos does not exist. stack trace * at () in SF_SYMFONY_LIB_DIR\controller\sfController.class.php line 207 ... 204. $this-dispatcher-notify(new sfEvent($this, 'application.log', array(sprintf('Action %s/%s does not exist', $moduleName, $actionName; 205. } 206. 207. throw new sfError404Exception(sprintf('Action %s/%s does not exist.', $moduleName, $actionName)); 208. } 209. 210. // create an instance of the action Why? What I'm doing wrong? Cheers and thanks in advance Ing. Reynier Pérez Mira Grupo de Soporte al Desarrollo - Dirección Técnica IP -- regards luke.yan --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---