asset
asset copied to clipboard
CakePHP Plugin - Automatically combine and compress CSS and JS files.
Hi I've added support for assets located in themes. Please consider merging it.
Added support for Data URIs to be automatically embedded into the cached CSS file for browser that support it.
There was a space before the .css inside the quotes: ' .css'. This was causing the condition to never meet.
I added the ability to find assets in the theme folder as well (only if a theme is in place).
csstidy convert attribute values with php floatval function if the current locale uses comma as decimal separator (or any other character instead of period) the resulting css file gets broken.
If I try to add script after calling $asset->scripts_for_layout() the script won't be added. ie. in my layout I echo the css file inside head tag and I add scripts...
Warning
This warning appears when no parameter is not passed in the variable helper. var $helpers = array('Asset.asset'); Warning (2): array_merge() [http://php.net/function.array-merge]: Argument #2 is not an array [APP/plugins/asset/views/helpers/asset.php, line 66]
I'm using default installation of the plugin. Layout has `echo $asset->scripts_for_layout(array('js','codeblock'));` An elment is using `echo $this->Javascript->codeBlock($jsCode, array('inline' => 'false'));` But the code isn't echoed out to the layout. When...
the plugin seems to not be able to pick up assets that are in a theme folder (located at /app/views/themed/nameOfTheme/webroot/css) when used with cakePHP 1.3