Billyben
Forum Replies Created
-
Forum: Plugins
In reply to: problem with registering a custom widgetSorry, it was just a copy/paste mistake, and so an incompatibility with my other custom widget… (same name for register_widget……)
Forum: Plugins
In reply to: problem with registering a custom widgetHi
Have you found any solution? I’ve got the same issue when i try to deactivate my plugin.I’ve tryied a
unregister_widget( “myWidgetName” );
on a
register_deactivation_hook( __FILE__, ‘myFn’ );
but same result…
Forum: Plugins
In reply to: Hook for adding a message to top of page?Hi, I’m looking for the same hook : call a function after printing the header without altering my theme. Have you found smthg?
I’ve tried : add_action(“loop_start”, “myFn”); and add_action(“get_header”, “myFn”);
But the first one is called before the main loop (post printing) and the second one before calling get_header…Forum: Hacks
In reply to: jquery ui sortable library not getting includedHi, I’m just trying to add sortable to my option page (in a class) and
add_action( 'admin_menu', array( &$this, 'add_pages' ) ); public function add_pages() { $my_option_page =add_menu_page(.. args..); add_action( 'admin_print_scripts-' . $my_option_page, array( &$this, 'scripts' ) ); [...] } public function scripts() { wp_enqueue_script( 'jquery-ui-tabs' ); wp_enqueue_script('jquery-ui-sortable'); }works fine for me with wp 3.1.1
Forum: Requests and Feedback
In reply to: Plugin Version-SVN – Wrong download?Ok, thx for your time.
Forum: Requests and Feedback
In reply to: Plugin Version-SVN – Wrong download?Re, Billyben Ring
Maybe I’ve done smthg wrong, but no idea…