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

2010-05-17 Thread Pietrino Atzeni
Could setting the web dir in the project help? I mean, in the project configuration you can call $this-setWebDir('path/to/your/web/dir'); In this way, you can have different css, js. For the layout, you can handle this in your views. Hope this helps, Pietro Unfortunately no, the plugin

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

2010-05-17 Thread Johannes
I've struggled with this problem myself, and as far as my research went there are two possible solutions: 1. Overwrite getTemplateDirectory, getDecoratorDirectory of sfApplicationConfiguration in your appConfiguration class (i.e. frontendConfiguration). Pros: - looks like the cleaner approach,

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

2010-05-17 Thread Richtermeister
There's also this plugin: http://github.com/weaverryan/sfThemePlugin/blob/master/README.markdown Haven't tried it yet, but seems to take care of theming, except the image directory as far as I can see, but that seems to make sense to me, as some images could be shared between themes. Daniel On

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

2010-05-16 Thread Tony Piper
Would http://www.symfony-project.org/plugins/ysfDimensionsPlugin help? cheers, Tony. On May 16, 6:53 pm, Davide Borsatto lloy...@gmail.com wrote: 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

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

2010-05-16 Thread Davide Borsatto
Unfortunately no, the plugin itself (for what I've seen) it's not useful, since what I'm trying to achieve is quite specific. I'll maybe try to look at its source code to see how a few things are done, maybe that will help... On May 16, 10:21 pm, Tony Piper tpi...@tpiper.com wrote: