|
Cookbook /
CssCompressSummary: Css Compressor for recipes and skins
Version: 20110425
Prerequisites: pmwiki 2
Status: maintained
Maintainer: CarlosAB
Discussion: CssCompress-Talk?
Download: csscompress-20110425.zipΔ
Questions answered by this recipeHow can I compress css files from recipes and skins with PmWiki? DescriptionThis enables the admin to compress css files from pmwiki using an action called csscompress. InstallationJust Unzip the zip file and place it under the cookbook folder, then include the following lines in your config.php: include_once('cookbook/csscompress.php');
or include_once(" $FarmD/cookbook/csscompress.php");
if you have a farm. ConfigurationDon't forget to fill the array called $CssCompressFiles, with the infiles and outfiles of your choice in pairs. UsageAccess any page with the action 'action=csscompress', to see the files you filled in been compressed or giving understandable error messages (hope so). NotesThe recipe expects proper css inside css files, i.e. no errors, altough it can fix some small errors, don't rely too much on it. Change log / Release notes20110425Δ - Combined some shorthand functions, removed the overwrite option and small fixes. See alsoContributorsCommentsUser notes? : If you use, used or reviewed this recipe, you can add your name. These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki. |