WP article editor button disappears with WPG2 plugin activated
PHDM
Joined: 2010-03-13
Posts: 2 |
Posted: Sat, 2010-03-13 12:02 |
Hi, I'm using Wordpress, Gallery and WPG2 plugin. Print screen without plugin WPG2 activated : [img]http://img690.imageshack.us/img690/6779/image2sx.jpg[/img] Print screen with plugin WPG2 activated : [img]http://img94.imageshack.us/img94/2128/image1zx.jpg[/img] I haven't found any post about this problem in this forum, is someone have and idea to correct this point ? WordPress : 2.9.2 fr |
|
Posts: 2
Hi,
I made some investigations,
The problem come form source \wp-content\plugins\wpg2\g2imageplugin.inc in function g2image_addbuttons()
The call of add_filter("mce_external_plugins", "g2image_plugin"); which should logically add the WPG2 button of editor menu. But it's seem to break the JS mechanism.
Someone is familiar with this mechanism ?
Thanks ;)
Posts: 1
I have the same problem. WPG2 v3.07 and Wordpress v3.
However, I found a "workaround", I can live with till we get a fix for this:
As PHDM mentioned, I deleted the following if-question in the g2imageplugin.inc file:
This way, the WPG2 Button is not loaded for the Visual Editor. However it is still present in the HTML Editor. So, I can still use the button to insert images if I switch to the HTML editor.
Hope this gets fixed soon. In the meanwhile this posting hopefully might help someone
Posts: 4
Same problem here. Post above fixed the problem in disabling the G2 button in the visual editor.
The oddity:
I have two blogs, both upgraded to Wordpress 3.0.1 with (upgraded to) Gallery 2.3
The blogs are very identical, one has a few more or different other plugins ... the usual stuff, the biggest difference is that one blog is in english and the other in german (both WP and G2 installs)
The german one has the trouble with the buttons disappearing in TinyMCE and the english one never had that problem ...
I compared other files and they seem to be identical ... so, I hope someone is interested in finding a solution to this The above workaround luckily works - although it's not the nicest ...