jd0991 / wordpress-job-manager

Automatically exported from code.google.com/p/wordpress-job-manager
0 stars 0 forks source link

Job manager plugin disabled visual editor in wordpress. #157

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. I just recently upgraded to Version 0.7-beta7
2. Disabling the plugin enables the use of insert image/resizing dropdowns
in editing a page, etc.
3. After enabling the plugin everything is disabled, clicking insert image
doesn't work, can't resize any of the editor boxes, etc.

What is the expected output? What do you see instead?

Expect to be able to use the insert image/media/video options in the visual
editor when editting a page. Does not work when plugin is enabled.

What version of Job Manager are you using? On what version of WordPress?

Version 0.7-beta7

Please provide any additional information below.

Original issue reported on code.google.com by TKlei...@gmail.com on 19 Apr 2010 at 3:28

GoogleCodeExporter commented 8 years ago
I'm unable to reproduce this bug.

Are you seeing any JavaScript errors when you click the Insert 
Image/Media/Video 
buttons?

Original comment by pendergast.gary on 20 Apr 2010 at 1:14

GoogleCodeExporter commented 8 years ago
Error: a.ui is undefined
Source File:
http://www.mywebsite.net/wp-admin/load-scripts.php?c=1&load=hoverIntent,common,j
query-color,suggest,wp-ajax-response,wp-lists,jquery-ui-sortable,postbox,post,th
ickbox,media-upload,word-count,schedule,autosave,jquery-ui-tabs&ver=b88fc979367f
e65f9db96af173289eb1

Line: 19

I'm not 100% sure how to check javascript errors, so if this is wrong let me 
know. I
used the web developer toolbar and used the (Tools -> Error Console) when I was
editting a page in wordpress with your plugin reactivated.

I have a lot of plugins installed so it could be another one, but as I was 
disabling
and testing yours was the one that was causing the problem when activating. 
I'll try
turning off all my other plugins and just having yours on and see if theres 
another
conflict.

Original comment by TKlei...@gmail.com on 20 Apr 2010 at 1:24

GoogleCodeExporter commented 8 years ago
I've narrowed it down. Theres a conflict between your plugin and the simple-map
plugin that I am using for my store locator.

http://simplemap-plugin.com/

Any idea of a quick fix I can do on my own? Your plugin is awesome and 
unfortunately
I need simple map.

Original comment by TKlei...@gmail.com on 20 Apr 2010 at 1:32

GoogleCodeExporter commented 8 years ago
Thanks for the feedback, I'll see if I can come up with a fix for this.

Original comment by pendergast.gary on 20 Apr 2010 at 1:42

GoogleCodeExporter commented 8 years ago

Original comment by pendergast.gary on 20 Apr 2010 at 1:42

GoogleCodeExporter commented 8 years ago
Keep up the good work, I love the responsiveness and the hard work your putting 
into
this. 

Original comment by TKlei...@gmail.com on 20 Apr 2010 at 1:49

GoogleCodeExporter commented 8 years ago
Found the problem - SimpleMap is manually loading jQuery, rather than tell WP 
to load 
it.

As a temporary fix, in the SimpleMap directory, open includes/scripts.php, and 
comment out line 46. You will probably need to uncomment this line of you 
disable Job 
Manager in the future.

There may be other plugins that SimpleMap will clash with in using this method 
to 
load jQuery. Instead, they should use the wp_enqueue_script function to load 
their 
script, and tell WP about any dependencies it has. For example, here is a 
script Job 
Manager loads, with a dependency on jquery-ui-core:

wp_enqueue_script( 'jquery-ui-datepicker', JOBMAN_URL . '/js/jquery-ui-
datepicker.js', array( 'jquery-ui-core' ), JOBMAN_VERSION );

Original comment by pendergast.gary on 20 Apr 2010 at 1:55