bsohal
Forum Replies Created
-
Forum: Hacks
In reply to: jquery ui sortable library not getting includedBack again ….
There were other problems that I couldn’t get this working.However for the solution –
1. download jquery ui from its official site. You can find the jquery & ui js files that i have included in solution.
2. copy these to your plugin/js folder
3. add in beginning of plugin main file: –add_action('admin_print_scripts','plugin_init'); // plugin is any name function plugin_init() { wp_deregister_script('jquery'); wp_register_script('jqua', plugins_url('js/jquery-1.5.1.min.js',__FILE__), false, '1.5.1'); wp_enqueue_script('jqua'); wp_deregister_script('jquery-ui-core'); wp_deregister_script('jquery-ui-sortable'); wp_deregister_script('jquery-ui-mouse'); wp_register_script('jqueryui', plugins_url('js/jquery-ui-1.8.12.custom.min.js',__FILE__), false, '1.8.2'); wp_enqueue_script('jqueryui'); } add_action('admin_head','biz_items_jui_admin_header'); //Add JQuery UI to the admin side function biz_items_jui_admin_header() { ?> <script type="text/javascript"> $(function() { $("#sortable1, #sortable2").sortable().disableSelection(); }); </script> <?php }
If anyone has better ways to tackle the way I did, please let me know.
Forum: Plugins
In reply to: jQuery UI Components Will Not Load on WP Admin MenuI am getting same problem. But I did not try to provide any version. I am try to use sortable to a list.
If someone of you already have the solution, please help me.Forum: Plugins
In reply to: [Plugin: Business Directory] remove 'required' fieldsI think it cannot be set on or off like pluggable. You should modify the code to do this.
Probably : change in function validateListing($v,$admin = false) in functions.phpForum: Plugins
In reply to: [Business Directory] [Plugin: Business Directory] Search feature malfunctionI have just started using BD. Not completely problematic. Though I have not investigated or tested extensively.
I created an additional category. So I have 2.
Then I created some listings in both categories, and approve them.Search by categories seems NOT to be working properly, but term search works fine.
Can you comment on its performance ?