yad4u How do I stop Wordpress dashboard widgets from being dragged?


How do I stop Wordpress dashboard widgets from being dragged?



I'm setting up Wordpress 3.0.1 for a novice user. The Dashboard widgets are appropriately placed, and I'd like them to stay that way. As far as I know, there's no add_filter or add_action hook to prevent dragging, so another approach would be to make a plugin that uses jQuery to disable dragging. What handler(s) would I override -- click, mouseUp, mouseMove, etc -- and on which DOM elements?


Plugin Suggestions - Wordpress as a Membership Directory

1:

How to query posts for a custom post type in a custom taxonomy ? in wordpress 3.0
Maybe the easiest thing to did is prevent the new rule from being saved. Why my wordpress plugin settings shows up for users other than administrator?This will let the user change the order, although it won't save the changes for the next time the page is loaded.. Is there a way to redirect users who are not administrator from WordPress wp-admin? You want to prevent the meta-box-order ajax event:. Custom image upload field in WordPress
add_action('check_ajax_referer', 'prevent_meta_box_order'); function prevent_meta_box_order($action) {     if ('meta-box-order' == $action /* && $wp_user == 'santa claus' */) {         die('-1');     } } 
There are probably another actions you want to prevent too. very odd 404 on wp-admin directoryOpen Firebug and check out which requests to admin-ajax.php are made when you did stuff this you would like to prevent. Data ExportOr hide the Screen Options tab with CSS.. Wordpress cron problems

2:

Use a Roles plugin like WordPress › Role Scoper « WordPress Plugins to restrict what the user must do. Not a good idea to edit core files, as your changes will receive overwritten on upgrade..


87 out of 100 based on 62 user ratings 977 reviews