WP 2.8: Widget Admin Backend
-
I have two odd programming-problems with the new widget backend:
1. WP_Widget->form($instance): I want to use JQuery-Event Listener in my widget form. But it only works, after I saved the widget on sidebar. When I drag & drop the widget on sidebar (without saving), the jQuery-Listener seems not to be bind. maxchirkov have the same problem
2. WP_Widget->update($new_instance, $old_instance): This is really odd. When I use this code ($template_save is a parsed xml file):
$instance['above_html'] = $template_save->AboveHtml;
$instance[‘above_html’] is empty. But when I use this code
$instance['above_html'] = "".$template_save->AboveHtml;
it works…Thanks for your reply!
crille
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘WP 2.8: Widget Admin Backend’ is closed to new replies.