Monday 30 July 2007 2:16:08 am
Hello, i try to build a new module but i have a problem. I write this code:
<form method="post" action={"content/action/"|ezurl}>
<input type="hidden" name="ContentNodeID" value="{$node.node_id}" />
<input type="hidden" name="test" value="42" />
<input type="submit" name="modulego" value="Test Julien" />
</form>
I have declared my parameters in module.php: $ViewList["modulego"] = array(
"functions" => array( 'use' ),
"script" => "modulego.php",
'ui_context' => 'administration',
"default_navigation_part" => 'ezcontentnavigationpart',
"params" => array( 'ContentNodeID', 'test'));
But when i do this:
$nodeID =& $Params['ContentNodeID'];
$test =& $Params['test'];
or $test =$Params['test']; I get the nodeID but i didn't get the "test" parameter, it is empty. Why i dont get the value of this parameter? Thanks for help
|