On 17 Lug, 20:15, comb <sa...@gmx.net> wrote:
> I found much on the web regarding the topic, but no solution! :(
> Normally one would include the css and js in the head. But if I call
>
> <?php use_javascript('xyz.js');
>     php use_stylesheet('xyz.css') ?>
>
> from an partial, they are not included, because the helpers in the
> head of the layout are executed already.
> Putting the helpers to the bottom of the layout includes ALL, but this
> fails caused by html-standards.
>
> How can I manage to include the js/css needed from partials in the
> head of the html-document, too?

You should use just one css file (for performance issues).
Also for performances, you should move include_javascripts from head
to body, just in the end.

cheers
Massimiliano

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