The Joomla! Extensions Directory ™


SC Minify Plugin

SC Minify is a system plugin that combines and minifies css and javascript, using PHP Minify http://code.google.com/p/minify/

Thank you for trying this plugin, don't forget to 'publish' it. If you have questions, please email me at phil@snellcode.com

***NOTE: This is an early alpha release, and may have bugs! If you have problems, let me know, I'll try to fix it.

Report

2010-02-18
Reviews: 4
I did not get this to work immediately, but it was my server/template causing the issues, and the support from the developer was fantastic and we got it working very quickly so its 5 star now it works great. I could not get other ones to work. The tweaks were:-
1) My server security does not allow a URL to be used with a folder writeable by group. So the plugins and system directory had to be change to 755.
2) You have to add the stylesheet in your template using $document->addStyleSheet() and not a normal html, so the plugin can intercept it.

The plugin adds the minified script right after the tag but this can be modified even further to insert it somewhere else in the HEAD if you need other META data above or below your minified stylesheets.

Thanks