Sorry, no link.
Just refer to official documentation.
You only need to create a custom helper, copying use_javascript()
function from AssetHelper and adding a simple logic base on
sfConfig::get('sf_web_debug')

cheers
Massimiliano

On 26 Feb, 18:43, Bruno Reis <bruno.p.r...@gmail.com> wrote:
> Thanks a Lot Massimiliano,
>
> Can you send me a link to where I can read more informations about it?
>
> 2010/2/26 Massimiliano Arione <garak...@gmail.com>
>
> > view.yml is deprecated in favors of helpers used directly in the
> > templates or methods called from actions.
> > You can use a conditional helper that checks for sf_debug config
> > variable (that's even better than rely on environments)
>
> > cheers
> > Massimiliano
>
> > On 26 Feb, 00:43, Bruno Reis <bruno.p.r...@gmail.com> wrote:
> > > Hi all,
>
> > > We are working here to deploy a new site done with symfony. We still
> > working
> > > with 1.2, but plan to upgrade soon.
> > > One thing that is being hard to do here is to config different
> > javascripts
> > > for production ( to use a minified one ).
>
> > > Does 1.4 or any plugin allow this to be done in a clean and simple way ?
>
> > > I´m using a workaroud here, setting up the js array in app.yml and then
> > > using this on view.yml, but it´s pretty ugly. And is quite limited either
> > > since app.yml cannot be extended on modules.
>
> > --
> > If you want to report a vulnerability issue on symfony, please send it to
> > security at symfony-project.com
>
> > You received this message because you are subscribed to the Google
> > Groups "symfony users" group.
> > To post to this group, send email to symfony-users@googlegroups.com
> > To unsubscribe from this group, send email to
> > symfony-users+unsubscr...@googlegroups.com<symfony-users%2bunsubscr...@googlegroups.com>
> > For more options, visit this group at
> >http://groups.google.com/group/symfony-users?hl=en

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to