Drupal WYSIWYG module and gallery.menalto.com hack

Gallery2 image buttons missing from the your rich-text editor ? I'm sure this is relevant to the other CMS', Joomla and wordpress.
From the drupal issues queue http://drupal.org/node/300305
http://drupal.org/node/350100

G2-icon-tinymce

Locate the wysiwyg_tinymce_plugins function in tinymce.inc

in Drupal 6 it can be found in /modules/WYSIWYG/editors/ or /sites/all/modules/WYSIWYG/editors/ at line 373 in the 6.x-2.4 d6 module.

Insert the the g2image array as follows:
function wysiwyg_tinymce_plugins($editor) {
  $plugins = array(
  'g2image' => array(
      'path' => $editor['library path'] .'/plugins/g2image',
      'buttons' => array('g2image' => t('G2 Image')),
      'url' => 'http://g2image.steffensenfamily.com/',
      'internal' => TRUE,
      'load' => TRUE,
    ),
    'default' => array(
      'path' => $editor['library path'] . '/themes/advanced',


Add G2 button to tinymce in Drupal 6; Admin:Site Config:WYSIWYG

g2-icon-wysiwyg
teaserpic: 

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <p> <br>
  • Lines and paragraphs break automatically.
  • You may link to Gallery2 items on this site using a special syntax.

More information about formatting options

Type the characters you see in this picture. (verify using audio)
Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.
James Horvath Gooey Website
James Horvath Gooey Oooey