Posted: March 22, 2013 at 5:21 am
|
I know there have been other post on the subject, but still I dont know what to do. |
Hi Jonathan, Most theme and plugin conflicts can be avoided by only loading custom scripts on the admin pages they need to load on. In a nutshell, it’s best practice to not hook directly to admin_head to include the theme/plugin scripts. Instead, they can create their own custom hook like: mycustom_admin_head. Then they can avoid their scripts getting loaded onto every page of the admin. Here are a few additional references that may help: http://wp.smashingmagazine.com/2011/10/12/developers-guide-conflict-free-javascript-css-wordpress/ http://planetozh.com/blog/2008/04/how-to-load-javascript-with-your-wordpress-plugin/ |
|
|
This a reply I got back. We plan on testing some of the more popular plugins soon, and some have already been tested and approved like Ubermnu, but we cant say exactly when we will be able to test Event Espresso. Once we do though, we will guarantee that it works and be able to support it. With that being said, lets see if that above advice works. If this can’t been done have I been left buying a theme and a plug in that leaves my site useless? Regards |
Hi Jonathan, Most conflicts like this one can be resolved. In this case, it’s a matter of making sure that the theme scripts that are altering the TinyMCE editor don’t load on the Event Espresso admin pages. Alternatively, if you aren’t using the theme’s custom TinyMCE editor features, they could be disabled for the entire admin. |
|
|
they said they could disable TinyMCE all together |
|
Hey Jonathan, |
|
I sent the details you require, did you receive them? Thanks Jonathan |
|
It looks like the problem is with the script kd-admin.js that is loading on all the admin pages. If that script can be stopped from loading on the Event Espresso admin pages, that should solve your problem. |
|
Hey Jonathan, |
|
Hi, I dont have access to the theme to try this out so this is just theory, but if you wrapped the function like so, it should check to see if it is a post or page edit screen and load the function. EE events dont sue that so it shouldnt load it there.
If you want to try this out test it on a testing server first as I cant guarantee it wont break your site. |
|
Thanks srushton , its good to know that there is a way even if not the best. Jon |
|
Dean, Im not to sure how to do what you are saying, can you explain a little more. This is my own website and tit’s the first time I have tried to do so.
Thanks Jon |
|
Also, with srushtons advise I can use the editor to create a page but only in html and not the visual editor |
|
I posted both of your comments to loge da, they have logged in to my account and have fixed it! Have asked for more info to what he did so I can pass the info on to you shush ton and for anyone else who may have the same problem in the future. Big thanks to everyone for all your help Jon |
|
Hey Jonathan, That’s great news. Please update us if they get back in touch with you to let you know specifically what they changed…would be very helpful. |
|
Hi Jonathan, Thats great that it has been fixed and yes, I think we would all love to hear how it was resolved. Thanks |
|
i change the add_button and add_button_2 function in shortcodes.php to the following code: function add_button() { function add_button_2() { This will be implemented by default in the next version. |
The support post ‘event description visual’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.