E107

From G2Image

Jump to: navigation, search

[edit] e107-Specific Information

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

The following is from this thread on the "Gallery 2 plugin for e107" forum.

[edit] TinyMCE configuration

  • Upload the plugin to e107_handlers/tiny_mce/plugins/ and edit the following file:
e107_handlers/tiny_mce/wysywig.php

Change these two lines

$text .= ",plugins : 'table,contextmenu"; (around line 53)
$text .= ",theme_advanced_buttons3 : "; (around line 69)

to read

$text .= ",plugins : 'table,contextmenu,g2image";
$text .= ",theme_advanced_buttons3 : 'g2image'";

[edit] e107 Forums

  • In order to get tinyMCE to insert thumbnailed images properly in the forums, edit the following file:
 e107_handlers/tiny_mce/wysywig.php

Change this line

$text .= ",relative_urls: true\n"; (around line 83)

to read

$text .= ",relative_urls: false\n";
Personal tools
Developers