On Dec 1, 1:54 pm, Daniel Lohse <
annismcken...@googlemail.com> wrote:
> Ha, dependency injection hard at work there! Thanks! I really have to get used to this (new) power. :)
>
> Daniel
>
> On 2009-12-01, at 1/December, 1:46 PM, thibault wrote:
>
> > For now Diem doesn't handle this case. It probably will later.
>
> > But what Diem does not yet, you can do yourself right now.
>
> > You can replace the front layout_helper service and override its
> > renderBrowserStylesheets method.
>
> > In apps/front/config/dm/services.yml :
>
> > parameters:
> > layout_helper.class: myFrontLayoutHelper // change the
> > service class name
>
> > Then create apps/front/lib/myFrontLayoutHelper.php :
>
> > class myFrontLayoutHelper extends dmFrontLayoutHelper
> > {
>
> > public function renderBrowserStylesheets()
> > {
> > $html = parent::renderBrowserStylesheets();
>
> > // add your own stuff to $html;
>
> > return $html;
> > }
>
> > It's just an example to show how to extend Diem. But I agree this
> > feature may be integrated to Diem core.
>
> >> Okay, it's working now. :) Thanks!
>
> >> But still, this will never be possible with the current system: <!--[if lte IE 7]>...<![endif]-->
>
> >> :(
>
> >> Daniel
>
> >> On 2009-12-01, at 1/December, 1:23 PM, thibault wrote:
>
> >>> Sorry, I were wrong. It's
>
> >>> msie6.css
> >>> msie7.css
> >>> msie8.css
>
> >>> ( you can see it in dmFrontLayoutHelper.php l.31 )
>