Hi Clint,
Thank you for making this possible, it works just fine under Firefox!
But Opera / IE6 / IE7 are making problems
Error: TinyMCE is not defined
Here is my Init:
<script type="text/javascript" src="/js/cms/tiny_mce_gzip.js"></script>
<script type="text/javascript">
tinyMCE_GZ.init({
plugins : 'preview,contextmenu,advlink',
themes : 'advanced',
languages : 'de',
disk_cache : true,
});
</script>
<SCRIPT LANGUAGE="JavaScript">
tinyMCE.init({
theme : "advanced",
mode : "specific_textareas",
textarea_trigger : "convert",
language : "de",
plugins : "preview,contextmenu,advlink",
table_color_fields : true,
theme_advanced_layout_manager : "SimpleLayout",
theme_advanced_buttons1 :
"preview,bold,italic,underline,separator,undo,redo,separator,justifyleft,justifycenter,justifyright,justifyfull,separator,bullist,numlist,separator,outdent,indent,separator,link,unlink,anchor,separator,cleanup,code,hr,removeformat,separator,previews,image",
theme_advanced_buttons2 : "formatselect",
theme_advanced_styles : "Header 1=header1;Header 2=header2;Header
3=header3;Table Row=tableRow1",
theme_advanced_toolbar_align : "left",
theme_advanced_blockformats : "p,h1,h2,h3",
theme_advanced_toolbar_location : "top",
cleanup: true,
external_image_list_url : "/js/cms/myexternallist.js",
insertimage_callback : "show_mmdb",
plugin_preview_width : "700",
plugin_preview_height : "650",
plugin_preview_pageurl :
"/index.pl?action=preview&type=email&id=239189&language=de"
});
I've installed it on CentOS 4.0
You should maybe add File::Slurp to the list of required modules because it's
not there by default.
Denis
-----Ursprüngliche Nachricht-----
Von: Clinton Gormley [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 25. April 2007 17:35
An: modperl
Betreff: TinyMCE perl compressor
Just a follow up to my previous announcement.
The TinyMCE perl compressor now has a permanent home:
http://hacks.traveljury.com/perl_compressor
any bugs to me: [EMAIL PROTECTED]
About
TinyMCE Compressor gzips all javascript files in TinyMCE to a single streamable
file. This makes the overall download size 75% smaller and the number of
requests will also be reduced. The overall initialisation time for TinyMCE will
be reduced dramatically if you use this script.
Clint