Tinymce gzip compressor and Drupal 5

Last updated on
30 April 2025

To enable gzip compression for Tinymce and Drupal:

1. Download the tinymce compressor, upload to your server, unzip, and place tiny_mce_gzip.js and tiny_mce_gzip.php, which are both included with the compressor in the same folder as tiny_mce.js in the /tinymce/includes/jscripts/tiny_mce directory (you know you have the right place if you see tiny_mce.js)

2. Newer versions of the TinyMCE module will automatically detect the gzip files and enable it automatically. So if you download the latest version of TinyMCE module, you're done!

Note: If you have an older version and don't want to upgrade for some reason, you may need to open tinymce.module in a text editor. Change the line:
drupal_add_js(drupal_get_path('module', 'tinymce') . '/includes/jscripts/tiny_mce/tiny_mce_gzip.js');

to

drupal_add_js(drupal_get_path('module', 'tinymce') . '/includes/jscripts/tiny_mce/tiny_mce_gzip.php');

Save your changes, and you're done.

Help improve this page

Page status: Not set

You can: