G2Image FCKEditor in MediaWiki
andre14100
Joined: 2009-01-02
Posts: 6 |
![]() |
Hi everybody, Debian Etch FCKEditor nightly and G2 30.3 I use G2Image with FCKEditor. FCKEditor is the default editor of MediaWiki. FCKEditor is working in mediawiki but I have some difficulties to install G2Image. I installed it in /mediawiki/extensions/FCKEditor/fckeditor/plugins but I can't see the button "G2Image" in the toolbar of FCKEditor Thanks a lot |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
in fckeditor/fckconfig.js you need to add the plugin you will need to clear your browser's cache -s |
|
andre14100
Joined: 2009-01-02
Posts: 6 |
![]() |
Hi, I tried to install it in Joomla, I installed FCKeditor (Joomla's plugin ) and g2image as a FCKeditor's plugin FCK is OK and works but I don't see g2image in the toolbar!! I work on a personnal server under etch; joomla, mediawiki and gallery2 are installed in /usr/share/mediawiki Could we have a problem with the Path??? It sounds not because in each application FCKeditor is OK!! Is there any way to test if g2image is OK from FCK without the button "g2image" Thanks for any advice |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
look in fckeditor/editor/plugins/g2image/fckplugin.js and make sure all the paths are correct. -s |
|
andre14100
Joined: 2009-01-02
Posts: 6 |
![]() |
HI, By now it's OK with Mediawiki and fck but my structure of directories is : Mesiawiki/exytensions/FCKeditor/fckeditor/editor/plugins and to get g2image in the toolbar I had to copy /g2image in /FCKeditor/plugins at the same level than /pluins/mediavision After that I modified /FCKeditor/fckeditor_config.js to add G2Image in the Toolbar "Wiki" and FCKConfig.Plugins.Add('g2image') and it's OK the window with all the album opened, but when I open an album I can see the name of the photo, the details but I can't see the thumbnail, I can see the place of the thumb but it's empty! Do you have any ideas Thanks a lot |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
Sounds like your $g2ic_gallery2_uri and $g2ic_embed_uri are wrong. -s |
|
andre14100
Joined: 2009-01-02
Posts: 6 |
![]() |
Very good diagnostic !! Embedded must be at TRUE and the URL was on //localhost/gallery2/ !! By now everything is OK I will try to install it on Joomla with FCK !! Thanks a lot Best regards |
|
andre14100
Joined: 2009-01-02
Posts: 6 |
![]() |
Hi, G2Image is OK, from MadiaWiki and FCK I can choose a picture and insert it in my text. I see it in my text before I try to save it (or put it on line) |
|