I anyone
my button bar don't wrap (on FF 3.0.6, Linux OpenSuse 11.0), I have installed on Drupal 5.16 Wysiwyg API 5.x-1.1 and TinyMCE 3.1.0.1 and gallery G2Image.
I have looked at this: TinyMCE: IE/Chrome: Buttons do not wrap and, reading the issue, looking at the code on the head of my page the javascript.
I found this: instead of the tinymce-3.js you can see:
<script src="/sites/www.mysite.it/modules/wysiwyg/editors/js/tinymce-2.js" type="text/javascript">.
But in the Wysiwyg page settings the Full HTML Wysiwyg profile is set on TinyMCE 3.1.0.1.
Can you help me?
Thanks

Comments

sun’s picture

Status: Active » Postponed (maintainer needs more info)

This is actually not possible. If you really have TinyMCE 3 installed, "3.x.x.x" would be displayed in the administrative wysiwyg profile overview, and "tinymce-3.js" would be loaded on edit forms.

Based on the markup you have pasted, it looks like you are running a multi-site setup?

Is it possible that you had TinyMCE 2 installed before and just switched the editor library? Did you test whether the proper JavaScript is loaded after removing and re-creating all wysiwyg profiles?

kikko’s picture

Hi Sun,

yes, is right: I have a multisite installation.
But I have installed the Wysiwyg API in the modules directory of the new site.

No, I didt't make an upgrade or a switch: this is a new site, the others 3 use the old TinyMCE module. And they also don't share the TinyMCE module, one for each site.
I did it because I have the Gallery module, with a Gallery multisite installation: each site have his own gallery.

But now I have got some problem in the other sites with the old TinyMCE module: I see now (during this writing): i can't load the administration page...

Try to change module in every site then I told you.
Thanks

kikko’s picture

I have changed in another site of the multisite installation, and there is the same load. The differenze between the two istallation is that I haven't put the G2Image button. The button bar don't wrap, but you can see, Drupal load the "/sites/default/modules/wysiwyg/editors/js/tinymce-2.js" file.

Here the head of a node page:

<link rel="shortcut icon" href="/files/garland_favicon.ico" type="image/x-icon" />
    <style type="text/css" media="all">@import "/sites/default/files/css/a90090f08a463cabf413cc33c00e41f5.css";</style>
    <script type="text/javascript" src="/misc/jquery.js"></script>
<script type="text/javascript" src="/misc/drupal.js"></script>
<script type="text/javascript" src="/sites/default/modules/wysiwyg/wysiwyg.init.js"></script>
<script type="text/javascript" src="/sites/all/modules/jquery_update/compat.js"></script>
<script type="text/javascript" src="/misc/progress.js"></script>
<script type="text/javascript" src="/sites/all/modules/jstools/jstools.js"></script>

<script type="text/javascript" src="/sites/all/modules/jstools/activesearch/activesearch.js"></script>
<script type="text/javascript" src="/sites/all/modules/jstools/jquery.history_remote.pack.js"></script>
<script type="text/javascript" src="/sites/all/modules/jstools/tabs/jquery.tabs.pack.js"></script>
<script type="text/javascript" src="/sites/all/modules/jstools/tabs/tabs.js"></script>
<script type="text/javascript" src="/misc/upload.js"></script>
<script type="text/javascript" src="/sites/all/modules/suggestedterms/suggestedterms.js"></script>
<script type="text/javascript" src="/sites/all/modules/jstools/jscalendar/lib/calendar_stripped.js"></script>
<script type="text/javascript" src="/sites/all/modules/jstools/jscalendar/lib/calendar-setup_stripped.js"></script>
<script type="text/javascript" src="/sites/all/modules/jstools/jscalendar/lib/lang/calendar-it.js"></script>

<script type="text/javascript" src="/sites/all/modules/jstools/jscalendar/jscalendar.js"></script>
<script type="text/javascript" src="/misc/textarea.js"></script>
<script type="text/javascript" src="/sites/default/modules/wysiwyg/tinymce/jscripts/tiny_mce/tiny_mce.js"></script>
<script type="text/javascript" src="/sites/default/modules/wysiwyg/editors/js/tinymce-2.js"></script>
<script type="text/javascript" src="/sites/default/modules/wysiwyg/editors/js/none.js"></script>
<script type="text/javascript" src="/misc/autocomplete.js"></script>
<script type="text/javascript" src="/misc/collapse.js"></script>
<script type="text/javascript" src="/sites/all/modules/jstools/collapse.js"></script>
<script type="text/javascript">Drupal.extend({ settings: { "jstools": { "cleanurls": true, "basePath": "/" }, "tabs": { "slide": true, "fade": true, "speed": "slow", "auto_height": false, "next_text": "next", "previous_text": "previous" }, "wysiwyg": { "configs": { "tinymce": { "format3": { "button_tile_map": true, "document_base_url": "/", "mode": "none", "plugins": "", "theme": "advanced", "width": "100%", "strict_loading_mode": true, "convert_urls": false, "theme_advanced_resize_horizontal": false, "theme_advanced_resizing_use_cookie": false, "theme_advanced_path_location": "bottom", "theme_advanced_resizing": 1, "theme_advanced_toolbar_location": "top", "theme_advanced_toolbar_align": "left" } } }, "showToggle": true, "editorBasePath": "/sites/default/modules/wysiwyg/tinymce/jscripts/tiny_mce", "execMode": "", "disable": "Disable rich-text", "enable": "Enable rich-text", "plugins": { "format3": [  ] } } } });</script>
<style type="text/css" media="print">@import "/themes/garland/print.css";</style>

If you neeed more information, here I am,
thanks

sun’s picture

Please paste the first 80 characters on the first line of /sites/default/modules/wysiwyg/tinymce/jscripts/tiny_mce/tiny_mce.js

kikko’s picture

var tinymce={majorVersion:'3',minorVersion:'1.0.1',releaseDate:'2008-06-18',_init:function()

sun’s picture

Title: TinyMCE set on 3.1: button bar don't wrap and the webpage load tinymce-2.js editor instead tinymce-3.js » TinyMCE 3.1: tinymce-2.js is loaded instead of tinymce-3.js
Status: Postponed (maintainer needs more info) » Active

I have identified the cause now.

Can you please do me a favor? :) Please open editors/tinymce.inc, edit line 43 and change '3.2' into '3.1'.

Afterwards, do some testing whether everything works without errors (loading the editor, switching input formats, using native external plugins, etc.) and report back whether we can support TinyMCE 3.1 as well.

kikko’s picture

You have hit the problem!!! Now everything is Ok.
I have made the change in two of my multisite installation: one, with the G2Image plugin work ok, the second, with native plugin, before the changes show the plugin bar on tree lines, now on two (I don't know if you need this information, but I give you), and work well.
I have disabled and enabled the rich-text and switched the imput formats. Everythings ok.
Great. Thanks a lot :-)

sun’s picture

So you did not update the TinyMCE editor library instead? I thought there was a reason why I defined 3.2 to be the minimum version of TinyMCE we can support, but if everything also works with 3.1, then this probably was a false assumption...?

kikko’s picture

I make the upgrade now to the Tinymce 3.2. There is also an old version on my computer and I have uploaded the old one, instead the new one. Thanks a lot and sorry for all.

sun’s picture

Status: Active » Fixed

3.1 is supported now.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.