Jump to content

jarmerson

Member
  • Posts

    3
  • Joined

  • Last visited

About jarmerson

jarmerson's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. Hello, I desperately need to have spellchecker available from email templates, at least, so we can keep better records of client communications. We are always going to a clients profile, opening "New Message", loading a template and using this for all client communication. I've search high and low to see how spellchecker is enabled, and I've learned quite a bit. What I can see is the configemailtemplates.php loads the the location of the TinyMCE script then sets the options, including plugins. I know the spellchecker plugin exists, but it seems I will need to add spellchecker into the defined variables for plugins within that script loading at configemailtemplates.php - but of course that file is encrypted. Here's exactly what I'm seeing: <script type="text/javascript" src="../includes/jscript/tiny_mce/jquery.tinymce.js"></script> <script type="text/javascript"> $().ready(function() { $("textarea.tinymce").tinymce({ // Location of TinyMCE script script_url : "../includes/jscript/tiny_mce/tiny_mce.js", // General options theme : "advanced", plugins : "autolink,lists,pagebreak,style,layer,table,save,advhr,advimage,advlink,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,advlist", // Theme options theme_advanced_buttons1 : "fontselect,fontsizeselect,forecolor,backcolor,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code", theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,iespell,media,advhr,|,print,|,ltr,rtl,|,fullscreen", theme_advanced_toolbar_location : "top", theme_advanced_toolbar_align : "left", theme_advanced_statusbar_location : "bottom", theme_advanced_resizing : true, convert_urls : false, relative_urls : false, forced_root_block : false }); }); function toggleEditor() { if ($("textarea.tinymce").tinymce().isHidden()) { $("textarea.tinymce").tinymce().show(); } else { $("textarea.tinymce").tinymce().hide(); } } function insertMergeField(mfield) { $("#email_msg1").tinymce().execCommand("mceInsertContent",false,'{$'+mfield+'}'); } </script> How can I enable this plugin? Thanks in advance.
  2. Does it require your pages addon to work? I can't figure out how to link to it from the front-end.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated