In symfony how to use template from another context, i.e. get frontend template form backend

Posted by eldar on Stack Overflow See other posts from Stack Overflow or by eldar
Published on 2010-03-25T16:08:31Z Indexed on 2010/03/25 16:23 UTC
Read the original article Hit count: 203

Filed under:

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?

© Stack Overflow or respective owner

Related posts about symfony