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?
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?