Advimage and Advlink don't properly load, along with a few other plugins, using the CVS version. I'll have a patch soon to fix this issue.

CommentFileSizeAuthor
#1 tinymce_1.patch4.23 KBm3avrck

Comments

m3avrck’s picture

Status: Active » Reviewed & tested by the community
StatusFileSize
new4.23 KB

Ok here's a patch which fixes the following issues:

1. Advanced plugins (e.g., advanced image, advanced links, etc...) now correctly load. Problem was related to the fact that these don't have buttons associated with them so they weren't being loaded.

2. extended_valid_elements is no longer overwritten. If 2 or more plugins set an extended_valid_elements, it was ovewritten by the last plugin, now they are appended so they all are correctly loaded.

3. Plugins with no buttons and no features (e.g., contextmenu) correctly load now

m3avrck’s picture

Status: Reviewed & tested by the community » Fixed

Fixed in CVS.

kiev1.org’s picture

Thank You

Works only somewhere have lost file_browser

like is example here http://tinymce.moxiecode.com/example_full.php?example=true

without file_browser in any way it is impossible

m3avrck’s picture

Are you saying the file browser doesn't work with it anymore? You need to enable it and set it up following the TinyMCE directions, this module shouldn't affect that. If you still have trouble please post what is wrong. Thanks!

kiev1.org’s picture

You about it have forgotten
it it is connected separately - look - here it is present (Full)
http: // tinymce.moxiecode.com/example_full.php? example=true
and at you it is not present - because it should be "connected" - to register in tinyMCE.init ({
file_browser_callback: "fileBrowserCallBack"
AND add function fileBrowserCallBack (field_name, url, type, win) - here it needs to be made.
( tinymce/tinymce/examples/example_full.htm )
However as it to register in module Drupal - I do not know yet. It would be desirable to have it accessible as default eg. as advimage

m3avrck’s picture

Ok thanks, I'll look into this.

m3avrck’s picture

Hi kiev, please look at the INSTALL.txt and look at the function theme_tinymce_theme for adding this ability. It should be very easy to add $init['file_browser_callback'] = 'fileBrowserCallBack'; drupal_add_js('PATH/TO/filemanager.js'); to that theme function to get this to work.

At this time, I don't see too much benefit to including these as part of the distributed module since these are pay-to-use features and don't fit in the scope of this module, which relies only on free code. Thanks!

kiev1.org’s picture

But I anywhere have not found such file filemanager.js

m3avrck’s picture

Yes kiev, you have to *buy* and *download* that file seperately from here: http://tinymce.moxiecode.com/paypal/item_filemanager.php ... it is *not* included with the default download, it is completely seperate. Hope this helps!

kiev1.org’s picture

:((( mmm
FckEditor it is able by default, and it is possible filemanager to take from it?

m3avrck’s picture

I do not know, that it outside the scope of this module, this module *only* interfaces with TinyMCE. Try the Drupal forums, someone might know there!

Anonymous’s picture

Status: Fixed » Closed (fixed)