Gallery2 G2 image integration

donkasok - February 4, 2009 - 07:40
Project:Tiny Tiny MCE
Version:6.x-1.9
Component:Code
Category:support request
Priority:critical
Assigned:Unassigned
Status:active
Description

Hi,

i am wondering how to integrate G2 image with tiny tinymce. Is there any way to enable G2 image

with regards,
Don

#1

stompersly - February 24, 2009 - 06:08

I too am really missing support for gallery2 in this editor, I use the gallery drupal module just fine. But unlike with tinymce tiny tiny mce cannot seem to be modified to add a button for gallery images. I would be willing to look at doing this if you could point me in the right direction for adding a button in general.

Thanks for providing Drupal 6 support!

#2

donkasok - February 24, 2009 - 08:23

Hi,

In Tiny MCE /var/www/html/sites/all/modules/tinymce/tinymce/jscripts/tiny_mce/plugins
is the place where G2 image have to install.

Then in /var/www/html/sites/all/modules/tinymce/plugin_reg.phpwith this code below will enable G2 image in TinyMCE

$plugins['g2image'] = array();
$plugins['g2image']['theme_advanced_buttons1'] = array('g2image');

I hope this will help you.

with regards,
Don

 
 

Drupal is a registered trademark of Dries Buytaert.