hi,
i'm building a plugin. i hooked a function to be triggered when my plugin is activated (create table and update_option)... it was working before then suddenly after a while it's not working anymore. i'm using register_activation_hook(__FILE__, array(&$obj, 'activate_my_plugin'))
it's not working anymore so i have to call the activate_my_plugin() function in the admin_head hook... (it's working using the admin_head hook)
also i have 5 textareas in my plugin's options page, i need 3 of them converted into tinymce editors. i success fully loaded tinymce using wp_enqueue_script('tiny_mce') function then i used the usual tinyMCE.init() to initialize the textareas but did'nt work. i also tried using tinyMCE.execCommand("mceAddControl", false, "id_of_textarea") but still didn't work... HOW DO I ADD A TINYMCE EDITOR IN SPECIFIC TEXTAREAS IN MY OPTIONS PAGE?