Month: May 2011

HOWTO: Symfony 1.4 – Only load an plugin for a given application

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

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

Tagged with: , ,