Well I tried to apply the patch manually but im ran into trouble with Asset
helper.

Index: lib/helper/AssetHelper.php
===================================================================
--- lib/helper/AssetHelper.php    (revision 3803)
+++ lib/helper/AssetHelper.php    (working copy)
@@ -100,7 +100,7 @@
   $html = '';
   foreach ($sources as $source)
   {
-    
+    $condition = false;
     $absolute = false;
     if (isset($sourceOptions['absolute']))
     {

this code doesn't exists instead the original code looks like this:

$html = '';
  foreach (func_get_args() as $source)
  {
    $source = javascript_path($source);
    $html .= content_tag('script', '', array('type' => 'text/javascript',
'src' => $source))."\n";
  }

Im unsure what function you were modifying, and if its the right function
then my 1.0.2 source is completely different from yours. I checked rev 3803
in the trac and it looks just like mine. My line 100 is part of the
javascript_include_tag() function. is this correct? I checked the stylesheet
functions as well and they don't match either.



On 4/28/07 8:27 PM, "notjosh" <[EMAIL PROTECTED]> wrote:

> 
> In the 1.0.x release(s), your best way is to do it all manually as has
> been suggested, which isn't exactly ideal.
> 
> If you're keen, you can checkout the source and apply the patch
> yourself which will add (clean) conditionals support for your
> includes.
> 
> To replace your image_tag generated images, there are a few JavaScript
> libraries out there which will do all of the plumbing code for you
> (again, you can include these with a conditional statement). If they
> have JavaScript disabled, then they can deal with an unclean interface
> - it's probably not a useability problem, it just won't look perfect,
> and it'll probably save you a few hours of dev..
> 
> *shrug!*
> 
> Good luck!
> 
> On Apr 28, 4:05 am, Davinder Mahal <[EMAIL PROTECTED]> wrote:
>> Hi,
>> 
>> I've got a symfony app that uses transparent pngs which do not
>> display correctly within IE6. I also have some other css issues with
>> IE6, all of which are IE 6 bugs.
>> 
>> I need help fixing this.
>> 
>> I've done this before but not within a symfony app. There are
>> limitations in symfony for css conditional statements. I've seen a
>> patch for it (http://trac.symfony-project.com/trac/ticket/1677)-
>> but not sure how to use the patch. I've also seen some other scripts
>> which adds processing time to the page. I've searched, trac tickets,
>> the groups, wiki etc.
>> 
>> What is the best practice to correct this?
>> 
>> Some of my images are within the style sheets, and some others are
>> displayed using the image_tag helper.
>> 
>> I'm thinking of rearranging some of the design to create jpgs instead
>> of transparent pngs (although this would seriously change the look),
>> however, i still would have other css content that needs to be
>> adjusted for IE6. So i need some type of conditionals in there. But
>> with symfony, what's the best way?
>> 
>> Thanks in advance.
>> 
>> Davinder
> 
> 
> > 



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

Reply via email to