Etomite

From G2Image

Jump to: navigation, search

[edit] Etomite-Specific Information

  • This page is the Etomite-Specific Installation/Configuration Information for G2Image.
  • Please see the Installation Page first for general G2Image installation information.

[edit] Etomite TinyMCE Information

  • The tinymce init() call is in manager/actions/dynamic/mutate_content.dynamic.action.php and starts around line 533.
    • Remember to make a backup copy of the file in case somehing goes awry....
  • The original tinyMCE.init function looks like this:
tinyMCE.init({
    mode : "textareas",
    theme : "advanced",
    document_base_url : document.location.href.replace(/manager.*/, ),
    relative_urls : rel,
    remove_script_host : false,
    convert_urls : true,
    plugins : & #34;table,advimage,searchreplace,print,paste,fullscreen,contextmenu,imanager,ibrowser",
    theme_advanced_buttons1_add : "fontselect,fontsizeselect",
    theme_advanced_buttons2_add : "separator,forecolor,backcolor",
    theme_advanced_buttons2_add_before: "cut,copy,paste,pastetext,pasteword,search,replace,separator",
    theme_advanced_buttons3_add_before : "tablecontrols,separator",
    theme_advanced_buttons3_add : "print,fullscreen,imanager,ibrowser",
    theme_advanced_toolbar_location : "top",
    theme_advanced_toolbar_align : "left",
    theme_advanced_statusbar_location : "bottom",
    content_css : "",
    extended_valid_elements : "hr[class|width|size|noshade]",
    external_link_list_url : "example_link_list.js",
    external_image_list_url : "example_image_list.js",
    flash_external_list_url : "example_flash_list.js",
    file_browser_callback : "fileBrowserCallBack",
    paste_use_dialog : false,
    theme_advanced_resizing : true,
});
  • Change the plugins line to this:
    plugins : & #34;table,advimage,searchreplace,print,paste,fullscreen,contextmenu,imanager,ibrowser, g2image",
  • Put the button where you want it. To put it on the third button bar, change the buttons3_add line to this:
    theme_advanced_buttons3_add : "print,fullscreen,imanager,g2image,ibrowser",
Personal tools
Developers