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

2009-03-26 Thread dsb
Yes It works. Thanks Tom Haskins-Vaughan. On Mar 25, 3:55 pm, Tom Haskins-Vaughan wrote: > Try this in view.yml: > >    stylesheets: >      - style >      - style1: { rel: 'alternate stylesheet' title: red } >      - style2: { rel: 'alternate stylesheet' t

[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,

[symfony-users] Declaring javascript or css files in html head section using IF blocks (

2009-03-25 Thread dsb
Hi All, I was just wondering how to get the following html output in the template. For css For javascript Thanks for your help. Dj --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To pos

[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, style3

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 wrote: > On Mar 20, 7:57 pm, ckemmler wrote: > > > This might b

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

2009-03-19 Thread dsb
t you 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,

[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 http://www.symfony-project.org/book/forms/1_2/en/08-Internationalisation-and-Localisati

[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 wrote: > Imagine that you have a billing system in english. You have Invoice module. > And you want to print this invoice to pdf for example. So  you ma