Thanx for the development of this API.I

I followed all instructions as per your readme.txt,
however the tinyMCE text editor does not show up in the screen. the "Disable rich-text" appears beneath the text-area so it seems
the wysiwyg module is recognized. I am only not sure about tinyMCE. See also screenshots.

According to Firebux the following Javascript error occurs.

editorTemplate is undefined
init()(textarea#edit-body.form-textarea, "edit-body", undefined)tiny_mce...217324539 (regel (1)
init()(textarea#edit-body.form-textarea, "edit-body", undefined)tiny_mce...217324539 (regel (1)
init()("mceAddControl", true, "edit-body")tiny_mce...217324539 (regel (1)
(?)()()wysiwyg_...itor.js?p (regel (46)
(?)()(Object length=1 0=textarea#edit-body.form-textarea, function(), undefined)jquery.j...e3Q%3D%3D (regel (1)
(?)()(function(), undefined)jquery.j...e3Q%3D%3D (regel (1)
wysiwygEditorAttach()()wysiwyg_...itor.js?p (regel (39)
(?)()()jquery.j...e3Q%3D%3D (regel (1)
(?)()()jquery.j...e3Q%3D%3D (regel (1)
(?)()([function(), function()], function(), undefined)jquery.j...e3Q%3D%3D (regel (1)
(?)()()

Am I overlooking a major issue?

Regards,
Enno

CommentFileSizeAuthor
wysiwyg6xdev_screenshot2.gif62.99 KBAnonymous (not verified)
wysiwyg6xdev_screenshot1.gif55.14 KBAnonymous (not verified)

Comments

sun’s picture

Status: Active » Postponed (maintainer needs more info)

Do you have either Drupal's JS compression or TinyMCE's gzip compressor enabled? The former should work (but is untested in D6), the latter does not work at all currently, see #276465: Add support for TinyMCE gzip compressor

Anonymous’s picture

Thanx for the quick reply.

1) JS compression. If you refer to site configuration->performance->optimize javascript files. This is DISabled.
2)TinyMCE's GZIP compressor, where should I enable or disable this? (I at least unzipped all tinyMCE files before using)

While going through the HTML source code and js.files that Firebug refers to I however noticed following:

The Javascript in the head of the sourcecode of the node that should show the TinyMCE Wysiwig shows the following editorBasePath:

jQuery.extend(Drupal.settings,......"editorBasePath": "http://localhost/drupal/drupal/sites/default/modules/wysiwyg/tinymce/jscripts/tiny_mce",.....

Notice: drupal/drupal

whereas the editorBasePath to the Wysiwyg module and TinyMCE subfolder should probably read (according to my Localhost XAMPP Drupal filesystem)

http://localhost/drupal/sites/default/modules/wysiwyg/tinymce/jscripts/tiny_mce

Notice: drupal/sites

For example the following path shows the example files of TinyMCE which are in the tinymce-subfolder of the Drupal site on my Localhost:

http://localhost/drupal/sites/default/modules/wysiwyg/tinymce/examples/example_advanced.htm

Could this wrong editorBasePath have something to do with the problem I face?

Regards,
Enno

sun’s picture

Status: Postponed (maintainer needs more info) » Closed (duplicate)

ah, well, then this issue is duplicate of #286470: Editor Base Path is being set incorrectly

Anonymous’s picture

Yes, the above mentioned patch solved this issue. Thanx! Regards, Enno