G2 Image Chooser in Joomla 1.5.12
Christian85
Joined: 2009-02-16
Posts: 21 |
Posted: Tue, 2009-07-14 07:09 |
Hello Forum, Yesterdays I've updated my Joomla installation from 1.5.10 to 1.5.12. So now my question is: How can I add the g2image-chooser button to the toolbar for 1.5.12? Regards |
|
Posts: 1
found this post via google as i was trying to sort this myself... so sorry for the bump, hope it helps someone save the time i wasted
pre-requisite: i renamed my tinymce from 2.0 to 3.4 (some site somewhere suggested, apparently it is version 3 installed in latest joomla) and therefore used the g2image mod for tinymce 3x
for reference you can`t find the info they say you should find in tinymce.php (in plugins/editors within yer joomla install) - instead,
find this paragraph:
// advimage
$advimage = $this->params->def('advimage', 1);
if ($advimage) {
$plugins[] = 'advimage';
$elements[] = 'img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name|style]';
}
and paste this underneath
// g2image
$g2image = $this->params->def('g2image', 1);
if ($g2image) {
$plugins[] = 'g2image';
$buttons3_add[] = 'g2image';
}
i personally then set it to office black skin, extended, and there it was.