[symfony-users] Re: How can I custom the default css path

2009-09-09 Thread Tugdual SAUNIER
Hi Tom, stylesheet_path() with an url like 'your_css.css' will use it as relative and prepend '/css/'. But apparrently if you put a / at the begining it use it as absolute link. I use this behaviour in the _assets.php of our admin generator: [?php use_stylesheet('?php echo

[symfony-users] Re: How can I custom the default css path

2009-09-04 Thread Tom Haskins-Vaughan
I've just come across a need for this too. Here's my situation. I am including a very simple symfony project to run a couple of forms in an existing website. Overkill for now yes, but I anticipate using symfony for more and more of the website. Anyway, the current setup is: / /public_html

[symfony-users] Re: How can I custom the default css path

2009-08-26 Thread Eno
On Tue, 25 Aug 2009, Benoit wrote: Thank you for this idea, but if I write a new helper - with a new function to use instead stylesheet_path() -, I'll have to replace all uses of stylesheet_path() in the framework. Actually I think if you override one of the standard set of helpers, you

[symfony-users] Re: How can I custom the default css path

2009-08-25 Thread Benoit
Thank you for this idea, but if I write a new helper - with a new function to use instead stylesheet_path() -, I'll have to replace all uses of stylesheet_path() in the framework. On Aug 24, 9:02 pm, David Wang dw...@udfi.biz wrote: you could probably write a new helper include it as default

[symfony-users] Re: How can I custom the default css path

2009-08-24 Thread David Wang
you could probably write a new helper include it as default and use that instead of the AssetHelper class ..oO David Wang Oo.. ..oO blog - http://www.udfi.biz ..oO JennieBot - www.jenniebot.com - helping you be a better you! On Aug 24, 2009, at 11:06 AM, Benoit wrote: Hi, I