@MySchizoBuddy: If you have gzip enable on your server, it will compress it. It can also minify the js files, but by default - for this first release -, it doesn't, since the files need to be tested.
But there are some problems with "bad behaving exensions":
BBInsertBar fails, because it uses the whole url for scripts and styles, giving this error:
Warning: filemtime() [function.filemtime]: Stat failed for /home/www/colorful_sky_de/forum/http://www.colorful-sky.de/forum/extensions/BBInsertBar/style.css (errno=2 - No such file or directory) in /home/www/colorful_sky_de/forum/library/Framework/Framework.Class.PackManager.php on line 225
Some extensions use relativ path to images in the style file (background-image: url(...);), this images can't be found when using your extensions. But this is a minor thing...
So now we have to move our images to the themes folder.? plus i fixed the packer based path in jqmedia. last time i updated it. the external.gif file in jqmedia isn't called from a style sheet.
I've tried adding $Configuration['WEB_ROOT'] to the image location in the stylesheet
Of course not! There is no parsing or executing of php in styles!
Just change the parts with url(images/misc.gif) to something like url(/forum/extensions/CategoryIcons/images/misc.gif). Please check for the right path on your server!
Comments
@MySchizoBuddy: If you have gzip enable on your server, it will compress it. It can also minify the js files, but by default - for this first release -, it doesn't, since the files need to be tested.
If you are updating the patch, you will need to delete all the files in the js and css caches.
27-Feb-2007 03:35
...caching of gzipped files is broken in all versions of MSIE. The following blog entry
appears to declare that this has been fixed in IE7, but I haven't verified this.
http://blogs.msdn.com/ie/archive/2005/10/31/487509.aspx
Do you know if this is indeed the case? If so, gzip compression should perhaps be disabled
on IE to maximize the benefits of packing & local caching.
line 437 of library/Framework/Framework.Class.PackManager.php, replace 'varchar(256)' by 'varchar(255)'.I am looking at it...@Tom, I will look at a solution.
Great Work, thank you very much!
But there are some problems with "bad behaving exensions":
- BBInsertBar fails, because it uses the whole url for scripts and styles, giving this error:
- Some extensions use relativ path to images in the style file (background-image: url(...);), this images can't be found when using your extensions. But this is a minor thing...
ByeTiggr
http://code.google.com/p/vanilla-packer/wiki/ExtensionsIssue
@Tom: umm... so believing Microsoft, gzip encoded file are always cached in IE5 and IE6?
I will try to check today.
If you want to help for fixing bugs or update the wiki pages, you are welcome to join the project.
In my case, it was CategoryIcons, that used relative pathes
plus i fixed the packer based path in jqmedia. last time i updated it.
the external.gif file in jqmedia isn't called from a style sheet.
Look for the parts with the image urls, and change them to the full pathes starting from webroot!
Just change the parts with url(images/misc.gif) to something like url(/forum/extensions/CategoryIcons/images/misc.gif). Please check for the right path on your server!
$Configuration['BASE_URL'].'extensions/CategoryIcons/images/misc.gif';Posted: Friday, 30 March 2007 at 9:48AM
Would be very nice, but it's a style sheet, not php!
Posted: Friday, 30 March 2007 at 5:16PM