Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Minify CSS V0.1 for YaBB 2.5/2.5.2 (Read 1492 times)
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Minify CSS V0.1 for YaBB 2.5/2.5.2
Dec 20th, 2012 at 5:29pm
Print Post  
Minify CSS

Description:
-----------------
This Mod will allow you to minify the CSS file for any given template from Template Configuration.

What it will do: Remove all whitespace and put everything onto one line, reducing file size.

What it won't do: It won't group selectors that have the same declarations.

Screenshots:
Admin Center - Forum Layout - Template Configuration:


Minified CSS file:


Zip Package:
-----------------
minifycss_01.mod
cgi-bin/yabb2/Modules/CSS/Minifier.pm

Installation:
----------------
1) Modify YaBB files using BoardMod or manually.
2) Upload modified files to your server in ASCII mode.
3) Upload the 'CSS' folder to the 'yabb2/Modules/' directory in ASCII mode.
4) Go to Admin Center - Forum Layout - Template Configuration to minify your CSS.

Files to edit:
-----------------
Admin/ModList.pl
Admin/ManageTemplates.pl
Languages/English/Templates.lng

Mod History:
----------------
V0.1 - First release - 20th December 2012
« Last Edit: Dec 20th, 2012 at 8:18pm by Derek Barnstorm »  

minifycss_01.zip ( 8 KB | Downloads )
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint