By mailme.eva on
hi,
i just managed to activate tinyMCE's media plugin (http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/media) in the Wysiwyg API module.
1. go to /modules/wysiwyg/editors/tinymce.inc
and add:
'media' => array(
'path' => $editor['library path'] .'/plugins/media',
'buttons' => array('media' => t('Insert media')),
'url' => 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/media',
'internal' => TRUE,
'load' => TRUE,
),i put it just after
'removeformat' => t('Remove format'),
'charmap' => t('Character map'),
'help' => t('Help')),
'internal' => TRUE,
),
2. go to administer > by module > wysiwyg
and activate the button for all the formats you wish
since i dont really program, i guarantee for nothing... also i dont know, if this info is in the right place. as i could not find much on the tinyMCE plugin handling with Wysiwyg API module, i thought i will still contribute it.
hope its of any use
Comments
hmm....
so in the end im not sure if i did any good: the mediaplugin seems to work (button, popup, etc....) i cant see the movies... whats wrong? i dont know...
there is also this post, but its for 6.x...
http://drupal.org/node/350480
seems like the html, that
seems like the html, that embeds the code simply gets eliminated....
anybody knows how i can change that?
Ha!
Solved: you have to add
<object>and<param>to the list of allowed HTML-tags in your inputformat (in: Home › Administer › Site configuration › Input formats, choose the input format you want to use and go to Configure):-)
still....
now theres still a problem, but i think its a bug: the code inserted is the following:
there is a p-closing-tag in the middle of the embed, after the object-opening-tag!
i think this is a bug?
p-tag
i disabled the linebreak-converter filter for the input format and now it seems to work...
A conversation with
A conversation with yourself! I only just discovered it, but your notes will save me some headache on a site I'm working on.
Thanks for taking the time!
Yosemite Explorer - hiking and climbing in Yosemite (drupal)
You rock
Hey, thanks for having this "solo" chat. It really helped me include this in my site.
Now I'll look to include ImageManager; hopefully, I can follow your steps and everything's gonna work similarly.
Thanks again!
Second
Very useful, thanks, this isn't documented anywhere else
its worth to note that as
its worth to note that as reported in this thread http://drupal.org/node/379182 the flash plugin when enabled won't let the editor appear where it should ... might help someone ...
------
GiorgosK
Web Development
Wysiwyg API, TinyMCE and the media plugin
Thank you very much. This was the solution I was looking for.
I took some time to find the solution in DRUPAL but found it. Only needed to have a little patience.
I do not think it's worth saying that I had found almost everything that you recommended, the reality is that I had not integrated the plugin and thus I had not achieved the goal.
I am not an expert in Drupal, PHP, JavaScipt, etc.. but I intend, with DRUPAL study, to achieve my first goal of creating my website without being an expert.
Looks like I succeeded even though it is sometimes very frustrating. We must not lose hope because there are many (thousands) of people with no interest bearing DRUPAL provide solutions that have been found.
Thank you all.
Superb!
Thank you Thank you
thanks!
thanks loads for taking the time to post this, searched high and low for a simple solution!