Hi Sid,
Not really the symfony way, but I use this construction in the
layout.php :
Frank
On Dec 16, 11:54 pm, "Sid Bachtiar" wrote:
> Hi,
>
> I'm working on a Symfony 1.0 project and needing to add an IE6 hack
> CSS as the last CSS but need to add code to only include the CSS if
> t
You can test this it works for me :
In your of the main template file
I choose to make another file for IE6 for this project. Maybe you can
change it to match your need.
getContext()->getRequest()->getHttpHeader('User-Agent')) ) { echo
stylesheet_tag('main'); }; ?>
I know that you can al
Also if yousing jQuery be sure that all external CSS loads before JS. If
not loaded in this order jQuery can sometimes behave in unexpected ways
in Safari (possibly all WebKit based browsers) and FF3.
Just and FYI. :-)
Bernhard Schussek wrote:
> Hi Sid,
>
> Before your ending head tag, includ
Hello,
Please, take a look:
http://groups.google.com/group/symfony-users/browse_thread/thread/66f60abd7bbdcb91/a5fd6b6f4d9f5a82?show_docid=a5fd6b6f4d9f5a82
Thanks.
p.s.
I prefer filter.
On Wed, 2008-12-17 at 11:54 +1300, Sid Bachtiar wrote:
> Hi,
>
> I'm working on a Symfony 1.0 project and
Hi Sid,
Before your ending head tag, include the following code in layout.php:
... conditional comments ...
Javascripts and stylesheets are only appended at the end of the head
section if they have not been included manually (which is the
recommended way of doing, I think).
Bernhard
On