forum.coppermine-gallery.net

Support => cpg1.5 plugins => cpg1.5.x Support => cpg1.5 plugin contributions => Topic started by: Timos-Welt on January 13, 2009, 11:21:31 am

Title: CompressHTML plugin for cpg1.5.x
Post by: Timos-Welt on January 13, 2009, 11:21:31 am
What's this?

This plugin compresses the HTML output by removing disposable spaces and line feeds from the source code.

This plugin is extremely useful for theme-, javascript- and plugin developers. It allows you to check your stuff for correctness (for example Javascript lines that end without an ; incorrectly). If everything works alright when this plugin is installed, you may have done something right.


PLEASE READ THIS PARAGRAPH CAREFULLY!!!



How to install

1. Upload folder compresshtml to your plugins folder.
2. Install via plugin manager.


How to uninstall

1. Uninstall via plugin manager.
2. Remove folder compresshtml from your plugins folder.



SVN of this plugin (https://coppermine.svn.sourceforge.net/svnroot/coppermine/branches/cpg1.5.x/plugins/compresshtml/)

Download latest SVN snapshot (http://coppermine.svn.sourceforge.net/viewvc/coppermine/branches/cpg1.5.x/plugins/compresshtml.tar.gz?view=tar)


regards
Timo
Title: Re: CompressHTML plugin for cpg1.5.x
Post by: Joachim Müller on January 14, 2009, 07:40:55 am
Excellent plugin, excellent announcement. Thanks a lot.

Joachin
Title: Re: CompressHTML plugin for cpg1.5.x
Post by: Joachim Müller on March 21, 2009, 12:32:59 pm
I have added this plugin both to the downloads page (http://sourceforge.net/projects/coppermine/files/Plugins/1.5.x/cpg1.5.x_plugin_compresshtml_v1.2.zip/download) as well as the subversion repository (http://coppermine.svn.sourceforge.net/viewvc/coppermine/branches/cpg1.5.x/plugins/compresshtml/).
Title: Re: CompressHTML plugin for cpg1.5.x
Post by: marcelm on March 15, 2010, 12:39:47 am
When I install this plugin under Firefox 3.6 I can't reach "login.php" through the "Home button". Secondly the Enlarge it plugin will not enlarge when you are in album in IE 7 however it is working in the slider bar.

Coppermine 1.53 RC

Installed plug-ins:

Slider (slider): v0.7
EnlargeIt! PlugIn (enlargeit): v1.15
Link target (link_target): v1.2
BBCode Control (bbcode_control): v1.7
JSmin (jsmin): v1.2
CompressHTML (compresshtml): v1.2

I have uninstalled the CompressHTML plug-in on the moment so the site is working correct.

Marcel
Title: Re: CompressHTML plugin for cpg1.5.x
Post by: Timos-Welt on March 15, 2010, 06:11:31 am
This plugin may break certain scripts, especially javascripts with missing semicolons after each command. If it doesn't work, edit codebase.php with a text editor and comment out the marked line or delete it.
Title: Re: CompressHTML plugin for cpg1.5.x
Post by: cl9m on September 29, 2010, 08:05:26 pm
Hi,

I've found a probleme, when this plugin is active, members can't put a smiley in his comment, but administrators can't.