Support Forum
let us know what they say... quite often its the theme hooking into the 'init' hook for adding stuff instead of the 'admin_init' hook...
Visit Cruise Talk Central and Mr Papa's World
Hello Mr Papa,
Sorry to be such a pain... But could you post an example of code with "admin_init" and "init" hook, then I could check in my theme if I can find something similar and perhaps I could be able to make a modification myself (I'm not very optimistic but I need to try something !)
Once again, thanks in advance !
Well here is an example from oue blog libnkling plugin:
add_action('admin_init', 'sp_linking_blog_link_form');
You will be looking for something similar but obviously with a different second parameter. And if you find it change 'admin_init' to 'init' if it looks like the second parameter is a function that loads up the tinyMCE extensions.
YELLOW
SWORDFISH
|
actually, I would look for the opposite... look for it using 'init' hook and change it to 'admin_init'...
since they are assuming (incorrectly) that the wp editor is only in the admin, only have them do their thing in the admin...
Visit Cruise Talk Central and Mr Papa's World
dont look for the tiny stuff... just look for the add action with init... the second part is a function name and could be just about anything...
Visit Cruise Talk Central and Mr Papa's World
OK, I replaced some add_action('init' I have found by add_action('admin_init'
until I get the editor to work and finally after 3 files changes it works !!!!
Now I'm going to test If can reverse some of the change I've made just to be sure I didn't change anything unnecessary, but now I think I can handle the next steps by myself and I think this topic can be tagged as "resolved".
I really want to thank you once again, you helped me to resolve my problem, even though, the problem wasn't really related to your plugin, but to my theme. Most of the support team wouldn't have spent much time for a problem that is not really related to what they are supposed to support. You guys went beyond my expectations and beyond your "duty", that's pretty rare, and I wanted to highlight this !
Plus, I've learnt many things because you don't hesitate to share and teach your knowledge !
Thank you very much !
Didero !
outstanding work! glad we could assist! it really helps when themes/plugins read and follow the wp api... its possible, its just an outdated theme from before wp added the wp editor api to support using it anywhere, so dont want to be too harsh...
Visit Cruise Talk Central and Mr Papa's World
1 Guest(s)