Sometimes you’ll want to include a plugin, such as an admin generator, that will load stylesheets or javascript files that you may not want loaded in all applications. You could add the following to your template file: (apps/frontend/templates/layout.php) $sf_response->removeStylesheet(‘/m14tAdminGeneratorPlugin/css/admin.css’); But that just feels wrong. So instead, lets only load the plugin for the application that […]
Monthly Archives: May 2011
Sending emails from a task in Symfony 1.4
Sending emails from a task seems like it would be a pretty common, and therefore straightforward task (automated from a cron job for example), but in Symfony its not exactly trivial. The main reason is that you don’t have a context set from the task, and if you create one it doesn’t know the domain […]