Re: [symfony-users] Templates in a single directory

2010-05-17 Thread Georg Gell
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

[symfony-users] Templates in a single directory

2010-05-16 Thread Davide Borsatto
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