Downloads

Download tar.gz 10.77 KB
MD5: 5e064c20717e10a37debc6c7758a775f
SHA-1: 97b0121997dfbd91b71880c7d82d1b4b9f61d494
SHA-256: 3f5c0d09323017e4586aa1b5c968e04609b7fd4598e8e0047fd2c1b56b8fd6c9
Download zip 12.95 KB
MD5: 0b0fef4bef3df5aa3ccc22489b167202
SHA-1: 3e56e2cf68c35aecce45f15369c63d7cbaf8146f
SHA-256: 56afdfdc895e41fab8113667e58d589dae25c68e291946f6ed0d8459add83b51

Release notes

Version 1.1 introduces bug fixes for relative sub directory installs. (i.e. www.mysite.com/mydrupalinstall/)
This addresses #341710: Drupal installed in sub directory breaks PNG Behave!

Replaced Line 21 in pngbehave.module:
-drupal_set_html_head('

'.$pngbehaveclasses.' { behavior: url(/'. drupal_get_path('module', 'pngbehave') . '/iepngfix.htc)}

');
with:
+global $base_path;
+drupal_set_html_head('

');

the $base_path php variable defaults to '/' and allows for use of pngbehave in subdirectory based drupal installs.

Replaced Line 16 in iepngfix.htc:
-IEPNGFix.blankImg = '/iepngfix/blank.gif';
with:
+IEPNGFix.blankImg = Drupal.settings.basePath + 'sites/all/modules/pngbehave/blank.gif';

NOTE: not sure how else I can inform the js files where to get the blank.gif file from, suggestions welcome.

Commit blank.gif to this build

Created by: mrjeeves
Created on: 3 Dec 2008 at 06:49 UTC
Last updated: 3 Dec 2008 at 07:00 UTC
Bug fixes
Unsupported

Other releases