In symfony how to use template from another context, i.e. get frontend template form backend
- by eldar
It's need for preview function in backend. I want to avoid duplicating templates.
// in some backend module action
$this->setTemplate(sfConfig::get('sf_apps_dir').'/frontend/modules/module/templates/tpl');
because context is backend, how about partials in tpl, routes and so forth?