block development beginner question

Permalink
hi all,

i'm trying to figure out setting the action on a form in a block.

I have a block (NewBlock)

folder
blocks > new_block

view.php has a form with action set to $this->action("test_search")

in the controller.php, i have a public function search() but this doesn't seem to be working.

suggestions on where I've got this wrong?

 
Mnkras replied on at Permalink Best Answer Reply
Mnkras
i believe the function would have to be action_test_search()
geekluv replied on at Permalink Reply
that was it! thanks for the help