Hi ( & thanks for your work !).

I can't get popups & node/add/edit with tinymce working.

I allways got a
- u is undefined
after the load of http://.../modules/tinymce/tinymce/jscripts/tiny_mce/tiny_mce.js

It's not very clear to me if popups manage all alone or if ajax_load has to be used (or Ajax plugin - tinymce) .

Thanks .. really cool tool !

Comments

mkalbere’s picture

The problem is that the tiny script doesn't get loaded, strange since I see in firebug that is is actually loaded .. dont know if it is a initialisation problem or the loading order of the script.

So temporary workaround is

popups_add_popups();
drupal_add_js(drupal_get_path("module","tinymce") .'/tinymce/jscripts/tiny_mce/tiny_mce.js','module','header',FALSE,TRUE,FALSE);
$html.=l("[EDIT]","node/".$node->nid."/edit",array("attributes"=>array("class"=>'popups-form-reload')));

Not very nice but it works perfectly ...

hefox’s picture

May want to see if it's working in popups add reference since I thoght it was (also having issue with an edit link and tiny mce)

My error was e is undefined, eval(script); is empty

mkalbere’s picture

try to use firebug to trace the error. I don't know what "e" refer to.
In firebug, click script -> stack .. it could help.

igoroshkov’s picture

Hello. In which file I'll mast to insert this code?