Hi all,
I am already searching for days to the solution for my problem:
I'm writing php programs and i'm using tinymce to fill my msql database with html-code (so, no integration in wordpress or something else). Since I am using gallery to to manage the huge foto-collection of the organisation i'm working for, i had the idea to integrate this collection with g2image in my tinymce editor (a kind of self made cms).
In my test situation I am using xampp on an XP machine and eclipse for the development!
I copied de complete g2image directory in the plugin directory from tinymce, the I edited the config in the g2image dir ---> $g2ic_gallery2_path = "/test/gallery2/"; because this is the situation on my disk--->>>(C:\xampp\htdocs\test\gallery2).
next i made a call like this in my php program --->
<script type="text/javascript" src="/test/tinymce/jscripts/tiny_mce/tiny_mce.js"></script>
<script type="text/javascript">
tinyMCE.init({
theme : "advanced",
mode : "textareas",
plugins : "g2image",
theme_advanced_buttons3_add : "g2image"
});</script>
If i call my php program, de editor (tinymce) works, but no g2image button is there!!! (the screen also shows a java errror in the buttom)!
please help me ?
Posts: 492
Hi Emilio,
Which version of TinyMCE are you using?
Kirk
____________________________________
G2Image Documentation, G2Image Demo Page, My Family Website
Posts: 4
I am using "Main package tinymce_3_0_8.zip"
Posts: 4
thanks capt_kirk, thanks to your remark (insinuation) of the version, I downgraded tinymce to 2.1.3 and the problem was solved !!!!
I don't know the exact reason (the difference between version 3 and 2),
is there someon who knows the real reason (just to have the correct information)
Posts: 492
The TinyMCE authors totally changed their API from version 2.x to version 3.0. So I've had to change literally every call to TinyMCE to get it to work. It's running in WordPress under WPG2 version 3.0.6, but I haven't done testing on the other CMSs that I usually test under before releasing it as a stand-alone script.
In the past, I've seen different behaviors on WordPress from other CMSs, because the WordPress team modifies the core TinyMCE files to make it integrate into the WordPress plugin system more seamlessly. So, I don't like to release G2Image based only on testing within WPG2. But my development box died a couple of months ago, and I haven't ever put Drupal and Joomla with the various combinations of editors (Native, TinyMCE, FCKEditor, and JCE) that I normally test with back on to it. I'll try to make some time over the next few days to finish rebuilding my dev box and get on with it.
In the meantime, if you want to use TinyMCE v3.0.8, you could download WPG2 from http://wordpress.org/extend/plugins/wpg2/ Unzip it and get the g2image directory, which contains G2Image in its entirety with all of the current changes to make it compatible with TinyMCE v3.0
If you subscribe to the G2Image announcement list, you'll get an e-mail on the day that new versions are posted. http://g2image.steffensenfamily.com/lists/
Thanks,
Kirk
____________________________________
G2Image Documentation, G2Image Demo Page, My Family Website
Posts: 492
G2Image version 3.0.3 is posted on the G2Image Download Page. It updates the TinyMCE interface to work with TinyMCE version 3.0. It is not backwards compatible with TinyMCE version 2.x.
If you are using G2Image versions 3.0, 3.0.1, or 3.0.2 with no problems, you do not need to upgrade to version 3.0.3.
Kirk
____________________________________
G2Image Documentation, G2Image Demo Page, My Family Website