TinyMCE Talk:Compressor/PHP

From Moxiecode Documentation Wiki

Jump to: navigation, search

Image:Example.jpg

Sorry for my ignorance ;) would it not be useful simply mentioning from where one has to:

3 Remove the current script tag. <script type="text/javascript" src="tinymce/jscripts/tiny_mce/tiny_mce.js"></script> 4 Add the new new GZip script <script type="text/javascript" src="tinymce/jscripts/tiny_mce/tiny_mce_gzip.js"></script>. 5 Add the new GZip initialization call that will tell the compressor what to include in the output. This should be the sum of all and themes, plugins contained on page.

-? I comment on it because the only way I now see is to look for that "script tag" in ... what directory and files? Probably in all dirs and files (Murphy's copyleft ;) I know it is probably a silly question but ...

My excuses for bumping in here without much idea about php ;) I just want to install tinymce and the compressor. Thank you for all the nice work :)

... After looking for the string in my drupal install:

  • .../sites/all/modules/wysiwyg/editors/tinymce.inc
  • .../sites/all/modules/wysiwyg/editors/js/tinymce_2.js and tinymce_3.js
  • .../sites/all/modules/wysiwyg/tinymce/jscripts/tiny_mce/tiny_mce_src.js.

I've only found "document.write('<script type="text/javascript" src="' + tinymce._addVer(u) + '">" in the last one. And that's not it, is it?

--Philip 12:45, 27 January 2009 (CET)

zlib

It might be nice to include some info on what to do if zlib is enabled on your web hosting server and you don't have control over your php.ini file to disable it.

Would having zlib enabled mean that the Compressor/PHP isn't needed?

Thanks,

- Andy

Personal tools