Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Forum: Fixing WordPress
    In reply to: widget problem

    sorry, the first line has to be:

    add_action (‘widgets_init’, array(‘Sprw’,’init’));

    Forum: Fixing WordPress
    In reply to: widget problem

    i have the same problem now!

    my action calls:


    add_action ('widgets_init', array('satpress_widgets','init'));

    //in the init function:

    $widget = new Sprw();
    register_widget_control ('sprw_control', array($widget,'sprw_control'), 350, 200);

    // in the sprw_control function:

    ...
    print_r($options);

    //is correct

    print_r($_POST);

    gives an empty array.

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