Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter rsanchez112

    (@rsanchez112)

    Just wanted to bump this see if anyone has the same problem or has a solution.

    Gotta agree with judgej. The developer did a poor job of update-proofing the plugin javascript, and in 2.9 all More Fields does is end up breaking my other plugins. It’s a shame, but oh well.

    I’ve been experiencing another problem with this plugin on 2.9/2.9.1. Firebug gives me the error that make_slugedit_clickable is not defined. This also causes problems for other plugins I have that utilize javascript on the post edit pages. Once I disable those plugins, I still get the javascript error from More Fields. Once I disable More Fields, all my other plugins work. This is frustrating and for the moment, I don’t need More Fields as much as I need my other plugins so I will not be using it until this problem is resolved.

    Forum: Plugins
    In reply to: jquery-ui-core and sliders
    Thread Starter rsanchez112

    (@rsanchez112)

    Thanks for the tip amummey. After looking at your plugin, I modified my own plugin and got the slider to work.

    Forum: Plugins
    In reply to: jquery-ui-core and sliders
    Thread Starter rsanchez112

    (@rsanchez112)

    Excuse the double post. I just want an answer from johnjamesjacoby on what would work to use jQuery sliders in any plugin, since his experience is that wp_enqueue_script(‘jquery-ui-core’) doesn’t work at all.

    Forum: Plugins
    In reply to: jquery-ui-core and sliders
    Thread Starter rsanchez112

    (@rsanchez112)

    That’s interesting. How would you enqueue the javascript needed for jquery-ui-slider? I looked in my wp-includes/js/jquery directory, and the file in there was named ui.core.js, so I tried ui.core and ui-core instead of jquery-ui-core and still no dough. Then I noticed that I have ui.dialog, ui.resizable, ui.sortable, ui.tabs, and ui.draggable, but no ui.slider. Would ui.slider be in ui.core anyway? Or did I get a download with a missing file? Or is slider just not packaged with wordpress?

    Thread Starter rsanchez112

    (@rsanchez112)

    I’m also experiencing this problem with version 2.7.1 of wordpress.

    Forum: Plugins
    In reply to: jquery-ui-core and sliders
    Thread Starter rsanchez112

    (@rsanchez112)

    Ok, thanks anyway.

    Forum: Plugins
    In reply to: jquery-ui-core and sliders
    Thread Starter rsanchez112

    (@rsanchez112)

    After messing around with it some more, I found the problem might be having this in a document.onload = function() {}. Changing this to window.onload revealed what might be the problem. The error console gave me:

    jQuery(“#width-slider”).slider is not a function

    In the jQuery documentation it gives $(“#element-id”).slider, but since you can’t use that notation in wordpress plugins, I assumed substituting $ with jQuery would be just fine, which does work for other jQuery functions, but apparently not for jQuery UI functions. So how do I tell jQuery to add the slider?

    Again, sorry for not having a live version yet. I’m still developing the plugin and don’t want to upload it to the live site, to avoid problems the plugin might cause.

    Forum: Plugins
    In reply to: jquery-ui-core and sliders
    Thread Starter rsanchez112

    (@rsanchez112)

    Sorry it’s not live yet. I’m still developing the plugin and only have it on my machine. Basically, instead of seeing a slider, you see nothing.

Viewing 10 replies - 1 through 10 (of 10 total)