It might be worth looking into using your own view class:
something along
class myView extends sfPHPView {
public function setDirectory($directory){
$this-directory = $directory . '/theme'; //whatever, must be full path
}
}
and in filters.yml
rendering:
class: myView
But then caching
Hi everybody,
for the project I've been working on I need to be able to define
multiple themes.
With theme I mean the full thing, including php code for the
templates, images, stylesheets and javascripts too.
But symfony templates structure is not quite friendly for this kind of
operation, since