[symfony-users] Re: alternate stylesheets with title and media type - how to do define them?

2009-03-26 Thread dsb
dsb wrote: May be I didnt put this question right way .. I want to know how to declare options in view.yml. for example to get the stylesheet tag I use helper stylesheet_tag ('style', array('media' = 'all')) etc Is it possible to do the same in view.yml?? Dj On Mar 25, 11:53 am

[symfony-users] alternate stylesheets with title and media type - how to do define them?

2009-03-25 Thread dsb
Hi, I have apps/myapp//templates/layout.php. In this template, I want to define 3 stylesheets for the main template (to enable users to switch between sytlesheet using javascript). I know that I can set global styles in apps/myapp/config/view.yml like stylesheets: [style1.css, style2.css,

[symfony-users] Declaring javascript or css files in html head section using IF blocks (!--[if IE 6]) ????

2009-03-25 Thread dsb
Hi All, I was just wondering how to get the following html output in the template. For css !--[if IE 6] link href=/css/mystyle-ie6.css rel=stylesheet type=text/css / ![endif]-- For javascript !--[if IE 6] script type=text/javascript language=javascript src=/js/ myJS_IE6.js/script ![endif]--

[symfony-users] Re: alternate stylesheets with title and media type - how to do define them?

2009-03-25 Thread dsb
May be I didnt put this question right way .. I want to know how to declare options in view.yml. for example to get the stylesheet tag I use helper stylesheet_tag ('style', array('media' = 'all')) etc Is it possible to do the same in view.yml?? Dj On Mar 25, 11:53 am, dsb dalj...@gmail.com

Re: Re : [symfony-users] sfGuardExtraPlugin

2009-03-23 Thread dsb
Are you still getting this Fatal Error. You need to execute - doctrine:bulild-all-reload command, this should create the required files. I dont know which command in Propel does the same job. On Mar 21, 5:03 pm, Lawrence Krubner lkrub...@geocities.com wrote: On Mar 20, 7:57 pm, ckemmler

[symfony-users] Re: i18n for auto generated forms in admin generator

2009-03-19 Thread dsb
provide a translation for the phrases used in your templates in a dictionary file. That way, you don't need to change your templates each time you modify, add, or remove a translation. From page - http://www.symfony-project.org/book/1_0/13-I18n-and-L10n Dsb On Mar 19, 1:29 am, Guido sanchez.gu

[symfony-users] Re: print content in different language

2009-03-18 Thread dsb
may this of any help to you http://www.codemassacre.com/2008/03/10/symfony-default-language-fallback/ Ds On Mar 18, 10:51 am, Tomasz Ignatiuk tomek.ignat...@gmail.com wrote: Imagine that you have a billing system in english. You have Invoice module. And you want to print this invoice to pdf

[symfony-users] Re: print content in different language

2009-03-18 Thread dsb
you could have already checked followings?? if not, this'll give you an idea - http://www.codemassacre.com/2008/03/10/symfony-default-language-fallback/ http://www.symfony-project.org/book/1_0/13-I18n-and-L10n